Annotation of mqtt/inc/defs.h, revision 1.2.2.2
1.1 misho 1: #ifndef __DEFS_H
2: #define __DEFS_H
3:
4:
1.2 misho 5: #define STRSIZ 256
1.2.2.2 ! misho 6: #define INIT_SNDQ 50
1.2.2.1 misho 7: #if 0
1.2 misho 8: #define WILDCARDS "/#+"
9: #define MQTT_CONNFLGS_INIT { 1, 1, 1, 3, 1, 1, 1 }
10:
11: #define MQTT_DATA_MAX 268435455
12: #define MQTT_CONN_STR "MQIsdp"
13: #define MQTT_PROTO_VER 3
14: #define MQTT_KEEPALIVE 10
15: #define MQTT_DEFAULT_MSGID 0xDEBA
1.2.2.1 misho 16: #endif
1.2 misho 17:
18: #define DEFAULT_RETRY 1
19: #define DEFAULT_CONFIG "/etc/mqtt.conf"
20: #define MQTT_PORT "1883"
21: #define MQTT_HOST "localhost"
22: #define MQTT_USER "mqtt"
23:
24:
25: extern char cliCmd[], *cliStr[];
26:
1.2.2.2 ! misho 27: extern volatile intptr_t Kill;
1.2 misho 28:
29: extern struct tagCallbacks call;
30: extern sqlite3 *acc, *pub;
31: extern FILE *logg;
1.1 misho 32:
33:
34: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>