jabberd2
2.3.1
|
#include "util.h"
Go to the source code of this file.
Functions | |
nad_t | stanza_error (nad_t nad, int elem, int err) |
error the packet More... | |
nad_t | stanza_tofrom (nad_t nad, int elem) |
flip the to and from attributes on this elem More... | |
Variables | |
struct _stanza_error_st | _stanza_errors [] |
if you change these, reflect your changes in the defines in util.h More... | |
error the packet
Definition at line 52 of file stanza.c.
References _stanza_error_st::code, nad_add_namespace(), nad_insert_elem(), nad_set_attr(), _stanza_error_st::name, stanza_err_BAD_REQUEST, stanza_err_LAST, _stanza_error_st::type, and uri_STANZA_ERR.
Referenced by _authreg_auth_get(), _authreg_auth_set(), _authreg_register_get(), _authreg_register_set(), _c2s_client_sx_callback(), _router_comp_write(), authreg_process(), c2s_router_sx_callback(), out_bounce_route_queue(), pkt_error(), and s2s_router_sx_callback().
flip the to and from attributes on this elem
Definition at line 78 of file stanza.c.
References NAD_AVAL, NAD_AVAL_L, nad_find_attr(), and nad_set_attr().
Referenced by _authreg_auth_get(), _authreg_auth_set(), _authreg_register_get(), _authreg_register_set(), _in_result(), _in_verify(), _session_in_router(), authreg_process(), out_bounce_route_queue(), and s2s_router_sx_callback().
struct _stanza_error_st _stanza_errors[] |
if you change these, reflect your changes in the defines in util.h
Definition at line 24 of file stanza.c.
Referenced by _router_process_route(), dispatch(), filter_load(), and s2s_router_sx_callback().