jabberd2
2.3.1
|
message echo More...
#include "sm.h"
Go to the source code of this file.
Functions | |
static mod_ret_t | _echo_pkt_sm (mod_instance_t mi, pkt_t pkt) |
DLLEXPORT int | module_init (mod_instance_t mi, const char *arg) |
|
static |
Definition at line 30 of file mod_echo.c.
References jid_st::domain, pkt_st::from, jid_free(), jid_full(), jid_new(), jid_reset_components(), jid_user(), log_debug, module_st::mm, mod_instance_st::mod, mod_HANDLED, mod_PASS, jid_st::node, pkt_create(), pkt_MESSAGE, pkt_PRESENCE_PROBE, pkt_router(), pkt_S10N, pkt_tofrom(), module_st::private, jid_st::resource, mm_st::sm, pkt_st::to, pkt_st::type, and ZONE.
Referenced by module_init().
DLLEXPORT int module_init | ( | mod_instance_t | mi, |
const char * | arg | ||
) |
Definition at line 58 of file mod_echo.c.
References _echo_pkt_sm(), module_st::init, mod_instance_st::mod, module_st::pkt_sm, and module_st::private.