![]() |
Home page |
Mailing list |
Docs
Asterisk developer's documentation :: Codename Pineapple
mansession Struct Reference
Collaboration diagram for mansession:
[AMI functions]

Definition at line 125 of file manager.c.
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 |
| unsigned long | managerid |
| pthread_t | ms_t |
| int | needdestroy |
| int | readperm |
| int | send_events |
| time_t | sessiontimeout |
| sockaddr_in | sin |
| char | username [80] |
| pthread_t | waiting_thread |
| int | writeperm |
| int | writetimeout |
|
|
Thread lock -- don't use in action callbacks, it's already taken care of |
|
|
Authentication status |
|
|
Authentication challenge |
|
|
fdopen() on the underlying fd |
|
|
descriptor used for output. Either the socket (AMI) or a temporary file (HTTP) |
|
|
Buffer |
|
|
number of buffered bytes |
|
|
number of HTTP sessions using this entry |
|
|
last event processed. |
|
|
Unique manager identifier, 0 for AMI sessions |
|
|
Execution thread, basically useless |
|
|
Whether an HTTP session should be destroyed |
|
|
Authorization for reading |
|
|
XXX what ? |
|
|
Session timeout if HTTP |
|
|
address we are connecting from |
|
|
Logged in username |
|
|
Sleeping thread using this descriptor |
|
|
Authorization for writing |
|
|
Timeout for ast_carefulwrite() |