Data Structures |
| struct | session_opt_s |
| struct | session_s |
Typedefs |
| typedef int(* | session_load_t )(session_t *) |
| typedef int(* | session_save_t )(session_t *) |
| typedef int(* | session_remove_t )(session_t *) |
| typedef int(* | session_term_t )(session_t *) |
| typedef struct session_opt_s | session_opt_t |
Enumerations |
| enum | { SESSION_TYPE_UNKNOWN,
SESSION_TYPE_FILE,
SESSION_TYPE_MEMORY,
SESSION_TYPE_CLIENT
} |
| enum | { SESSION_ID_LENGTH = MD5_DIGEST_LEN,
SESSION_ID_BUFSZ = 1 + SESSION_ID_LENGTH
} |
| enum | { HMAC_KEY_SIZE = 64,
CIPHER_KEY_SIZE = 64,
CIPHER_IV_SIZE = 64
} |
Functions |
| int | session_create (session_opt_t *, request_t *, response_t *, session_t **) |
| int | session_client_create (session_opt_t *, request_t *, response_t *, session_t **) |
| int | session_file_create (session_opt_t *, request_t *, response_t *, session_t **) |
| int | session_mem_create (session_opt_t *, request_t *, response_t *, session_t **) |
| int | session_prv_init (session_t *, request_t *, response_t *) |
| int | session_prv_load_from_io (session_t *, io_t *) |
| int | session_prv_save_to_io (session_t *, io_t *) |
| int | session_prv_save_var (var_t *, void *) |
| int | session_prv_calc_maxsize (var_t *v, void *p) |
| int | session_prv_save_to_buf (session_t *ss, char **pbuf, size_t *psz) |
| int | session_prv_load_from_buf (session_t *ss, char *buf, size_t size) |
| int | session_prv_set_id (session_t *ss, const char *sid) |
| int | session_module_init (u_config_t *config, session_opt_t **pso) |
| int | session_file_module_init (u_config_t *config, session_opt_t *pso) |
| int | session_mem_module_init (u_config_t *config, session_opt_t *pso) |
| int | session_client_module_init (u_config_t *config, session_opt_t *pso) |
| int | session_module_term (session_opt_t *so) |