jabberd2
2.2.16
|
Go to the source code of this file.
Functions | |
void | filter_unload (router_t r) |
filter manager | |
int | filter_load (router_t r) |
int | filter_packet (router_t r, nad_t nad) |
void filter_unload | ( | router_t | r | ) |
filter manager
Definition at line 25 of file filter.c.
References router_st::filter, acl_s::next, acl_s::from, acl_s::to, acl_s::what, and acl_s::redirect.
Referenced by JABBER_MAIN(), and filter_load().
int filter_load | ( | router_t | r | ) |
Definition at line 42 of file filter.c.
References log_debug, ZONE, router_st::filter, filter_unload(), config_get_one(), router_st::config, log_write(), router_st::log, router_st::filter_load, nad_parse(), nad_find_elem(), nad_find_attr(), NAD_AVAL_L, acl_s::from, NAD_AVAL, acl_s::to, acl_s::what, acl_s::redirect, acl_s::redirect_len, acl_s::error, stanza_err_REDIRECT, stanza_err_NOT_ALLOWED, _stanza_errors, _stanza_error_st::code, stanza_err_BAD_REQUEST, acl_s::log, and acl_s::next.
Referenced by JABBER_MAIN().
Definition at line 182 of file filter.c.
References nad_find_attr(), NAD_AVAL_L, NAD_AVAL, router_st::filter, acl_s::next, acl_s::from, acl_s::to, acl_s::what, nad_find_elem_path(), log_debug, ZONE, acl_s::log, acl_s::redirect, log_write(), router_st::log, acl_s::error, nad_set_attr(), and acl_s::redirect_len.
Referenced by _router_process_route().