
Data Fields | |
| ast_mutex_t | __lock |
| int | authenticated |
| time_t | authstart |
| char | challenge [10] |
| int | displaysystemname |
| struct eventqent * | eventq |
| int | fd |
| char | inbuf [1024] |
| int | inlen |
| int | inuse |
| uint32_t | managerid |
| int | needdestroy |
| struct ast_dynamic_str * | outputstr |
| int | pending_event |
| int | readperm |
| int | send_events |
| time_t | sessiontimeout |
| struct sockaddr_in | sin |
| pthread_t | t |
| char | username [80] |
| pthread_t | waiting_thread |
| int | writeperm |
| int | writetimeout |
Definition at line 161 of file manager.c.
Thread lock -- don't use in action callbacks, it's already taken care of
Definition at line 165 of file manager.c.
Referenced by accept_thread(), action_waitevent(), astman_append(), astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), find_session(), free_session(), generic_http_callback(), get_input(), manager_event(), process_events(), and set_eventmask().
| int authenticated |
Authentication status
Definition at line 187 of file manager.c.
Referenced by accept_thread(), do_message(), generic_http_callback(), get_input(), process_events(), process_message(), and session_do().
| time_t authstart |
Definition at line 201 of file manager.c.
Referenced by accept_thread(), do_message(), and get_input().
| char challenge[10] |
Authentication challenge
Definition at line 185 of file manager.c.
Referenced by authenticate(), and process_message().
Add system name to manager responses and events
Definition at line 196 of file manager.c.
Referenced by authenticate().
Definition at line 198 of file manager.c.
Referenced by accept_thread(), action_waitevent(), do_message(), free_session(), and process_events().
| int fd |
TCP socket
Definition at line 169 of file manager.c.
Referenced by accept_thread(), action_command(), action_originate(), action_waitevent(), astman_append(), free_session(), generic_http_callback(), get_input(), and process_events().
| char inbuf[1024] |
| int inlen |
| int inuse |
Whether an HTTP manager is in use
Definition at line 171 of file manager.c.
Referenced by accept_thread(), find_session(), and generic_http_callback().
| uint32_t managerid |
Unique manager identifer
Definition at line 177 of file manager.c.
Referenced by astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), find_session(), and generic_http_callback().
| int needdestroy |
Whether an HTTP session should be destroyed
Definition at line 173 of file manager.c.
Referenced by action_waitevent(), find_session(), and generic_http_callback().
struct ast_dynamic_str* outputstr [read] |
Output from manager interface
Definition at line 181 of file manager.c.
Referenced by astman_append(), free_session(), generic_http_callback(), and process_events().
| int pending_event |
Pending events indicator in case when waiting_thread is NULL
Definition at line 202 of file manager.c.
Referenced by get_input(), and manager_event().
| int readperm |
Authorization for reading
Definition at line 189 of file manager.c.
Referenced by action_waitevent(), astman_verify_session_readpermissions(), authenticate(), and process_events().
| int send_events |
Definition at line 195 of file manager.c.
Referenced by accept_thread(), action_waitevent(), generic_http_callback(), process_events(), and set_eventmask().
| time_t sessiontimeout |
Session timeout if HTTP
Definition at line 179 of file manager.c.
Referenced by accept_thread(), action_waitevent(), find_session(), generic_http_callback(), and process_message().
struct sockaddr_in sin [read] |
socket address
Definition at line 167 of file manager.c.
Referenced by accept_thread(), authenticate(), do_message(), generic_http_callback(), get_input(), handle_showmanconn(), process_message(), and session_do().
| pthread_t t |
| char username[80] |
Logged in username
Definition at line 183 of file manager.c.
Referenced by accept_thread(), authenticate(), generic_http_callback(), handle_showmanconn(), process_message(), and session_do().
| pthread_t waiting_thread |
Whether an HTTP session has someone waiting on events
Definition at line 175 of file manager.c.
Referenced by accept_thread(), action_waitevent(), generic_http_callback(), get_input(), and manager_event().
| int writeperm |
Authorization for writing
Definition at line 191 of file manager.c.
Referenced by action_listcommands(), astman_verify_session_writepermissions(), authenticate(), and process_message().
| int writetimeout |
Definition at line 200 of file manager.c.
Referenced by accept_thread(), astman_append(), authenticate(), and process_events().
1.5.6