jabberd2
2.5.0
|
user auto-population - roster More...
#include "sm.h"
Go to the source code of this file.
Data Structures | |
struct | _template_roster_st |
union | xhashv |
session packet handling More... | |
Typedefs | |
typedef struct _template_roster_st * | template_roster_t |
Functions | |
static int | _template_roster_reload (template_roster_t tr) |
static void | _template_roster_save_item (sm_t sm, jid_t jid, item_t item) |
!!! this is a cut & paste of _roster_save_time - break it out More... | |
static int | _template_roster_user_create (mod_instance_t mi, jid_t jid) |
static void | _template_roster_free (module_t mod) |
DLLEXPORT int | module_init (mod_instance_t mi, const char *arg) |
user auto-population - roster
Definition in file mod_template_roster.c.
typedef struct _template_roster_st * template_roster_t |
|
static |
Definition at line 46 of file mod_template_roster.c.
References nad_st::ecur, _template_roster_st::filename, item_st::from, item_st::groups, _template_roster_st::items, item_st::jid, jid_free(), jid_full(), jid_new(), sm_st::log, log_debug, log_write(), _template_roster_st::mtime, NAD_AVAL, NAD_AVAL_L, NAD_CDATA, NAD_CDATA_L, NAD_ENS, nad_find_attr(), nad_find_elem(), nad_parse(), item_st::name, item_st::ngroups, pmalloco(), pool_cleanup(), pstrdupx(), _template_roster_st::sm, item_st::to, xhash_free(), xhash_new(), xhash_pool(), xhash_put(), and ZONE.
Referenced by _template_roster_user_create().
!!! this is a cut & paste of _roster_save_time - break it out
Definition at line 178 of file mod_template_roster.c.
References item_st::ask, item_st::from, item_st::groups, item_st::jid, jid_full(), jid_user(), log_debug, item_st::name, item_st::ngroups, sm_st::st, item_st::to, and ZONE.
Referenced by _template_roster_user_create().
|
static |
Definition at line 225 of file mod_template_roster.c.
References _template_roster_reload(), _template_roster_save_item(), _template_roster_st::items, log_debug, mod_instance_st::mod, module_st::private, _template_roster_st::sm, xhash_iter_first(), xhash_iter_get(), xhash_iter_next(), and ZONE.
Referenced by module_init().
|
static |
Definition at line 246 of file mod_template_roster.c.
References _template_roster_st::items, module_st::private, and xhash_free().
Referenced by module_init().
DLLEXPORT int module_init | ( | mod_instance_t | mi, |
const char * | arg | ||
) |
Definition at line 255 of file mod_template_roster.c.
References _template_roster_free(), _template_roster_user_create(), sm_st::config, config_get_one(), _template_roster_st::filename, module_st::free, module_st::init, module_st::mm, mod_instance_st::mod, module_st::private, _template_roster_st::sm, mm_st::sm, and module_st::user_create.