/AliOS-Things-master/components/mqtt/MQTTClient-C/ |
A D | MQTTClient.h | 28 #define DLLExport __declspec(dllexport) macro 31 #define DLLExport __attribute__ ((visibility ("default"))) 34 #define DLLExport 153 DLLExport int MQTTConnectWithResults(MQTTClient* client, MQTTPacket_connectData* options, 161 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options); 169 DLLExport int MQTTPublish(MQTTClient* client, const char*, MQTTMessage*); 201 DLLExport int MQTTUnsubscribe(MQTTClient* client, const char* topicFilter); 207 DLLExport int MQTTDisconnect(MQTTClient* client); 214 DLLExport int MQTTYield(MQTTClient* client, int time); 220 DLLExport int MQTTIsConnected(MQTTClient* client); [all …]
|
A D | MQTTLinux.h | 22 #define DLLExport __declspec(dllexport) macro 25 #define DLLExport __attribute__ ((visibility ("default"))) macro 28 #define DLLExport macro 70 DLLExport void NetworkInit(Network*); 71 DLLExport int NetworkConnect(Network*, char*, int); 72 DLLExport void NetworkDisconnect(Network*);
|
/AliOS-Things-master/components/mqtt/MQTTPacket/ |
A D | MQTTPublish.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_publish(unsigned char* buf, int buflen, unsigned char dup, int qos, uns… 31 DLLExport int MQTTDeserialize_publish(unsigned char* dup, int* qos, unsigned char* retained, unsign… 34 DLLExport int MQTTSerialize_puback(unsigned char* buf, int buflen, unsigned short packetid); 35 DLLExport int MQTTSerialize_pubrel(unsigned char* buf, int buflen, unsigned char dup, unsigned shor… 36 DLLExport int MQTTSerialize_pubcomp(unsigned char* buf, int buflen, unsigned short packetid);
|
A D | MQTTUnsubscribe.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_unsubscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned… 31 DLLExport int MQTTDeserialize_unsubscribe(unsigned char* dup, unsigned short* packetid, int max_cou… 34 DLLExport int MQTTSerialize_unsuback(unsigned char* buf, int buflen, unsigned short packetid); 36 DLLExport int MQTTDeserialize_unsuback(unsigned short* packetid, unsigned char* buf, int len);
|
A D | MQTTConnect.h | 36 #if !defined(DLLExport) 37 #define DLLExport macro 139 DLLExport int MQTTSerialize_connect(unsigned char* buf, int buflen, MQTTPacket_connectData* options… 140 DLLExport int MQTTDeserialize_connect(MQTTPacket_connectData* data, unsigned char* buf, int len); 142 DLLExport int MQTTSerialize_connack(unsigned char* buf, int buflen, unsigned char connack_rc, unsig… 143 DLLExport int MQTTDeserialize_connack(unsigned char* sessionPresent, unsigned char* connack_rc, uns… 145 DLLExport int MQTTSerialize_disconnect(unsigned char* buf, int buflen); 146 DLLExport int MQTTSerialize_pingreq(unsigned char* buf, int buflen);
|
A D | MQTTSubscribe.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_subscribe(unsigned char* buf, int buflen, unsigned char dup, unsigned s… 31 DLLExport int MQTTDeserialize_subscribe(unsigned char* dup, unsigned short* packetid, 34 DLLExport int MQTTSerialize_suback(unsigned char* buf, int buflen, unsigned short packetid, int cou… 36 DLLExport int MQTTDeserialize_suback(unsigned short* packetid, int maxcount, int* count, int grante…
|
A D | MQTTPacket.h | 27 #define DLLExport __declspec(dllexport) macro 30 #define DLLExport __attribute__ ((visibility ("default"))) 33 #define DLLExport 97 DLLExport int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char type, unsigned char d… 98 DLLExport int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* pa… 101 DLLExport int MQTTPacket_equals(MQTTString* a, char* b); 103 DLLExport int MQTTPacket_encode(unsigned char* buf, int length); 115 DLLExport int MQTTPacket_read(unsigned char* buf, int buflen, int (*getfn)(unsigned char*, int));
|
/AliOS-Things-master/components/linkkit/mqtt/impl/ |
A D | MQTTUnsubscribe.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_unsubscribe(unsigned char *buf, int buflen, 33 DLLExport int MQTTDeserialize_unsubscribe(unsigned char *dup, 39 DLLExport int MQTTSerialize_unsuback(unsigned char *buf, int buflen, 42 DLLExport int MQTTDeserialize_unsuback(unsigned short *packetid,
|
A D | MQTTConnect.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 131 DLLExport int MQTTSerialize_connect(unsigned char *buf, int buflen, 133 DLLExport int MQTTDeserialize_connect(MQTTPacket_connectData *data, 136 DLLExport int MQTTSerialize_connack(unsigned char *buf, int buflen, 139 DLLExport int MQTTDeserialize_connack(unsigned char *sessionPresent, 143 DLLExport int MQTTSerialize_disconnect(unsigned char *buf, int buflen); 144 DLLExport int MQTTSerialize_pingreq(unsigned char *buf, int buflen);
|
A D | MQTTPublish.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_publish(unsigned char *buf, int buflen, 35 DLLExport int MQTTDeserialize_publish(unsigned char *dup, int *qos, 44 DLLExport int MQTTSerialize_pubrel(unsigned char *buf, int buflen, 46 DLLExport int MQTTSerialize_pubcomp(unsigned char *buf, int buflen,
|
A D | MQTTSubscribe.h | 24 #if !defined(DLLExport) 25 #define DLLExport macro 28 DLLExport int MQTTSerialize_subscribe(unsigned char *buf, int buflen, 34 DLLExport int MQTTDeserialize_subscribe(unsigned char *dup, 40 DLLExport int MQTTSerialize_suback(unsigned char *buf, int buflen, 44 DLLExport int MQTTDeserialize_suback(unsigned short *packetid, int maxcount,
|
A D | MQTTPacket.h | 27 #define DLLExport __declspec(dllexport) macro 30 #define DLLExport __attribute__((visibility("default"))) 33 #define DLLExport
|
/AliOS-Things-master/components/mqtt/ |
A D | README.md | 76 DLLExport void MQTTClientInit(MQTTClient* client, Network* network, unsigned int command_timeout_ms, 87 DLLExport int MQTTConnect(MQTTClient* client, MQTTPacket_connectData* options); 96 DLLExport int MQTTPublish(MQTTClient* client, const char* topic, MQTTMessage* message); 106 DLLExport int MQTTSubscribe(MQTTClient* client, const char* topicFilter, enum QoS, messageHandler); 116 DLLExport int MQTTUnsubscribe(MQTTClient* client, const char* topicFilter); 125 DLLExport int MQTTDisconnect(MQTTClient* client); 133 DLLExport int MQTTYield(MQTTClient* client, int time); 142 DLLExport int MQTTIsConnected(MQTTClient* client);
|