version 1.1.2.5, 2011/12/14 12:45:30
|
version 1.1.2.6, 2012/01/24 10:18:44
|
Line 40 struct tagSession {
|
Line 40 struct tagSession {
|
} sess_will; |
} sess_will; |
|
|
/* Data Storage by QoS class */ |
/* Data Storage by QoS class */ |
SLIST_HEAD(qosStore, tagStore) sess_store[MQTT_QOS_RESERVED]; | SLIST_HEAD(qosStore, tagStore) sess_sndqueue; |
|
|
TAILQ_ENTRY(tagSession) sess_node; |
TAILQ_ENTRY(tagSession) sess_node; |
}; |
}; |
|
|
typedef TAILQ_HEAD(, tagSession) sessions_t; |
typedef TAILQ_HEAD(, tagSession) sessions_t; |
|
|
|
|
extern sessions_t Sessions; |
extern sessions_t Sessions; |
extern sched_root_task_t *root; |
extern sched_root_task_t *root; |
extern sl_config cfg; |
extern sl_config cfg; |
extern pthread_mutex_t mtx_sess; | extern pthread_mutex_t mtx_sess, mtx_pub; |
|
|
|
|
#endif |
#endif |