version 1.1.2.2, 2011/12/08 17:02:25
|
version 1.1.2.3, 2011/12/09 09:53:54
|
Line 6 struct tagSession {
|
Line 6 struct tagSession {
|
pthread_t sess_tid; |
pthread_t sess_tid; |
mqtt_msg_t *sess_buf; |
mqtt_msg_t *sess_buf; |
|
|
|
int sess_sock; |
io_sockaddr_t sess_addr; |
io_sockaddr_t sess_addr; |
struct timeval sess_ka; |
struct timeval sess_ka; |
|
|
Line 18 struct tagSession {
|
Line 19 struct tagSession {
|
char flag; |
char flag; |
char qos; |
char qos; |
char retain; |
char retain; |
|
char *topic; |
|
char *msg; |
} sess_will; |
} sess_will; |
|
|
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; |
|
|
|
|
#endif |
#endif |