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