Return to disp.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / example |
1.2 ! misho 1: #include <stdio.h> ! 2: #include <stdlib.h> ! 3: #include <string.h> ! 4: #include <sys/types.h> ! 5: #include "aitmqtt.h" ! 6: ! 7: ! 8: int ! 9: main(int argc, char **argv) ! 10: { ! 11: mqtt_cb_t *cbs; ! 12: ! 13: cbs = mqttInitCallbacks(); ! 14: if (!cbs) ! 15: return 2; ! 16: ! 17: mqttFiniCallbacks(&cbs); ! 18: return 0; ! 19: }