jabberd2
2.6.1
|
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, const char *type, jid_t jid) |
see if a jid is in an acl More... | |
void | aci_unload (xht acls) |
unload aci table More... | |
Definition at line 30 of file aci.c.
References sm_st::config, jid_append(), jid_free(), jid_new(), jid_user(), log_debug, config_st::nad, NAD_AVAL, NAD_AVAL_L, NAD_CDATA, NAD_CDATA_L, nad_find_attr(), nad_find_elem(), pstrdup(), xhash_new(), xhash_pool(), xhash_put(), and ZONE.
see if a jid is in an acl
Definition at line 86 of file aci.c.
References jid_st::dirty, jid_dup(), jid_free(), jid_full(), jid_search(), jid_user(), log_debug, jid_st::resource, xhash_get(), and ZONE.
void aci_unload | ( | xht | acls | ) |
unload aci table
Definition at line 129 of file aci.c.
References jid_free(), log_debug, aci_user_st::name, aci_user_st::next, jid_st::next, xhash_free(), xhash_iter_first(), xhash_iter_get(), xhash_iter_next(), and ZONE.