Return to mqtt.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / mqtt / inc |
1.1.2.1 misho 1: #ifndef __MQTT_H
2: #define __MQTT_H
3:
4:
1.1.2.2 misho 5: struct tagArgs {
6: io_sockaddr_t addr;
1.1.2.7 misho 7: u_short ka;
1.1.2.5 misho 8: mqtt_msg_t *msg;
1.1.2.2 misho 9:
1.1.2.6 misho 10: ait_val_t ConnID;
1.1.2.4 misho 11: ait_val_t User;
12: ait_val_t Pass;
13:
1.1.2.5 misho 14: struct {
15: ait_val_t Topic;
16: ait_val_t Msg;
17: } Will;
18:
1.1.2.6 misho 19: u_char Dup;
20: u_char Retain;
21: u_char QoS;
1.1.2.7 misho 22: u_char notClear;
1.1.2.6 misho 23:
24: struct {
1.1.2.8 ! misho 25: FILE *isFile;
1.1.2.6 misho 26: ait_val_t Value;
27: };
1.1.2.2 misho 28:
1.1.2.3 misho 29: ait_val_t Publish;
30:
31: array_t *Subscribes;
32:
33: void (*free)(struct tagArgs*);
1.1.2.2 misho 34: };
35:
36: extern struct tagArgs *args;
37:
1.1.2.1 misho 38:
39: #endif