Mon Mar 31 07:43:17 2008

Asterisk developer's documentation


mansession Struct Reference
[AMI functions]

Collaboration diagram for mansession:

Collaboration graph
[legend]

Data Fields

ast_mutex_t __lock
int authenticated
char challenge [10]
int displaysystemname
eventqenteventq
int fd
char inbuf [1024]
int inlen
int inuse
unsigned long managerid
int needdestroy
ast_dynamic_str * outputstr
int readperm
int send_events
time_t sessiontimeout
sockaddr_in sin
pthread_t t
char username [80]
pthread_t waiting_thread
int writeperm
int writetimeout

Detailed Description

Definition at line 138 of file manager.c.


Field Documentation

ast_mutex_t __lock

Thread lock -- don't use in action callbacks, it's already taken care of

Definition at line 142 of file manager.c.

int authenticated

Authentication status

Definition at line 164 of file manager.c.

char challenge[10]

Authentication challenge

Definition at line 162 of file manager.c.

int displaysystemname

Add system name to manager responses and events

Definition at line 173 of file manager.c.

struct eventqent* eventq

Definition at line 175 of file manager.c.

int fd

TCP socket

Definition at line 146 of file manager.c.

char inbuf[1024]

Buffer

Definition at line 170 of file manager.c.

int inlen

Definition at line 171 of file manager.c.

int inuse

Whether an HTTP manager is in use

Definition at line 148 of file manager.c.

unsigned long managerid

Unique manager identifer

Definition at line 154 of file manager.c.

int needdestroy

Whether an HTTP session should be destroyed

Definition at line 150 of file manager.c.

struct ast_dynamic_str* outputstr

Output from manager interface

Definition at line 158 of file manager.c.

int readperm

Authorization for reading

Definition at line 166 of file manager.c.

int send_events

Definition at line 172 of file manager.c.

time_t sessiontimeout

Session timeout if HTTP

Definition at line 156 of file manager.c.

struct sockaddr_in sin

socket address

Definition at line 144 of file manager.c.

pthread_t t

Execution thread

Definition at line 140 of file manager.c.

char username[80]

Logged in username

Definition at line 160 of file manager.c.

pthread_t waiting_thread

Whether an HTTP session has someone waiting on events

Definition at line 152 of file manager.c.

int writeperm

Authorization for writing

Definition at line 168 of file manager.c.

int writetimeout

Definition at line 177 of file manager.c.


The documentation for this struct was generated from the following file:
Generated on Mon Mar 31 07:43:17 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1