jabberd2
2.2.16
|
access control manager More...
#include "sm.h"
Go to the source code of this file.
Functions | |
xht | aci_load (sm_t sm) |
int | aci_check (xht acls, char *type, jid_t jid) |
see if a jid is in an acl | |
void | aci_unload (xht acls) |
unload aci table |
Definition at line 30 of file aci.c.
References log_debug, ZONE, xhash_new(), nad_find_elem(), sm_st::config, config_st::nad, nad_find_attr(), NAD_AVAL_L, NAD_AVAL, NAD_CDATA_L, jid_new(), NAD_CDATA, jid_append(), jid_user(), jid_free(), xhash_put(), pstrdup(), and xhash_pool().
see if a jid is in an acl
Definition at line 86 of file aci.c.
References jid_dup(), jid_st::resource, jid_st::dirty, log_debug, ZONE, jid_full(), xhash_get(), jid_search(), jid_free(), and jid_user().
void aci_unload | ( | xht | acls | ) |
unload aci table
Definition at line 129 of file aci.c.
References xhash_iter_first(), xhash_iter_get(), aci_user_st::next, aci_user_st::name, xhash_iter_next(), xhash_free(), log_debug, ZONE, jid_st::next, and jid_free().