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 ast_acl_listacl
int allowmultiplelogin
struct ao2_containerblackfilters
struct ast_variablechanvars
int displayconnects
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 1521 of file manager.c.


Field Documentation

char* a1_hash

precalculated A1 for Digest auth

Definition at line 1533 of file manager.c.

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

struct ast_acl_list* acl [read]

ACL setting

Definition at line 1532 of file manager.c.

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

Per user option

Definition at line 1528 of file manager.c.

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

struct ao2_container* blackfilters [read]

Manager event filters - black list

Definition at line 1531 of file manager.c.

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

struct ast_variable* chanvars [read]

Channel variables to set for originate

Definition at line 1534 of file manager.c.

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

XXX unused

Definition at line 1527 of file manager.c.

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

int keep

mark entries created on a reload

Definition at line 1529 of file manager.c.

Referenced by __init_manager().

struct { ... } list

struct ast_manager_user* next [read]

Definition at line 1535 of file manager.c.

int readperm

Authorization for reading

Definition at line 1524 of file manager.c.

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

char* secret

Secret for logging in

Definition at line 1523 of file manager.c.

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

char username[80]

struct ao2_container* whitefilters [read]

Manager event filters - white list

Definition at line 1530 of file manager.c.

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

int writeperm

Authorization for writing

Definition at line 1525 of file manager.c.

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

Per user Timeout for ast_carefulwrite()

Definition at line 1526 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 Thu Apr 16 06:35:24 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6