Data Fields | |
| ast_mutex_t | __lock |
| int | authenticated |
| char | challenge [10] |
| FILE * | f |
| int | fd |
| char | inbuf [1025] |
| int | inlen |
| int | inuse |
| eventqent * | last_ev |
| struct { | |
| mansession_session * next | |
| } | list |
| uint32_t | managerid |
| pthread_t | ms_t |
| int | needdestroy |
| int | pending_event |
| int | readperm |
| int | send_events |
| time_t | sessionstart |
| time_t | sessiontimeout |
| sockaddr_in | sin |
| char | username [80] |
| pthread_t | waiting_thread |
| int | writeperm |
| int | writetimeout |
Definition at line 183 of file manager.c.
Thread lock -- don't use in action callbacks, it's already taken care of
Definition at line 185 of file manager.c.
Referenced by __manager_event(), astman_is_authed(), astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), find_session(), and free_session().
| int authenticated |
Authentication status
Definition at line 198 of file manager.c.
Referenced by astman_is_authed(), and purge_sessions().
| FILE* f |
fdopen() on the underlying fd
Definition at line 188 of file manager.c.
Referenced by free_session().
| int fd |
descriptor used for output. Either the socket (AMI) or a temporary file (HTTP)
Definition at line 189 of file manager.c.
Referenced by handle_showmanconn().
| int inuse |
number of HTTP sessions using this entry
Definition at line 190 of file manager.c.
Referenced by find_session(), handle_showmanconn(), and purge_sessions().
| struct { ... } list |
Referenced by check_manager_session_inuse(), and handle_showmanconn().
| uint32_t managerid |
Unique manager identifier, 0 for AMI sessions
Definition at line 193 of file manager.c.
Referenced by astman_verify_session_readpermissions(), astman_verify_session_writepermissions(), and find_session().
| int needdestroy |
Whether an HTTP session should be destroyed
Definition at line 191 of file manager.c.
Referenced by find_session().
| struct mansession_session* next |
| int pending_event |
Pending events indicator in case when waiting_thread is NULL
Definition at line 207 of file manager.c.
Referenced by __manager_event().
| int readperm |
Authorization for reading
Definition at line 199 of file manager.c.
Referenced by astman_verify_session_readpermissions(), and handle_showmanconn().
| int send_events |
| time_t sessionstart |
| time_t sessiontimeout |
| struct sockaddr_in sin |
address we are connecting from
Definition at line 187 of file manager.c.
Referenced by handle_showmanconn(), and purge_sessions().
| char username[80] |
Logged in username
Definition at line 196 of file manager.c.
Referenced by check_manager_session_inuse(), handle_showmanconn(), manager_displayconnects(), and purge_sessions().
| pthread_t waiting_thread |
Sleeping thread using this descriptor
Definition at line 192 of file manager.c.
Referenced by __manager_event().
| int writeperm |
Authorization for writing
Definition at line 200 of file manager.c.
Referenced by astman_verify_session_writepermissions(), and handle_showmanconn().
| int writetimeout |
Timeout for ast_carefulwrite()
1.4.7