MqttApi.h 268 B

12345678910111213141516
  1. #pragma once
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. class MqttClient;
  6. typedef MqttClient* MqttHandle;
  7. MQTTAPI MqttHandle mqttCreate(const char* url);
  8. MQTTAPI void mqttDestory(MqttHandle mqtt);
  9. MQTTAPI int testAdd(int a, int b);
  10. #ifdef __cplusplus
  11. }
  12. #endif