Asterisk - The Open Source Telephony Project
18.5.0
|
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 |
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 1583 of file manager.c.
Referenced by action_hangup(), action_login(), auth_http_callback(), authenticate(), build_mansession(), do_message(), generic_http_callback(), get_input(), handle_showmanconn(), purge_sessions(), report_auth_success(), report_failed_acl(), report_failed_challenge_response(), report_inval_password(), report_invalid_user(), report_req_bad_format(), report_req_not_allowed(), report_session_limit(), and session_do().
int authenticated |
Authentication status
Definition at line 1594 of file manager.c.
Referenced by action_login(), astman_is_authed(), auth_http_callback(), do_message(), generic_http_callback(), get_input(), process_events(), process_message(), purge_sessions(), and session_do().
time_t authstart |
Definition at line 1605 of file manager.c.
Referenced by do_message(), get_input(), and session_do().
struct ao2_container* blackfilters |
Manager event filters - black list
Definition at line 1600 of file manager.c.
Referenced by action_filter(), authenticate(), build_mansession(), match_filter(), and session_destructor().
char challenge[10] |
Authentication challenge
Definition at line 1593 of file manager.c.
Referenced by action_challenge(), authenticate(), and report_failed_challenge_response().
struct ast_variable* chanvars |
Channel variables to set for originate
Definition at line 1601 of file manager.c.
Referenced by action_originate(), authenticate(), and session_destructor().
struct mansession_session::mansession_datastores datastores |
Data stores on the session
Referenced by astman_datastore_add(), astman_datastore_find(), astman_datastore_remove(), auth_http_callback(), session_destructor(), and session_do().
char inbuf[1025] |
Buffer - we use the extra byte to add a '\0' and simplify parsing
Definition at line 1597 of file manager.c.
Referenced by do_message(), and get_input().
int inlen |
int inuse |
number of HTTP sessions using this entry
Definition at line 1585 of file manager.c.
Referenced by check_manager_session_inuse(), find_session(), generic_http_callback(), handle_showmanconn(), and purge_sessions().
struct eventqent* last_ev |
last event processed.
Definition at line 1603 of file manager.c.
Referenced by action_waitevent(), auth_http_callback(), process_events(), session_destructor(), and session_do().
struct { ... } list |
uint32_t managerid |
Unique manager identifier, 0 for AMI sessions
Definition at line 1588 of file manager.c.
Referenced by action_hangup(), action_login(), action_waitevent(), astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), auth_http_callback(), find_session(), find_session_by_nonce(), and generic_http_callback().
unsigned long nc |
incremental nonce counter
Definition at line 1609 of file manager.c.
Referenced by auth_http_callback().
int needdestroy |
Whether an HTTP session should be destroyed
Definition at line 1586 of file manager.c.
Referenced by action_waitevent(), auth_http_callback(), find_session(), and generic_http_callback().
struct mansession_session* next |
time_t noncetime |
Timer for nonce value expiration
Definition at line 1607 of file manager.c.
Referenced by auth_http_callback().
ast_mutex_t notify_lock |
Lock for notifying this session of events
Definition at line 1610 of file manager.c.
Referenced by __manager_event_sessions_va(), action_waitevent(), build_mansession(), generic_http_callback(), get_input(), and session_destructor().
unsigned long oldnonce |
Stale nonce value
Definition at line 1608 of file manager.c.
Referenced by auth_http_callback(), and find_session_by_nonce().
int pending_event |
Pending events indicator in case when waiting_thread is NULL
Definition at line 1606 of file manager.c.
Referenced by __manager_event_sessions_va(), and get_input().
int readperm |
Authorization for reading
Definition at line 1595 of file manager.c.
Referenced by action_login(), action_waitevent(), astman_verify_session_readpermissions(), auth_http_callback(), authenticate(), handle_showmanconn(), and process_events().
int send_events |
XXX what ?
Definition at line 1602 of file manager.c.
Referenced by action_login(), action_waitevent(), build_mansession(), generic_http_callback(), process_events(), and set_eventmask().
time_t sessionstart |
Session start time
Definition at line 1589 of file manager.c.
Referenced by auth_http_callback(), authenticate(), and handle_showmanconn().
struct timeval sessionstart_tv |
Session start time
Definition at line 1590 of file manager.c.
Referenced by authenticate(), report_auth_success(), report_failed_acl(), report_failed_challenge_response(), report_inval_password(), report_invalid_user(), report_req_bad_format(), report_req_not_allowed(), and report_session_limit().
time_t sessiontimeout |
Session timeout if HTTP
Definition at line 1591 of file manager.c.
Referenced by action_waitevent(), auth_http_callback(), generic_http_callback(), and purge_sessions().
struct ast_iostream* stream |
AMI stream
Definition at line 1584 of file manager.c.
Referenced by action_waitevent(), auth_http_callback(), generic_http_callback(), get_input(), handle_showmanconn(), process_events(), send_string(), and session_do().
char username[80] |
Logged in username
Definition at line 1592 of file manager.c.
Referenced by action_hangup(), action_login(), auth_http_callback(), authenticate(), find_session_by_nonce(), generic_http_callback(), get_manager_sessions_cb(), handle_showmanconn(), manager_displayconnects(), mansession_cmp_fn(), purge_sessions(), report_auth_success(), report_failed_challenge_response(), report_req_bad_format(), report_req_not_allowed(), report_session_limit(), and session_do().
pthread_t waiting_thread |
Sleeping thread using this descriptor
Definition at line 1587 of file manager.c.
Referenced by __manager_event_sessions_va(), action_waitevent(), build_mansession(), generic_http_callback(), and get_input().
struct ao2_container* whitefilters |
Manager event filters - white list
Definition at line 1599 of file manager.c.
Referenced by action_filter(), authenticate(), build_mansession(), match_filter(), and session_destructor().
int writeperm |
Authorization for writing
Definition at line 1596 of file manager.c.
Referenced by action_getvar(), action_listcommands(), action_originate(), action_status(), astman_verify_session_writepermissions(), auth_http_callback(), authenticate(), handle_showmanconn(), and process_message().
int writetimeout |
Timeout for ast_carefulwrite()
Definition at line 1604 of file manager.c.
Referenced by auth_http_callback(), authenticate(), build_mansession(), and send_string().