Sat Feb 11 06:37:43 2012

Asterisk developer's documentation


ast_manager_user Struct Reference
[AMI functions]

user descriptor, as read from the config file. More...

Collaboration diagram for ast_manager_user:

Collaboration graph
[legend]

Data Fields

char * a1_hash
struct ao2_containerblackfilters
int displayconnects
struct ast_haha
int keep
struct {
   struct ast_manager_user *   next
list
int readperm
char * secret
char username [80]
struct ao2_containerwhitefilters
int writeperm
int writetimeout

Detailed Description

user descriptor, as read from the config file.

Note:
It is still missing some fields -- e.g. we can have multiple permit and deny lines which are not supported here, and readperm/writeperm/writetimeout are not stored.

Definition at line 1064 of file manager.c.


Field Documentation

char* a1_hash

precalculated A1 for Digest auth

Definition at line 1075 of file manager.c.

Referenced by __init_manager(), and auth_http_callback().

struct ao2_container* blackfilters [read]

Manager event filters - black list

Definition at line 1074 of file manager.c.

Referenced by __init_manager(), and authenticate().

XXX unused

Definition at line 1071 of file manager.c.

Referenced by __init_manager(), auth_http_callback(), handle_showmanager(), and manager_displayconnects().

struct ast_ha* ha [read]

ACL setting

Definition at line 1067 of file manager.c.

Referenced by __init_manager(), auth_http_callback(), authenticate(), and handle_showmanager().

int keep

mark entries created on a reload

Definition at line 1072 of file manager.c.

Referenced by __init_manager().

struct { ... } list

struct ast_manager_user* next [read]

Definition at line 1076 of file manager.c.

int readperm

Authorization for reading

Definition at line 1068 of file manager.c.

Referenced by __init_manager(), auth_http_callback(), authenticate(), and handle_showmanager().

char* secret

Secret for logging in

Definition at line 1066 of file manager.c.

Referenced by __init_manager(), authenticate(), and handle_showmanager().

char username[80]

struct ao2_container* whitefilters [read]

Manager event filters - white list

Definition at line 1073 of file manager.c.

Referenced by __init_manager(), and authenticate().

int writeperm

Authorization for writing

Definition at line 1069 of file manager.c.

Referenced by __init_manager(), auth_http_callback(), authenticate(), and handle_showmanager().

Per user Timeout for ast_carefulwrite()

Definition at line 1070 of file manager.c.

Referenced by __init_manager(), auth_http_callback(), and authenticate().


The documentation for this struct was generated from the following file:

Generated on Sat Feb 11 06:37:43 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6