RyanMqttThread.h 461 B

12345678910111213141516171819202122232425
  1. #ifndef __mqttClientTask__
  2. #define __mqttClientTask__
  3. #include "RyanMqttClient.h"
  4. #ifdef __cplusplus
  5. extern "C"
  6. {
  7. #endif
  8. // 定义枚举类型
  9. // 定义结构体类型
  10. /* extern variables-----------------------------------------------------------*/
  11. extern void RyanMqttThread(void *argument);
  12. extern void RyanMqttEventMachine(RyanMqttClient_t *client, RyanMqttEventId_e eventId, void *eventData);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif