Thu May 24 14:23:44 2007

Asterisk developer's documentation


mansession Struct Reference

#include <manager.h>

Collaboration diagram for mansession:

Collaboration graph
[legend]

Data Fields

ast_mutex_t __lock
int authenticated
int busy
char challenge [10]
int dead
eventqenteventq
int fd
char inbuf [AST_MAX_MANHEADER_LEN]
int inlen
mansessionnext
int readperm
int send_events
sockaddr_in sin
pthread_t t
char username [80]
int writeperm
int writetimeout

Detailed Description

Definition at line 67 of file manager.h.


Field Documentation

ast_mutex_t __lock

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

Definition at line 71 of file manager.h.

int authenticated

Authentication status

Definition at line 85 of file manager.h.

int busy

Whether or not we're busy doing an action

Definition at line 77 of file manager.h.

char challenge[10]

Authentication challenge

Definition at line 83 of file manager.h.

int dead

Whether or not we're "dead"

Definition at line 79 of file manager.h.

struct eventqent* eventq

Definition at line 95 of file manager.h.

int fd

TCP socket

Definition at line 75 of file manager.h.

char inbuf[AST_MAX_MANHEADER_LEN]

Buffer

Definition at line 91 of file manager.h.

int inlen

Definition at line 92 of file manager.h.

struct mansession* next

Definition at line 98 of file manager.h.

Referenced by destroy_session().

int readperm

Authorization for reading

Definition at line 87 of file manager.h.

int send_events

Definition at line 93 of file manager.h.

struct sockaddr_in sin

socket address

Definition at line 73 of file manager.h.

pthread_t t

Execution thread

Definition at line 69 of file manager.h.

char username[80]

Logged in username

Definition at line 81 of file manager.h.

int writeperm

Authorization for writing

Definition at line 89 of file manager.h.

int writetimeout

Definition at line 97 of file manager.h.


The documentation for this struct was generated from the following file:
Generated on Thu May 24 14:23:44 2007 for Asterisk - the Open Source PBX by  doxygen 1.4.7