|
#define | ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) |
|
#define | assert(a, b, c, d) myassert(__FILE__, __LINE__, a, b, c, d) |
|
#define | assert1(a, b, c, d, e) myassert(__FILE__, __LINE__, a, b, c, d, e) |
|
#define | AsyncTestClient_initializer {NULL, "\0", "\0", 0, {0, 0, 0}, {0, 0, 0}, 0, 0} |
|
#define | LOGA_DEBUG 0 |
|
#define | LOGA_INFO 1 |
|
#define | MAXMSGS 30; |
|
#define | mqsleep sleep |
|
#define | num_clients 10 |
|
#define | START_TIME_TYPE struct timeval |
|
#define | TEST2D_COUNT 1000 |
|
|
int | asyncTestMessageArrived (void *context, char *topicName, int topicLen, MQTTAsync_message *m) |
|
void | asyncTestOnConnect (void *context, MQTTAsync_successData *response) |
|
void | asyncTestOnDeliveryComplete (void *context, MQTTAsync_token token) |
|
void | asyncTestOnDisconnect (void *context, MQTTAsync_successData *response) |
|
void | asyncTestOnSend (void *context, MQTTAsync_successData *response) |
|
void | asyncTestOnSubscribe (void *context, MQTTAsync_successData *response) |
|
void | asyncTestOnSubscribeFailure (void *context, MQTTAsync_failureData *response) |
|
void | asyncTestOnUnsubscribe (void *context, MQTTAsync_successData *response) |
|
long | elapsed (START_TIME_TYPE start_time) |
|
void | getopts (int argc, char **argv) |
|
void | handleTrace (enum MQTTASYNC_TRACE_LEVELS level, char *message) |
|
int | main (int argc, char **argv) |
|
void | multiThread_deliveryComplete (void *context, MQTTAsync_token dt) |
|
int | multiThread_messageArrived (void *context, char *topicName, int topicLen, MQTTAsync_message *m) |
|
void | myassert (char *filename, int lineno, char *description, int value, char *format,...) |
|
void | MyLog (int LOGA_level, char *format,...) |
|
static unsigned int | onPSKAuth (const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len, void *context) |
|
void | sendAndReceive (MQTTAsync *c, int qos, char *test_topic) |
|
START_TIME_TYPE | start_clock (void) |
|
int | test1 (struct Options options) |
|
int | test10 (struct Options options) |
|
void | test10OnConnect (void *context, MQTTAsync_successData *response) |
|
void | test10OnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test1OnConnect (void *context, MQTTAsync_successData *response) |
|
void | test1OnFailure (void *context, MQTTAsync_failureData *response) |
|
int | test2a (struct Options options) |
|
void | test2aOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test2aOnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test2b (struct Options options) |
|
void | test2bOnConnect (void *context, MQTTAsync_successData *response) |
|
void | test2bOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test2c (struct Options options) |
|
void | test2cOnConnect (void *context, MQTTAsync_successData *response) |
|
void | test2cOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test2d (struct Options options) |
|
void | test2dOnConnect (void *context, MQTTAsync_successData *response) |
|
void | test2dOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test2e (struct Options options) |
|
void | test2eOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test2eOnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test3a (struct Options options) |
|
void | test3aOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test3b (struct Options options) |
|
void | test3bOnConnect (void *context, MQTTAsync_successData *response) |
|
void | test3bOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test4 (struct Options options) |
|
void | test4OnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test4OnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test5a (struct Options options) |
|
void | test5aOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test5aOnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test5b (struct Options options) |
|
void | test5bOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test5bOnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test5c (struct Options options) |
|
void | test5cOnConnect (void *context, MQTTAsync_successData *response) |
|
void | test5cOnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
int | test6 (struct Options options) |
|
void | test6OnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test6OnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
int | test7 (struct Options options) |
|
int | test7MessageArrived (void *context, char *topicName, int topicLen, MQTTAsync_message *message) |
|
void | test7OnConnect (void *context, MQTTAsync_successData *response) |
|
void | test7OnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | test7OnPublishFailure (void *context, MQTTAsync_failureData *response) |
|
void | test7OnPublishSuccess (void *context, MQTTAsync_successData *response) |
|
void | test7OnSubscribe (void *context, MQTTAsync_successData *response) |
|
void | test7OnUnsubscribe (void *context, MQTTAsync_successData *response) |
|
int | test8 (struct Options options) |
|
int | test9 (struct Options options) |
|
void | test9OnConnectFailure (void *context, MQTTAsync_failureData *response) |
|
void | usage (void) |
|
void | write_test_result (void) |
|
SSL tests for the Eclipse Paho Asynchronous MQTT C client
Definition in file test5.c.