Asterisk - The Open Source Telephony Project
21.4.1
|
Data Structures | |
struct | mansession_datastores |
Data Fields | |
struct ast_sockaddr | addr |
int | authenticated |
time_t | authstart |
struct ao2_container * | blackfilters |
char | challenge [10] |
struct ast_variable * | chanvars |
struct mansession_session::mansession_datastores | datastores |
char | inbuf [1025] |
int | inlen |
int | inuse |
unsigned int | kicked:1 |
struct eventqent * | last_ev |
struct { | |
struct mansession_session * next | |
} | list |
uint32_t | managerid |
unsigned long | nc |
int | needdestroy |
time_t | noncetime |
ast_mutex_t | notify_lock |
unsigned long | oldnonce |
int | pending_event |
int | readperm |
int | send_events |
time_t | sessionstart |
struct timeval | sessionstart_tv |
time_t | sessiontimeout |
struct ast_iostream * | stream |
char | username [80] |
pthread_t | waiting_thread |
struct ao2_container * | whitefilters |
int | writeperm |
int | writetimeout |
struct ast_sockaddr addr |
address we are connecting from
Definition at line 1742 of file manager.c.
Referenced by ast_manager_hangup_helper(), build_mansession(), generic_http_callback(), get_input(), handle_showmanconn(), purge_sessions(), and session_do().
int authenticated |
Authentication status
Definition at line 1753 of file manager.c.
Referenced by astman_is_authed(), generic_http_callback(), get_input(), process_events(), process_message(), purge_sessions(), and session_do().
struct ao2_container* blackfilters |
Manager event filters - black list
Definition at line 1759 of file manager.c.
Referenced by action_filter(), and build_mansession().
struct ast_variable* chanvars |
struct mansession_session::mansession_datastores datastores |
Data stores on the session
Referenced by astman_datastore_add(), astman_datastore_find(), astman_datastore_remove(), and session_do().
char inbuf[1025] |
Buffer - we use the extra byte to add a '\0' and simplify parsing
Definition at line 1756 of file manager.c.
Referenced by get_input().
int inlen |
int inuse |
number of HTTP sessions using this entry
Definition at line 1744 of file manager.c.
Referenced by find_session(), generic_http_callback(), handle_showmanconn(), and purge_sessions().
unsigned int kicked |
Flag set if session is forcibly kicked
Definition at line 1769 of file manager.c.
Referenced by get_input(), handle_kickmanconn(), and session_do().
struct eventqent* last_ev |
last event processed.
Definition at line 1762 of file manager.c.
Referenced by process_events(), and session_do().
uint32_t managerid |
Unique manager identifier, 0 for AMI sessions
Definition at line 1747 of file manager.c.
Referenced by ast_manager_hangup_helper(), astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), find_session(), find_session_by_nonce(), and generic_http_callback().
int needdestroy |
Whether an HTTP session should be destroyed
Definition at line 1745 of file manager.c.
Referenced by find_session(), and generic_http_callback().
ast_mutex_t notify_lock |
Lock for notifying this session of events
Definition at line 1770 of file manager.c.
Referenced by build_mansession(), generic_http_callback(), get_input(), and handle_kickmanconn().
unsigned long oldnonce |
int pending_event |
Pending events indicator in case when waiting_thread is NULL
Definition at line 1765 of file manager.c.
Referenced by get_input().
int readperm |
Authorization for reading
Definition at line 1754 of file manager.c.
Referenced by astman_verify_session_readpermissions(), handle_showmanconn(), and process_events().
int send_events |
XXX what ?
Definition at line 1761 of file manager.c.
Referenced by build_mansession(), generic_http_callback(), process_events(), and set_eventmask().
time_t sessionstart |
time_t sessiontimeout |
Session timeout if HTTP
Definition at line 1750 of file manager.c.
Referenced by generic_http_callback(), and purge_sessions().
struct ast_iostream* stream |
AMI stream
Definition at line 1743 of file manager.c.
Referenced by generic_http_callback(), get_input(), handle_kickmanconn(), handle_showmanconn(), process_events(), send_string(), and session_do().
char username[80] |
Logged in username
Definition at line 1751 of file manager.c.
Referenced by ast_manager_hangup_helper(), find_session_by_nonce(), generic_http_callback(), get_manager_sessions_cb(), handle_showmanconn(), manager_displayconnects(), purge_sessions(), and session_do().
pthread_t waiting_thread |
Sleeping thread using this descriptor
Definition at line 1746 of file manager.c.
Referenced by build_mansession(), generic_http_callback(), get_input(), and handle_kickmanconn().
struct ao2_container* whitefilters |
Manager event filters - white list
Definition at line 1758 of file manager.c.
Referenced by action_filter(), and build_mansession().
int writeperm |
Authorization for writing
Definition at line 1755 of file manager.c.
Referenced by action_status(), astman_verify_session_writepermissions(), handle_showmanconn(), and process_message().
int writetimeout |
Timeout for ast_carefulwrite()
Definition at line 1763 of file manager.c.
Referenced by build_mansession(), and send_string().