22 #if !defined(CLIENTS_H) 28 #if defined(_WIN32) || defined(_WIN64) 31 #include <openssl/ssl.h> 88 char *https_proxy_auth;
100 #define NOT_IN_PROGRESS 0x0 102 #define TCP_IN_PROGRESS 0x1 104 #define SSL_IN_PROGRESS 0x2 106 #define WEBSOCKET_IN_PROGRESS 0x3 108 #define WAIT_FOR_CONNACK 0x4 110 #define PROXY_CONNECT_IN_PROGRESS 0x5 112 #define DISCONNECTING -2 123 unsigned int cleansession : 1;
124 unsigned int cleanstart : 1;
126 unsigned int good : 1;
127 unsigned int ping_outstanding : 1;
128 signed int connect_state : 4;
150 SSL_SESSION* session;
MQTTPersistence_beforeWrite * beforeWrite
int clientIDCompare(void *a, void *b)
const MQTTClient_nameValue * httpHeaders
MQTTProperties properties
int clientSocketCompare(void *a, void *b)
START_TIME_TYPE lastTouch
void * beforeWrite_context
This structure represents a persistent data store, used to store outbound and inbound messages...
MQTTClient_persistence * persistence
START_TIME_TYPE lastReceived
unsigned int qentry_seqno
A structure containing the function pointers to a persistence implementation and the context or state...
MQTTPersistence_afterRead * afterRead
int MQTTPersistence_afterRead(void *context, char **buffer, int *buflen)
int MQTTPersistence_beforeWrite(void *context, int bufcount, char *buffers[], int buflens[])