jabberd2
2.5.0
|
holds the state for a single stream More...
#include <sx.h>
Data Fields | |
sx_env_t | env |
int | tag |
const char * | ip |
int | port |
sx_callback_t | cb |
void * | cb_arg |
_sx_type_t | type |
unsigned int | flags |
const char * | ns |
const char * | req_to |
const char * | req_from |
const char * | req_version |
const char * | res_to |
const char * | res_from |
const char * | res_version |
const char * | id |
_sx_chain_t | wio |
_sx_chain_t | rio |
_sx_chain_t | wnad |
_sx_chain_t | rnad |
jqueue_t | wbufq |
sx_buf_t | wbufpending |
jqueue_t | rnadq |
int | want_read |
int | want_write |
int | rbytes |
int | pbytes |
int | tbytes |
int | rbytesmax |
_sx_state_t | state |
XML_Parser | expat |
int | depth |
int | fail |
nad_t | nad |
void ** | plugin_data |
const char * | auth_method |
const char * | auth_id |
int | reentry |
int | has_reset |
int | ssf |
sx_env_t _sx_st::env |
Definition at line 255 of file sx.h.
Referenced by _sx_client_element_start(), _sx_process_read(), _sx_reset(), _sx_server_element_start(), _sx_server_notify_header(), sx_client_init(), sx_free(), sx_new(), and sx_server_init().
int _sx_st::tag |
Definition at line 258 of file sx.h.
Referenced by __sx_event(), _authreg_auth_log(), _authreg_auth_set(), _authreg_register_set(), _c2s_client_sx_callback(), _c2s_sx_sasl_callback(), _sx_compress_new(), _sx_reset(), _sx_ssl_client(), _sx_ssl_server(), _sx_websocket_new(), c2s_router_sx_callback(), sx_can_read(), sx_can_write(), sx_client_init(), sx_free(), sx_new(), and sx_server_init().
const char* _sx_st::ip |
Definition at line 262 of file sx.h.
Referenced by _address_features(), _authreg_auth_log(), _c2s_client_mio_callback(), _c2s_client_sx_callback(), and _sx_reset().
int _sx_st::port |
Definition at line 266 of file sx.h.
Referenced by _authreg_auth_log(), _c2s_client_mio_callback(), _c2s_client_sx_callback(), and _sx_reset().
sx_callback_t _sx_st::cb |
Definition at line 269 of file sx.h.
Referenced by __sx_event(), _sx_reset(), and sx_new().
void* _sx_st::cb_arg |
Definition at line 270 of file sx.h.
Referenced by __sx_event(), _sx_reset(), and sx_new().
_sx_type_t _sx_st::type |
Definition at line 273 of file sx.h.
Referenced by _sx_ack_process(), _sx_compress_free(), _sx_compress_process(), _sx_sasl_features(), _sx_sasl_process(), _sx_ssl_free(), _sx_ssl_handshake(), _sx_ssl_process(), sx_client_init(), sx_compress_client_compress(), sx_sasl_auth(), sx_server_init(), and sx_ssl_client_starttls().
unsigned int _sx_st::flags |
Definition at line 276 of file sx.h.
Referenced by _c2s_client_mio_callback(), _c2s_client_sx_callback(), _s2s_db_header(), _sx_ack_features(), _sx_ack_header(), _sx_ack_process(), _sx_close(), _sx_compress_features(), _sx_compress_new(), _sx_compress_notify_compress(), _sx_compress_process(), _sx_compress_rio(), _sx_compress_wio(), _sx_error(), _sx_flags(), _sx_process_read(), _sx_reset(), _sx_sasl_features(), _sx_sasl_notify_success(), _sx_sasl_process(), _sx_server_element_start(), _sx_ssl_client(), _sx_ssl_features(), _sx_ssl_handshake(), _sx_ssl_process(), _sx_ssl_rio(), _sx_ssl_server(), _sx_ssl_starttls_notify_proceed(), _sx_ssl_wio(), _sx_websocket_rio(), _sx_websocket_wio(), sx_client_init(), sx_compress_client_compress(), sx_server_init(), and sx_ssl_client_starttls().
const char* _sx_st::ns |
Definition at line 279 of file sx.h.
Referenced by _router_sx_callback(), _sx_compress_process(), _sx_sasl_process(), _sx_server_element_start(), _sx_server_ns_start(), _sx_ssl_process(), sx_client_init(), and sx_free().
const char* _sx_st::req_to |
Definition at line 282 of file sx.h.
Referenced by _authreg_auth_set(), _authreg_register_set(), _bind_features(), _c2s_client_sx_callback(), _c2s_sx_sasl_callback(), _router_process_handshake(), _router_sx_callback(), _sx_compress_process(), _sx_sasl_open(), _sx_sasl_process(), _sx_server_element_start(), _sx_ssl_process(), _sx_ssl_server(), _sx_ssl_starttls_notify_proceed(), authreg_process(), sx_client_init(), and sx_free().
const char* _sx_st::req_from |
Definition at line 283 of file sx.h.
Referenced by _sx_compress_process(), _sx_sasl_process(), _sx_server_element_start(), _sx_ssl_client(), _sx_ssl_process(), sx_client_init(), and sx_free().
const char* _sx_st::req_version |
Definition at line 284 of file sx.h.
Referenced by _sx_compress_process(), _sx_sasl_process(), _sx_server_element_start(), _sx_server_notify_header(), _sx_ssl_process(), sx_client_init(), and sx_free().
const char* _sx_st::res_to |
Definition at line 287 of file sx.h.
Referenced by _sx_client_element_start(), _sx_server_element_start(), and sx_free().
const char* _sx_st::res_from |
Definition at line 288 of file sx.h.
Referenced by _sx_client_element_start(), _sx_server_element_start(), and sx_free().
const char* _sx_st::res_version |
Definition at line 289 of file sx.h.
Referenced by _out_sx_callback(), _sx_client_element_start(), _sx_server_element_start(), and sx_free().
const char* _sx_st::id |
Definition at line 292 of file sx.h.
Referenced by _authreg_auth_set(), _in_result(), _in_sx_callback(), _out_dialback(), _router_process_handshake(), _sx_client_element_start(), _sx_server_element_start(), and sx_free().
_sx_chain_t _sx_st::wio |
Definition at line 295 of file sx.h.
Referenced by _sx_chain_io_plugin(), _sx_chain_io_write(), _sx_reset(), and sx_free().
_sx_chain_t _sx_st::rio |
Definition at line 295 of file sx.h.
Referenced by _sx_chain_io_plugin(), _sx_chain_io_read(), and _sx_reset().
_sx_chain_t _sx_st::wnad |
Definition at line 298 of file sx.h.
Referenced by _sx_chain_nad_plugin(), _sx_chain_nad_write(), _sx_reset(), and sx_free().
_sx_chain_t _sx_st::rnad |
Definition at line 298 of file sx.h.
Referenced by _sx_chain_nad_plugin(), _sx_chain_nad_read(), and _sx_reset().
jqueue_t _sx_st::wbufq |
Definition at line 301 of file sx.h.
Referenced by _sx_ack_process(), _sx_close(), _sx_compress_process(), _sx_error(), _sx_error_extended(), _sx_get_pending_write(), _sx_nad_write(), _sx_process_read(), _sx_raw_write(), _sx_sasl_client_process(), _sx_server_element_start(), _sx_server_notify_header(), _sx_ssl_process(), _sx_websocket_http_return(), libwebsock_send_fragment(), sx_client_init(), sx_compress_client_compress(), sx_free(), sx_new(), and sx_ssl_client_starttls().
sx_buf_t _sx_st::wbufpending |
Definition at line 302 of file sx.h.
Referenced by _sx_get_pending_write(), sx_can_write(), and sx_free().
jqueue_t _sx_st::rnadq |
Definition at line 303 of file sx.h.
Referenced by _sx_element_end(), _sx_process_read(), _sx_server_notify_header(), sx_free(), and sx_new().
int _sx_st::want_read |
Definition at line 306 of file sx.h.
Referenced by _c2s_time_checks(), _sx_client_notify_header(), _sx_get_pending_write(), _sx_ssl_rio(), _sx_ssl_wio(), _sx_websocket_rio(), sx_can_read(), sx_can_write(), sx_nad_write_elem(), sx_raw_write(), and sx_server_init().
int _sx_st::want_write |
Definition at line 306 of file sx.h.
Referenced by _sx_ack_process(), _sx_close(), _sx_compress_process(), _sx_error(), _sx_error_extended(), _sx_get_pending_write(), _sx_nad_write(), _sx_process_read(), _sx_raw_write(), _sx_server_element_start(), _sx_server_notify_header(), _sx_ssl_process(), _sx_ssl_rio(), _sx_websocket_http_return(), libwebsock_fail_connection(), libwebsock_send_fragment(), sx_can_read(), sx_can_write(), sx_client_init(), sx_compress_client_compress(), sx_nad_write_elem(), sx_raw_write(), and sx_ssl_client_starttls().
int _sx_st::rbytes |
Definition at line 309 of file sx.h.
Referenced by _sx_element_end(), and sx_can_read().
int _sx_st::pbytes |
Definition at line 311 of file sx.h.
Referenced by _sx_element_end(), _sx_process_read(), and sx_can_read().
int _sx_st::tbytes |
Definition at line 313 of file sx.h.
Referenced by _c2s_client_mio_callback(), and _sx_process_read().
int _sx_st::rbytesmax |
Definition at line 316 of file sx.h.
Referenced by _c2s_client_mio_callback(), _sx_process_read(), _sx_reset(), in_mio_callback(), and sx_can_read().
_sx_state_t _sx_st::state |
Definition at line 319 of file sx.h.
Referenced by _address_features(), _c2s_client_sx_callback(), _c2s_time_checks(), _router_sx_callback(), _router_time_checks(), _s2s_time_checks(), _sx_ack_features(), _sx_ack_process(), _sx_client_element_start(), _sx_close(), _sx_error(), _sx_error_extended(), _sx_nad_write(), _sx_process_read(), _sx_raw_write(), _sx_sasl_process(), _sx_server_notify_header(), _sx_ssl_features(), _sx_ssl_handshake(), _sx_ssl_rio(), _sx_ssl_wio(), _sx_websocket_rio(), c2s_router_sx_callback(), s2s_router_sx_callback(), sm_sx_callback(), sx_can_read(), sx_can_write(), sx_client_init(), sx_close(), sx_compress_client_compress(), sx_sasl_auth(), sx_server_init(), and sx_ssl_client_starttls().
XML_Parser _sx_st::expat |
Definition at line 322 of file sx.h.
Referenced by _sx_client_element_start(), _sx_client_notify_header(), _sx_namespace_start(), _sx_process_read(), _sx_reset(), _sx_server_element_start(), _sx_server_ns_start(), sx_free(), sx_new(), and sx_server_init().
int _sx_st::depth |
Definition at line 323 of file sx.h.
Referenced by _sx_cdata(), _sx_client_element_end(), _sx_client_element_start(), _sx_element_end(), _sx_element_start(), _sx_process_read(), _sx_server_element_end(), and _sx_server_element_start().
int _sx_st::fail |
Definition at line 324 of file sx.h.
Referenced by _sx_cdata(), _sx_client_element_end(), _sx_client_element_start(), _sx_element_end(), _sx_element_start(), _sx_namespace_start(), _sx_process_read(), _sx_server_element_end(), and _sx_server_element_start().
nad_t _sx_st::nad |
Definition at line 327 of file sx.h.
Referenced by _sx_cdata(), _sx_element_end(), _sx_element_start(), _sx_namespace_start(), and sx_free().
void** _sx_st::plugin_data |
Definition at line 330 of file sx.h.
Referenced by _sx_ack_features(), _sx_ack_process(), _sx_compress_free(), _sx_compress_new(), _sx_compress_rio(), _sx_compress_wio(), _sx_reset(), _sx_sasl_features(), _sx_sasl_free(), _sx_sasl_process(), _sx_sasl_rio(), _sx_sasl_stream(), _sx_sasl_wio(), _sx_ssl_client(), _sx_ssl_free(), _sx_ssl_process(), _sx_ssl_rio(), _sx_ssl_server(), _sx_ssl_wio(), _sx_websocket_free(), _sx_websocket_new(), _sx_websocket_rio(), _sx_websocket_wio(), sx_free(), sx_new(), sx_sasl_auth(), and sx_ssl_client_starttls().
const char* _sx_st::auth_method |
Definition at line 333 of file sx.h.
Referenced by _c2s_client_sx_callback(), sx_auth(), and sx_free().
const char* _sx_st::auth_id |
Definition at line 334 of file sx.h.
Referenced by _bind_features(), _c2s_client_sx_callback(), _router_process_bind(), _router_sx_callback(), c2s_router_sx_callback(), sx_auth(), and sx_free().
int _sx_st::reentry |
Definition at line 337 of file sx.h.
Referenced by __sx_event(), _sx_reset(), and sx_free().
int _sx_st::has_reset |
Definition at line 340 of file sx.h.
Referenced by _sx_reset().
int _sx_st::ssf |
Definition at line 343 of file sx.h.
Referenced by _authreg_auth_get(), _authreg_auth_set(), _c2s_client_sx_callback(), _c2s_sx_sasl_callback(), _in_sx_callback(), _out_sx_callback(), _sx_compress_features(), _sx_flags(), _sx_reset(), _sx_sasl_features(), _sx_sasl_process(), _sx_ssl_client(), _sx_ssl_features(), _sx_ssl_handshake(), _sx_ssl_process(), _sx_ssl_server(), c2s_router_sx_callback(), out_packet(), s2s_router_sx_callback(), sm_sx_callback(), and sx_ssl_client_starttls().