jabberd2
2.3.6
|
#include "sx.h"
Go to the source code of this file.
Functions | |
static void | _sx_client_element_start (void *arg, const char *name, const char **atts) |
static void | _sx_client_element_end (void *arg, const char *name) |
static void | _sx_client_notify_header (sx_t s, void *arg) |
void | sx_client_init (sx_t s, unsigned int flags, const char *ns, const char *to, const char *from, const char *version) |
|
static |
Definition at line 23 of file client.c.
References _sx_cdata(), _sx_debug, _sx_element_end(), _sx_element_start(), _sx_error(), _sx_event, _sx_gen_error, _sx_namespace_start(), _sx_state, _sx_st::depth, _sx_st::env, event_ERROR, event_STREAM, _sx_st::expat, _sx_st::fail, _sx_st::id, _sx_env_st::nplugins, _sx_env_st::plugins, _sx_st::res_from, _sx_st::res_to, _sx_st::res_version, _sx_st::state, state_STREAM, _sx_plugin_st::stream, stream_err_BAD_FORMAT, SX_ERR_STREAM, uri_STREAMS, and ZONE.
Referenced by _sx_client_notify_header().
|
static |
Definition at line 90 of file client.c.
References _sx_st::depth, and _sx_st::fail.
Referenced by _sx_client_notify_header().
|
static |
Definition at line 98 of file client.c.
References _sx_client_element_end(), _sx_client_element_start(), _sx_debug, _sx_state, _sx_st::expat, state_STREAM_SENT, _sx_st::want_read, and ZONE.
Referenced by sx_client_init().
void sx_client_init | ( | sx_t | s, |
unsigned int | flags, | ||
const char * | ns, | ||
const char * | to, | ||
const char * | from, | ||
const char * | version | ||
) |
Definition at line 111 of file client.c.
References _sx_buffer_new(), _sx_client_notify_header(), _sx_debug, _sx_event, _sx_flags(), _sx_plugin_st::client, _sx_buf_st::data, _sx_st::env, event_WANT_WRITE, _sx_st::flags, _sx_plugin_st::header, jqueue_push(), _sx_buf_st::len, _sx_env_st::nplugins, _sx_st::ns, _sx_env_st::plugins, _sx_st::req_from, _sx_st::req_to, _sx_st::req_version, _sx_st::state, state_NONE, _sx_st::tag, _sx_st::type, type_CLIENT, uri_STREAMS, _sx_st::want_write, _sx_st::wbufq, and ZONE.
Referenced by _c2s_router_connect(), _s2s_router_connect(), _sm_router_connect(), _sx_compress_process(), _sx_sasl_process(), _sx_ssl_process(), and out_route().