jabberd2
2.3.2
|
#include "sx.h"
Go to the source code of this file.
Functions | |
static void | _sx_server_notify_header (sx_t s, void *arg) |
static void | _sx_server_element_start (void *arg, const char *name, const char **atts) |
static void | _sx_server_element_end (void *arg, const char *name) |
static void | _sx_server_ns_start (void *arg, const char *prefix, const char *uri) |
catch the application namespace so we can get the response right More... | |
void | sx_server_init (sx_t s, unsigned int flags) |
|
static |
Definition at line 23 of file server.c.
References _sx_buffer_new(), _sx_debug, _sx_event, _sx_process_read(), _sx_state, _sx_st::env, event_STREAM, _sx_plugin_st::features, jqueue_push(), jqueue_size(), nad_add_namespace(), nad_append_elem(), nad_free(), nad_new(), nad_print(), _sx_env_st::nplugins, _sx_env_st::plugins, _sx_st::req_version, _sx_st::rnadq, _sx_st::state, state_OPEN, state_STREAM, _sx_plugin_st::stream, uri_STREAMS, _sx_st::want_write, _sx_st::wbufq, and ZONE.
Referenced by _sx_server_element_start().
|
static |
Definition at line 76 of file server.c.
References _sx_buffer_new(), _sx_cdata(), _sx_debug, _sx_element_end(), _sx_element_start(), _sx_error(), _sx_event, _sx_gen_error, _sx_namespace_start(), _sx_server_notify_header(), _sx_state, _sx_buf_st::data, _sx_st::depth, _sx_st::env, event_ERROR, _sx_st::expat, _sx_st::fail, _sx_plugin_st::header, _sx_st::id, 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::res_from, _sx_st::res_to, _sx_st::res_version, state_STREAM_RECEIVED, stream_err_BAD_FORMAT, stream_err_UNSUPPORTED_VERSION, SX_ERR_STREAM, uri_STREAMS, _sx_st::want_write, _sx_st::wbufq, and ZONE.
Referenced by sx_server_init().
|
static |
Definition at line 198 of file server.c.
References _sx_st::depth, and _sx_st::fail.
Referenced by sx_server_init().
|
static |
catch the application namespace so we can get the response right
Definition at line 207 of file server.c.
References _sx_st::expat, and _sx_st::ns.
Referenced by sx_server_init().
void sx_server_init | ( | sx_t | s, |
unsigned int | flags | ||
) |
Definition at line 228 of file server.c.
References _sx_debug, _sx_event, _sx_server_element_end(), _sx_server_element_start(), _sx_server_ns_start(), _sx_st::env, event_WANT_READ, _sx_st::expat, _sx_st::flags, _sx_env_st::nplugins, _sx_env_st::plugins, _sx_plugin_st::server, _sx_st::state, state_NONE, _sx_st::tag, _sx_st::type, type_SERVER, _sx_st::want_read, and ZONE.
Referenced by _c2s_client_mio_callback(), _sx_compress_notify_compress(), _sx_sasl_notify_success(), _sx_ssl_starttls_notify_proceed(), in_mio_callback(), and router_mio_callback().