jabberd2  2.3.6
Data Fields
_sx_st Struct Reference

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 rbytes_total
 
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
 

Detailed Description

holds the state for a single stream

Definition at line 253 of file sx.h.

Field Documentation

sx_env_t _sx_st::env
int _sx_st::tag
const char* _sx_st::ip
int _sx_st::port
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
unsigned int _sx_st::flags
const char* _sx_st::ns
const char* _sx_st::req_to
const char* _sx_st::req_from
const char* _sx_st::req_version
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
const char* _sx_st::id
_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
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
int _sx_st::want_write
int _sx_st::rbytes

Definition at line 309 of file sx.h.

Referenced by _sx_element_end(), and _sx_process_read().

int _sx_st::rbytes_total

Definition at line 310 of file sx.h.

Referenced by _c2s_client_mio_callback(), and _sx_process_read().

int _sx_st::rbytesmax

Definition at line 313 of file sx.h.

Referenced by _c2s_client_mio_callback(), _sx_process_read(), _sx_reset(), and in_mio_callback().

_sx_state_t _sx_st::state
XML_Parser _sx_st::expat
int _sx_st::depth
int _sx_st::fail
nad_t _sx_st::nad

Definition at line 324 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
const char* _sx_st::auth_method

Definition at line 330 of file sx.h.

Referenced by _c2s_client_sx_callback(), sx_auth(), and sx_free().

const char* _sx_st::auth_id
int _sx_st::reentry

Definition at line 334 of file sx.h.

Referenced by __sx_event(), _sx_reset(), and sx_free().

int _sx_st::has_reset

Definition at line 337 of file sx.h.

Referenced by _sx_reset().

int _sx_st::ssf

The documentation for this struct was generated from the following file: