jabberd2
2.2.17
|
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::from, acl_s::next, acl_s::redirect, acl_s::to, and acl_s::what.
Referenced by filter_load(), and JABBER_MAIN().
int filter_load | ( | router_t | r | ) |
Definition at line 42 of file filter.c.
References _stanza_errors, _stanza_error_st::code, router_st::config, config_get_one(), acl_s::error, router_st::filter, router_st::filter_load, filter_unload(), acl_s::from, acl_s::log, router_st::log, log_debug, log_write(), NAD_AVAL, NAD_AVAL_L, nad_find_attr(), nad_find_elem(), nad_parse(), acl_s::next, acl_s::redirect, acl_s::redirect_len, stanza_err_BAD_REQUEST, stanza_err_NOT_ALLOWED, stanza_err_REDIRECT, acl_s::to, acl_s::what, and ZONE.
Referenced by JABBER_MAIN().
Definition at line 182 of file filter.c.
References acl_s::error, router_st::filter, acl_s::from, acl_s::log, router_st::log, log_debug, log_write(), NAD_AVAL, NAD_AVAL_L, nad_find_attr(), nad_find_elem_path(), nad_set_attr(), acl_s::next, acl_s::redirect, acl_s::redirect_len, acl_s::to, acl_s::what, and ZONE.
Referenced by _router_process_route().