jabberd2
2.2.17
|
#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 |
char* c2s_st::id |
our id (hostname) with the router
Definition at line 143 of file c2s.h.
Referenced by _c2s_config_expand(), _sm_build_route(), c2s_router_sx_callback(), and sm_packet().
char* c2s_st::router_ip |
how to connect to the router
Definition at line 146 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_router_connect().
int c2s_st::router_port |
Definition at line 147 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_router_connect().
char* c2s_st::router_user |
Definition at line 148 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
char* c2s_st::router_pass |
Definition at line 149 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
char* c2s_st::router_pemfile |
Definition at line 150 of file c2s.h.
Referenced by _c2s_config_expand(), c2s_router_sx_callback(), and JABBER_MAIN().
mio_t c2s_st::mio |
mio context
Definition at line 153 of file c2s.h.
Referenced by _c2s_client_sx_callback(), _c2s_router_connect(), _pbx_close_pipe(), _pbx_open_pipe(), _pbx_read_pipe(), _pbx_write_pipe(), c2s_router_sx_callback(), and JABBER_MAIN().
xht c2s_st::sessions |
sessions
Definition at line 156 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_component_presence(), _c2s_time_checks(), _pbx_process_command(), c2s_router_sx_callback(), and JABBER_MAIN().
sx_env_t c2s_st::sx_env |
sx environment
Definition at line 159 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 160 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 161 of file c2s.h.
Referenced by c2s_router_sx_callback(), and JABBER_MAIN().
sx_t c2s_st::router |
router's conn
Definition at line 164 of file c2s.h.
Referenced by _c2s_router_connect(), c2s_router_mio_callback(), c2s_router_sx_callback(), JABBER_MAIN(), sm_create(), sm_delete(), sm_end(), sm_packet(), and sm_start().
mio_fd_t c2s_st::fd |
Definition at line 165 of file c2s.h.
Referenced by _c2s_router_connect(), c2s_router_sx_callback(), and JABBER_MAIN().
mio_fd_t c2s_st::server_fd |
config_t c2s_st::config |
config
Definition at line 174 of file c2s.h.
Referenced by _c2s_config_expand(), _c2s_hosts_expand(), _c2s_pidfile(), _c2s_sx_sasl_callback(), authreg_init(), and JABBER_MAIN().
log_t c2s_st::log |
logging
Definition at line 177 of file c2s.h.
Referenced by _authreg_auth_log(), _authreg_auth_set(), _authreg_register_set(), _c2s_client_accept_check(), _c2s_client_mio_callback(), _c2s_client_sx_callback(), _c2s_config_expand(), _c2s_hosts_expand(), _c2s_pidfile(), _c2s_router_connect(), _c2s_sx_sasl_callback(), _c2s_time_checks(), _pbx_open_pipe(), _pbx_process_command(), authreg_init(), c2s_pbx_init(), c2s_router_mio_callback(), c2s_router_sx_callback(), and JABBER_MAIN().
log_type_t c2s_st::log_type |
log data
Definition at line 180 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
char* c2s_st::log_facility |
Definition at line 181 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
char* c2s_st::log_ident |
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(), c2s_router_sx_callback(), and JABBER_MAIN().
char* c2s_st::packet_stats |
Definition at line 186 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::retry_init |
connect retry
Definition at line 189 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::retry_lost |
Definition at line 190 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
int c2s_st::retry_sleep |
Definition at line 191 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::retry_left |
Definition at line 192 of file c2s.h.
Referenced by c2s_router_sx_callback(), and JABBER_MAIN().
char* c2s_st::local_ip |
ip to listen on
Definition at line 195 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
int c2s_st::local_port |
unencrypted port
Definition at line 198 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 201 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_config_expand(), and c2s_router_sx_callback().
char* c2s_st::local_pemfile |
encrypted port pemfile
Definition at line 204 of file c2s.h.
Referenced by _c2s_config_expand(), c2s_router_sx_callback(), and JABBER_MAIN().
char* c2s_st::local_cachain |
encrypted port cachain file
Definition at line 207 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::local_verify_mode |
verify-mode
Definition at line 210 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
char* c2s_st::http_forward |
http forwarding URL
Definition at line 213 of file c2s.h.
Referenced by _c2s_client_sx_callback(), and _c2s_config_expand().
char* c2s_st::pbx_pipe |
PBX integration named pipe.
Definition at line 216 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 217 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 |
Definition at line 218 of file c2s.h.
Referenced by _pbx_close_pipe(), _pbx_mio_callback(), _pbx_open_pipe(), _pbx_read_pipe(), and _pbx_write_pipe().
xht c2s_st::stream_redirects |
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().
int c2s_st::io_max_fds |
max file descriptors
Definition at line 224 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::compression |
enable Stream Compression
Definition at line 227 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 230 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
int c2s_st::io_check_idle |
Definition at line 231 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_time_checks().
int c2s_st::io_check_keepalive |
Definition at line 232 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_time_checks().
time_t c2s_st::next_check |
Definition at line 234 of file c2s.h.
Referenced by JABBER_MAIN().
char* c2s_st::ar_module_name |
auth/reg module
Definition at line 237 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
authreg_t c2s_st::ar |
Definition at line 238 of file c2s.h.
Referenced by _authreg_auth_get(), _authreg_auth_set(), _authreg_register_get(), _authreg_register_set(), _c2s_sx_sasl_callback(), c2s_router_sx_callback(), and JABBER_MAIN().
int c2s_st::ar_mechanisms |
allowed mechanisms
Definition at line 241 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 242 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 245 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
int c2s_st::conn_rate_seconds |
Definition at line 246 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
int c2s_st::conn_rate_wait |
Definition at line 247 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
xht c2s_st::conn_rates |
Definition at line 249 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 252 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
int c2s_st::byte_rate_seconds |
Definition at line 253 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
int c2s_st::byte_rate_wait |
Definition at line 254 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 257 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
int c2s_st::stanza_rate_seconds |
Definition at line 258 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
int c2s_st::stanza_rate_wait |
Definition at line 259 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 262 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
access_t c2s_st::access |
access controls
Definition at line 265 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 268 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 271 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 274 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 277 of file c2s.h.
Referenced by c2s_router_mio_callback(), and c2s_router_sx_callback().
xht c2s_st::hosts |
hosts mapping
Definition at line 280 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 281 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 284 of file c2s.h.
Referenced by _c2s_client_sx_callback(), _c2s_component_presence(), and JABBER_MAIN().