![]() |
TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
|
Session logic. More...


Go to the source code of this file.
Data Structures | |
| struct | session_t |
| Session object. More... | |
Enumerations | |
| enum | session_state_t { STATE_IDLE , STATE_CONNECT , STATE_ACTIVE , STATE_OPENSENT , STATE_OPENCONFIRM , STATE_ESTABLISHED } |
| Session states. | |
Functions | |
| void | session_change_state (session_t *s, session_state_t new_state) |
| Change session state. | |
| int | send_notification (int fd, int code, int subcode) |
| Send notification helper. | |
| const char * | id_str (uint32_t id) |
| LSID string. | |
| void * | session_loop (void *arg) |
| Session loop. | |
| void | session_shutdown (session_t *session) |
| Shutdown socket, terminate connection and thread. | |
| void | session_destroy (session_t *session) |
| Destroy session object. | |
Variables | |
| const char * | session_state_strs [] |
| Session state strings. | |
Session logic.
Logic for session communication, receive loop thread