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