Annotation of mqtt/inc/mqttd.h, revision 1.1.2.2
1.1.2.1 misho 1: #ifndef __MQTTD_H
2: #define __MQTTD_H
3:
4:
1.1.2.2 ! misho 5: struct tagSession {
! 6: pthread_t sess_tid;
! 7: mqtt_msg_t *sess_buf;
! 8:
! 9: io_sockaddr_t sess_addr;
! 10: struct timeval sess_ka;
! 11:
! 12: char sess_cid[MAX_CONNID];
! 13: char sess_user[MAX_CRED];
! 14: char sess_pass[MAX_CRED];
! 15:
! 16: char clear;
! 17: struct {
! 18: char flag;
! 19: char qos;
! 20: char retain;
! 21: } sess_will;
! 22:
! 23: TAILQ_ENTRY(tagSession) sess_node;
! 24: };
! 25:
! 26: typedef TAILQ_HEAD(, tagSession) sessions_t;
! 27:
1.1.2.1 misho 28:
29: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>