|
jabberd14
1.6.2
|
#include <jsm.h>
Data Fields | |
| jsmi | si |
| char * | res |
| jid | id |
| udata | u |
| xmlnode | presence |
| int | priority |
| int | roster |
| int | c_in |
| int | c_out |
| time_t | started |
| pool | p |
| int | exit_flag |
| mlist | events [es_LAST] |
| mtq | q |
| jid | route |
| jid | sid |
| char * | sc_c2s |
| char * | sc_sm |
| xht | aux_data |
| struct session_struct * | next |
structure that holds the data for a single session of a user
hash where modules can store additional data for a session (data stored in this hash has to be freed by the module
Referenced by js_sc_session_new(), js_session_free_aux_data(), and js_session_new().
counter for packets received for a client
Referenced by _js_session_to(), js_sc_session_new(), and js_session_new().
counter for packets received from a client
Referenced by _js_session_from(), js_sc_session_new(), and js_session_new().
lists for the callbacks that have registered for the events of this session
Referenced by js_mapi_call2(), js_mapi_session(), js_sc_session_new(), and js_session_new().
flag that a session has ended and should not be used anymore
Referenced by _js_session_from(), _js_session_to(), js_sc_session_new(), js_session_end(), and js_session_new().
JabberID of the user who owns this session
Referenced by _js_session_from(), js_sc_session_new(), js_session_end(), and js_session_new().
| struct session_struct* session_struct::next |
pointer to the next list element of sessions, NULL for the last entry
Referenced by __jsm_shutdown(), _js_routed_error_packet(), _js_routed_packet(), _js_routed_session_control_packet(), js_sc_session_new(), js_session_end(), js_session_get(), js_session_new(), and js_session_primary().
| pool session_struct::p |
memory pool for this session
Referenced by _js_session_end(), js_mapi_session(), js_sc_session_new(), js_session_end(), and js_session_new().
| xmlnode session_struct::presence |
the current global presence of this session
Referenced by _js_session_end(), js_sc_session_new(), js_session_end(), js_session_new(), and js_session_route().
the current priority of this session
Referenced by js_online(), js_sc_session_new(), js_session_end(), js_session_new(), and js_session_primary().
thread queue
Referenced by js_sc_session_new(), js_session_end(), js_session_from(), js_session_new(), and js_session_to().
| char* session_struct::res |
the resource of this session
Referenced by js_sc_session_new(), js_session_get(), and js_session_new().
Referenced by js_sc_session_new(), and js_session_new().
our id to send packets to c2s for this session
Referenced by _js_routed_packet(), _js_routed_session_packet(), js_sc_session_new(), js_session_new(), and js_session_route().
| char* session_struct::sc_c2s |
the identifier for the session on c2s if session control protocol is used
Referenced by js_sc_session_new(), and js_session_route().
| char* session_struct::sc_sm |
the identifier for the session on the session manager if session control protocol is used
Referenced by _js_routed_packet(), _js_routed_session_control_packet(), js_sc_session_new(), js_session_end(), and js_session_route().
pointer to instance internal data of the session manager
Referenced by _js_session_from(), _js_session_start(), _js_session_to(), js_mapi_call2(), js_sc_session_new(), js_session_end(), js_session_new(), and js_session_route().
the id of the c2s 'user' that handles this session
Referenced by _js_routed_error_packet(), _js_session_end(), js_sc_session_new(), js_session_new(), and js_session_route().
| time_t session_struct::started |
when the session has been started
Referenced by _js_session_start().
user data structure of the user
Referenced by _js_session_end(), _js_session_from(), _js_session_start(), _js_session_to(), js_deliver(), js_sc_session_new(), js_session_end(), and js_session_new().
1.7.6.1