| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 

| Data Structures | |
| struct | mansession_datastores | 
| Data Fields | ||
| struct ast_sockaddr | addr | |
| int | authenticated | |
| time_t | authstart | |
| char | challenge [10] | |
| struct ast_variable * | chanvars | |
| struct mansession_session::mansession_datastores | datastores | |
| struct ao2_container * | excludefilters | |
| char | inbuf [1025] | |
| struct ao2_container * | includefilters | |
| 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 | |
| int | writeperm | |
| int | writetimeout | |
| struct ast_sockaddr addr | 
address we are connecting from
Definition at line 280 of file manager.c.
Referenced by action_login(), ast_manager_hangup_helper(), authenticate(), build_mansession(), do_message(), get_input(), 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().
| int authenticated | 
Authentication status
Definition at line 291 of file manager.c.
Referenced by action_login(), do_message(), get_input(), process_events(), and process_message().
| time_t authstart | 
Definition at line 302 of file manager.c.
Referenced by do_message(), and get_input().
| char challenge[10] | 
Authentication challenge
Definition at line 290 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 298 of file manager.c.
Referenced by action_originate(), and authenticate().
| struct mansession_session::mansession_datastores datastores | 
Data stores on the session
Referenced by astman_datastore_add(), astman_datastore_find(), and astman_datastore_remove().
| struct ao2_container* excludefilters | 
Manager event filters - exclude list
Definition at line 297 of file manager.c.
Referenced by action_filter(), action_waitevent(), authenticate(), build_mansession(), and process_events().
| char inbuf[1025] | 
Buffer - we use the extra byte to add a '\0' and simplify parsing
Definition at line 294 of file manager.c.
Referenced by do_message(), and get_input().
| struct ao2_container* includefilters | 
Manager event filters - include list
Definition at line 296 of file manager.c.
Referenced by action_filter(), action_waitevent(), authenticate(), build_mansession(), and process_events().
| int inlen | 
| int inuse | 
number of HTTP sessions using this entry
Definition at line 282 of file manager.c.
Referenced by check_manager_session_inuse().
| unsigned int kicked | 
Flag set if session is forcibly kicked
Definition at line 307 of file manager.c.
Referenced by get_input().
| struct eventqent* last_ev | 
last event processed.
Definition at line 300 of file manager.c.
Referenced by action_waitevent(), and process_events().
| struct { ... } list | 
| uint32_t managerid | 
Unique manager identifier, 0 for AMI sessions
Definition at line 285 of file manager.c.
Referenced by action_login(), action_waitevent(), and ast_manager_hangup_helper().
| int needdestroy | 
Whether an HTTP session should be destroyed
Definition at line 283 of file manager.c.
Referenced by action_waitevent().
| struct mansession_session* next | 
| ast_mutex_t notify_lock | 
Lock for notifying this session of events
Definition at line 308 of file manager.c.
Referenced by action_waitevent(), build_mansession(), and get_input().
| int pending_event | 
Pending events indicator in case when waiting_thread is NULL
Definition at line 303 of file manager.c.
Referenced by get_input().
| int readperm | 
Authorization for reading
Definition at line 292 of file manager.c.
Referenced by action_login(), action_waitevent(), authenticate(), and process_events().
| int send_events | 
XXX what ?
Definition at line 299 of file manager.c.
Referenced by action_login(), action_waitevent(), build_mansession(), process_events(), and set_eventmask().
| time_t sessionstart | 
| struct timeval sessionstart_tv | 
Session start time
Definition at line 287 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 | 
| struct ast_iostream* stream | 
AMI stream
Definition at line 281 of file manager.c.
Referenced by action_waitevent(), get_input(), process_events(), and send_string().
| char username[80] | 
Logged in username
Definition at line 289 of file manager.c.
Referenced by action_login(), ast_manager_hangup_helper(), authenticate(), mansession_cmp_fn(), report_auth_success(), report_failed_challenge_response(), report_req_bad_format(), report_req_not_allowed(), and report_session_limit().
| pthread_t waiting_thread | 
Sleeping thread using this descriptor
Definition at line 284 of file manager.c.
Referenced by action_waitevent(), build_mansession(), and get_input().
| int writeperm | 
Authorization for writing
Definition at line 293 of file manager.c.
Referenced by action_getvar(), action_listcommands(), action_originate(), action_status(), authenticate(), and process_message().
| int writetimeout | 
Timeout for ast_carefulwrite()
Definition at line 301 of file manager.c.
Referenced by authenticate(), build_mansession(), and send_string().