jabberd2
2.7.0
|
forward messages to administrators More...
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
static mod_ret_t | _help_pkt_sm (mod_instance_t mi, pkt_t pkt) |
static void | _help_disco_extend (mod_instance_t mi, pkt_t pkt) |
DLLEXPORT int | module_init (mod_instance_t mi, const char *arg) |
Variables | |
static const char * | _serverinfo_fields [] |
forward messages to administrators
Definition in file mod_help.c.
#define _GNU_SOURCE |
Definition at line 22 of file mod_help.c.
|
static |
Definition at line 44 of file mod_help.c.
References sm_st::acls, jid_st::domain, pkt_st::from, jid_compare_full(), jid_free(), jid_full(), jid_new(), jid_reset_components(), jid_search(), jid_user(), sm_st::log, log_debug, log_write(), module_st::mm, mod_instance_st::mod, mod_HANDLED, mod_PASS, pkt_st::nad, NAD_CDATA, NAD_CDATA_L, nad_copy(), nad_drop_elem(), NAD_ENS, nad_find_elem(), nad_free(), nad_insert_elem(), nad_print(), nad_set_attr(), jid_st::next, jid_st::node, pkt_create(), pkt_dup(), pkt_free(), pkt_MESSAGE, pkt_PRESENCE_PROBE, pkt_router(), pkt_S10N, module_st::private, jid_st::resource, mm_st::sm, pkt_st::to, pkt_st::type, xhash_get(), and ZONE.
Referenced by module_init().
|
static |
Definition at line 128 of file mod_help.c.
References _serverinfo_fields, sm_st::config, config_get(), log_debug, module_st::mm, mod_instance_st::mod, pkt_st::nad, nad_add_namespace(), nad_append_attr(), nad_append_cdata(), nad_append_elem(), config_elem_st::nvalues, nad_st::scope, mm_st::sm, uri_SERVERINFO, uri_XDATA, config_elem_st::values, and ZONE.
Referenced by module_init().
DLLEXPORT int module_init | ( | mod_instance_t | mi, |
const char * | arg | ||
) |
Definition at line 171 of file mod_help.c.
References _help_disco_extend(), _help_pkt_sm(), module_st::disco_extend, module_st::init, mod_instance_st::mod, module_st::pkt_sm, and module_st::private.
|
static |
Definition at line 34 of file mod_help.c.
Referenced by _help_disco_extend().