jabberd2  2.2.16
Data Fields
c2s_st Struct Reference

#include <c2s.h>

Data Fields

char * id
 our id (hostname) with the router
char * router_ip
 how to connect to the router
int router_port
char * router_user
char * router_pass
char * router_pemfile
mio_t mio
 mio context
xht sessions
 sessions
sx_env_t sx_env
 sx environment
sx_plugin_t sx_ssl
sx_plugin_t sx_sasl
sx_t router
 router's conn
mio_fd_t fd
mio_fd_t server_fd
 listening sockets
config_t config
 config
log_t log
 logging
log_type_t log_type
 log data
char * log_facility
char * log_ident
long long int packet_count
 packet counter
char * packet_stats
int retry_init
 connect retry
int retry_lost
int retry_sleep
int retry_left
char * local_ip
 ip to listen on
int local_port
 unencrypted port
int local_ssl_port
 encrypted port
char * local_pemfile
 encrypted port pemfile
char * local_cachain
 encrypted port cachain file
int local_verify_mode
 verify-mode
char * http_forward
 http forwarding URL
char * pbx_pipe
 PBX integration named pipe.
int pbx_pipe_fd
mio_fd_t pbx_pipe_mio_fd
xht stream_redirects
 stream redirection (see-other-host) on session connect
int io_max_fds
 max file descriptors
int compression
 enable Stream Compression
int io_check_interval
 time checks
int io_check_idle
int io_check_keepalive
time_t next_check
char * ar_module_name
 auth/reg module
authreg_t ar
int ar_mechanisms
 allowed mechanisms
int ar_ssl_mechanisms
int conn_rate_total
 connection rates
int conn_rate_seconds
int conn_rate_wait
xht conn_rates
int byte_rate_total
 byte rates (karma)
int byte_rate_seconds
int byte_rate_wait
int stanza_rate_total
 stanza rates
int stanza_rate_seconds
int stanza_rate_wait
int stanza_size_limit
 maximum stanza size
access_t access
 access controls
jqueue_t dead
 list of sx_t on the way out
jqueue_t dead_sess
 list of sess on the way out
int started
 this is true if we've connected to the router at least once
int online
 true if we're bound in the router
xht hosts
 hosts mapping
host_t vhost
xht sm_avail
 availability of sms that we are servicing

Field Documentation

char* c2s_st::id

our id (hostname) with the router

Definition at line 143 of file c2s.h.

Referenced by c2s_router_sx_callback(), _c2s_config_expand(), _sm_build_route(), and sm_packet().

how to connect to the router

Definition at line 146 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_router_connect().

Definition at line 147 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_router_connect().

Definition at line 148 of file c2s.h.

Referenced by c2s_router_sx_callback(), and _c2s_config_expand().

Definition at line 149 of file c2s.h.

Referenced by c2s_router_sx_callback(), and _c2s_config_expand().

Definition at line 150 of file c2s.h.

Referenced by c2s_router_sx_callback(), _c2s_config_expand(), and JABBER_MAIN().

sx environment

Definition at line 159 of file c2s.h.

Referenced by _c2s_client_mio_callback(), _c2s_hosts_expand(), and JABBER_MAIN().

Definition at line 160 of file c2s.h.

Referenced by c2s_router_sx_callback(), _c2s_hosts_expand(), and JABBER_MAIN().

Definition at line 161 of file c2s.h.

Referenced by c2s_router_sx_callback(), and JABBER_MAIN().

router's conn

Definition at line 164 of file c2s.h.

Referenced by c2s_router_sx_callback(), c2s_router_mio_callback(), sm_start(), sm_end(), sm_create(), sm_delete(), and sm_packet().

Definition at line 165 of file c2s.h.

Referenced by _c2s_client_mio_callback(), c2s_router_sx_callback(), and _c2s_router_connect().

listening sockets

Definition at line 168 of file c2s.h.

Referenced by c2s_router_sx_callback().

log data

Definition at line 180 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

Definition at line 181 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

Definition at line 182 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

long long int c2s_st::packet_count

packet counter

Definition at line 185 of file c2s.h.

Referenced by _c2s_client_sx_callback(), and c2s_router_sx_callback().

Definition at line 186 of file c2s.h.

Referenced by _c2s_config_expand().

