jabberd2  2.3.3
Data Fields
c2s_st Struct Reference

#include <c2s.h>

Data Fields

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

Detailed Description

Definition at line 151 of file c2s.h.

Field Documentation

const char* c2s_st::id

our id (hostname) with the router

Definition at line 153 of file c2s.h.

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

const char* c2s_st::router_ip

how to connect to the router

Definition at line 156 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_router_connect().

int c2s_st::router_port

Definition at line 157 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_router_connect().

const char* c2s_st::router_user

Definition at line 158 of file c2s.h.

Referenced by _c2s_config_expand(), and c2s_router_sx_callback().

const char* c2s_st::router_pass

Definition at line 159 of file c2s.h.

Referenced by _c2s_config_expand(), and c2s_router_sx_callback().

const char* c2s_st::router_pemfile

Definition at line 160 of file c2s.h.

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

const char* c2s_st::router_cachain

Definition at line 161 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

const char* c2s_st::router_private_key_password

Definition at line 162 of file c2s.h.

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

mio_t c2s_st::mio
xht c2s_st::sessions
sx_env_t c2s_st::sx_env

sx environment

Definition at line 171 of file c2s.h.

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

sx_plugin_t c2s_st::sx_ssl

Definition at line 172 of file c2s.h.

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

sx_plugin_t c2s_st::sx_sasl

Definition at line 173 of file c2s.h.

Referenced by c2s_router_sx_callback(), and JABBER_MAIN().

sx_t c2s_st::router
mio_fd_t c2s_st::fd

Definition at line 177 of file c2s.h.

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

mio_fd_t c2s_st::server_fd

listening sockets

Definition at line 180 of file c2s.h.

Referenced by c2s_router_sx_callback().

config_t c2s_st::config
log_t c2s_st::log
log_type_t c2s_st::log_type

log data

Definition at line 192 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

const char* c2s_st::log_facility

Definition at line 193 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

const char* c2s_st::log_ident

Definition at line 194 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

long long int c2s_st::packet_count

packet counter

Definition at line 197 of file c2s.h.

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

const char* c2s_st::packet_stats

Definition at line 198 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::retry_init

connect retry

Definition at line 201 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::retry_lost

Definition at line 202 of file c2s.h.

Referenced by _c2s_config_expand(), and c2s_router_sx_callback().

int c2s_st::retry_sleep

Definition at line 203 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::retry_left

Definition at line 204 of file c2s.h.

Referenced by c2s_router_sx_callback(), and JABBER_MAIN().

const char* c2s_st::local_ip

ip to listen on

Definition at line 207 of file c2s.h.

Referenced by _c2s_config_expand(), and c2s_router_sx_callback().

int c2s_st::local_port

unencrypted port

Definition at line 210 of file c2s.h.

Referenced by _c2s_config_expand(), and c2s_router_sx_callback().

int c2s_st::local_ssl_port

encrypted port

Definition at line 213 of file c2s.h.

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

const char* c2s_st::local_pemfile

encrypted port pemfile

Definition at line 216 of file c2s.h.

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

const char* c2s_st::local_cachain

encrypted port cachain file

Definition at line 219 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

const char* c2s_st::local_private_key_password

private key password

Definition at line 222 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::local_verify_mode

verify-mode

Definition at line 225 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

const char* c2s_st::http_forward

http forwarding URL

Definition at line 228 of file c2s.h.

Referenced by _c2s_client_sx_callback(), and _c2s_config_expand().

const char* c2s_st::pbx_pipe

PBX integration named pipe.

Definition at line 231 of file c2s.h.

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

int c2s_st::pbx_pipe_fd

Definition at line 232 of file c2s.h.

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

mio_fd_t c2s_st::pbx_pipe_mio_fd
xht c2s_st::stream_redirects

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

Definition at line 236 of file c2s.h.

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

int c2s_st::io_max_fds

max file descriptors

Definition at line 239 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::compression

enable Stream Compression

Definition at line 242 of file c2s.h.

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

int c2s_st::io_check_interval

time checks

Definition at line 245 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

int c2s_st::io_check_idle

Definition at line 246 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_time_checks().

int c2s_st::io_check_keepalive

Definition at line 247 of file c2s.h.

Referenced by _c2s_config_expand(), and _c2s_time_checks().

time_t c2s_st::next_check

Definition at line 249 of file c2s.h.

Referenced by JABBER_MAIN().

const char* c2s_st::ar_module_name

auth/reg module

Definition at line 252 of file c2s.h.

Referenced by _c2s_config_expand(), and JABBER_MAIN().

authreg_t c2s_st::ar
int c2s_st::ar_mechanisms

allowed mechanisms

Definition at line 256 of file c2s.h.

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

int c2s_st::ar_ssl_mechanisms

Definition at line 257 of file c2s.h.

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

int c2s_st::conn_rate_total

connection rates

Definition at line 260 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

int c2s_st::conn_rate_seconds

Definition at line 261 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

int c2s_st::conn_rate_wait

Definition at line 262 of file c2s.h.

Referenced by _c2s_client_accept_check(), and _c2s_config_expand().

xht c2s_st::conn_rates

Definition at line 264 of file c2s.h.

Referenced by _c2s_client_accept_check(), and JABBER_MAIN().

int c2s_st::byte_rate_total

byte rates (karma)

Definition at line 267 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::byte_rate_seconds

Definition at line 268 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::byte_rate_wait

Definition at line 269 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::stanza_rate_total

stanza rates

Definition at line 272 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::stanza_rate_seconds

Definition at line 273 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::stanza_rate_wait

Definition at line 274 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

int c2s_st::stanza_size_limit

maximum stanza size

Definition at line 277 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().

access_t c2s_st::access

access controls

Definition at line 280 of file c2s.h.

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

jqueue_t c2s_st::dead

list of sx_t on the way out

Definition at line 283 of file c2s.h.

Referenced by _c2s_client_mio_callback(), and JABBER_MAIN().

jqueue_t c2s_st::dead_sess

list of sess on the way out

Definition at line 286 of file c2s.h.

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

int c2s_st::started

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

Definition at line 289 of file c2s.h.

Referenced by c2s_router_sx_callback().

int c2s_st::online

true if we're bound in the router

Definition at line 292 of file c2s.h.

Referenced by c2s_router_mio_callback(), and c2s_router_sx_callback().

xht c2s_st::hosts

hosts mapping

Definition at line 295 of file c2s.h.

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

host_t c2s_st::vhost

Definition at line 296 of file c2s.h.

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

xht c2s_st::sm_avail

availability of sms that we are servicing

Definition at line 299 of file c2s.h.

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


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