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