connect retry

Definition at line 189 of file c2s.h.

Referenced by _c2s_config_expand().

Definition at line 190 of file c2s.h.

Referenced by c2s_router_sx_callback(), and _c2s_config_expand().

Definition at line 191 of file c2s.h.

Referenced by _c2s_config_expand().

Definition at line 192 of file c2s.h.

Referenced by c2s_router_sx_callback().

ip to listen on

Definition at line 195 of file c2s.h.

Referenced by c2s_router_sx_callback(), and _c2s_config_expand().

unencrypted port

Definition at line 198 of file c2s.h.

Referenced by c2s_router_sx_callback(), and _c2s_config_expand().

encrypted port

Definition at line 201 of file c2s.h.

Referenced by _c2s_client_mio_callback(), c2s_router_sx_callback(), and _c2s_config_expand().

encrypted port pemfile

Definition at line 204 of file c2s.h.

Referenced by c2s_router_sx_callback(), _c2s_config_expand(), and JABBER_MAIN().

encrypted port cachain file

Definition at line 207 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

verify-mode

Definition at line 210 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

http forwarding URL

Definition at line 213 of file c2s.h.

Referenced by _c2s_client_sx_callback(), and _c2s_config_expand().

PBX integration named pipe.

Definition at line 216 of file c2s.h.

Referenced by c2s_router_sx_callback(), _c2s_config_expand(), _pbx_open_pipe(), and c2s_pbx_init().

Definition at line 217 of file c2s.h.

Referenced by _pbx_read_command(), _pbx_mio_callback(), and _pbx_open_pipe().

stream redirection (see-other-host) on session connect

Definition at line 221 of file c2s.h.

Referenced by _c2s_client_sx_callback(), _c2s_config_expand(), and JABBER_MAIN().

max file descriptors

Definition at line 224 of file c2s.h.

Referenced by _c2s_config_expand().

enable Stream Compression

Definition at line 227 of file c2s.h.

Referenced by _c2s_client_mio_callback(), _c2s_config_expand(), and JABBER_MAIN().

time checks

Definition at line 230 of file c2s.h.

Referenced by _c2s_config_expand().

Definition at line 231 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_time_checks().

Definition at line 232 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_time_checks().

Definition at line 234 of file c2s.h.

auth/reg module

Definition at line 237 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

allowed mechanisms

Definition at line 241 of file c2s.h.

Referenced by _authreg_auth_get(), _authreg_auth_set(), and _c2s_config_expand().

Definition at line 242 of file c2s.h.

Referenced by _authreg_auth_get(), _authreg_auth_set(), and _c2s_config_expand().

connection rates

Definition at line 245 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

Definition at line 246 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

Definition at line 247 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

Definition at line 249 of file c2s.h.

Referenced by _c2s_client_accept_check(), and JABBER_MAIN().

byte rates (karma)

Definition at line 252 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

Definition at line 253 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

Definition at line 254 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

stanza rates

Definition at line 257 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

Definition at line 258 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

Definition at line 259 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

maximum stanza size

Definition at line 262 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

access controls

Definition at line 265 of file c2s.h.

Referenced by _c2s_client_accept_check(), _c2s_config_expand(), and JABBER_MAIN().

list of sx_t on the way out

Definition at line 268 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and JABBER_MAIN().

list of sess on the way out

Definition at line 271 of file c2s.h.

Referenced by _c2s_client_mio_callback(), JABBER_MAIN(), and _pbx_process_command().

this is true if we've connected to the router at least once

Definition at line 274 of file c2s.h.

Referenced by c2s_router_sx_callback().

true if we're bound in the router

Definition at line 277 of file c2s.h.

Referenced by c2s_router_sx_callback(), and c2s_router_mio_callback().

hosts mapping

Definition at line 280 of file c2s.h.

Referenced by _bind_features(), _c2s_client_sx_callback(), _c2s_hosts_expand(), and _c2s_sx_sasl_callback().

Definition at line 281 of file c2s.h.

Referenced by _bind_features(), _c2s_client_sx_callback(), and _c2s_hosts_expand().

availability of sms that we are servicing

Definition at line 284 of file c2s.h.

Referenced by _c2s_client_sx_callback(), and _c2s_component_presence().


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