version 1.1.1.1.2.17, 2011/12/08 17:02:25
|
version 1.1.1.1.2.19, 2011/12/12 09:24:24
|
Line 14
|
Line 14
|
#define MQTT_PROTO_VER 3 |
#define MQTT_PROTO_VER 3 |
#define MQTT_KEEPALIVE 10 |
#define MQTT_KEEPALIVE 10 |
|
|
|
#define DEFAULT_RETRY 1 |
#define DEFAULT_CONFIG "/etc/mqtt.conf" |
#define DEFAULT_CONFIG "/etc/mqtt.conf" |
#define MQTT_PORT "1883" |
#define MQTT_PORT "1883" |
#define MQTT_HOST "localhost" |
#define MQTT_HOST "localhost" |
Line 33 extern int mqtt_Errno;
|
Line 34 extern int mqtt_Errno;
|
extern char mqtt_Error[STRSIZ]; |
extern char mqtt_Error[STRSIZ]; |
extern struct tagCallbacks call; |
extern struct tagCallbacks call; |
|
|
|
extern char cliCmd[], *cliStr[]; |
|
|
inline void mqtt_SetErr(int eno, char *estr, ...); |
inline void mqtt_SetErr(int eno, char *estr, ...); |
inline struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); |
inline struct mqtthdr *_mqtt_readHEADER(mqtt_msg_t * __restrict, u_char, int *, int *); |
|
|
extern int Verbose, Kill; |
extern int Verbose, Kill; |
extern sched_root_task_t *root; | |
| extern struct tagCallbacks call; |
| extern sqlite3 *acc, *pub; |
| extern FILE *logg; |
|
|
|
|
#endif |
#endif |