version 1.2.2.6, 2012/04/24 13:54:50
|
version 1.2.2.7, 2012/04/25 16:36:25
|
Line 2
|
Line 2
|
#define __MQTTD_H |
#define __MQTTD_H |
|
|
|
|
|
#define API_SERVER_SIDE |
|
#include <mqttapi.h> |
|
|
|
|
struct tagStore { |
struct tagStore { |
char st_qos; |
char st_qos; |
u_short st_msgid; |
u_short st_msgid; |
Line 41 struct tagSession {
|
Line 45 struct tagSession {
|
char *topic; |
char *topic; |
char *msg; |
char *msg; |
} sess_will; |
} sess_will; |
|
|
/* session scheduler */ |
|
sched_root_task_t *sess_root; |
|
|
|
/* session subscriptions */ |
/* session subscriptions */ |
SLIST_HEAD(tStore, tagStore) sess_subscr; |
SLIST_HEAD(tStore, tagStore) sess_subscr; |