jabberd2
2.2.16
|
#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_router_sx_callback(), _c2s_config_expand(), _sm_build_route(), 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().
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_router_sx_callback(), and _c2s_config_expand().
char* c2s_st::router_pass |
Definition at line 149 of file c2s.h.
Referenced by c2s_router_sx_callback(), and _c2s_config_expand().
char* c2s_st::router_pemfile |
Definition at line 150 of file c2s.h.
Referenced by c2s_router_sx_callback(), _c2s_config_expand(), and JABBER_MAIN().
mio context
Definition at line 153 of file c2s.h.
Referenced by _c2s_client_sx_callback(), c2s_router_sx_callback(), _c2s_router_connect(), _pbx_close_pipe(), _pbx_open_pipe(), _pbx_read_pipe(), and _pbx_write_pipe().
sessions
Definition at line 156 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_component_presence(), c2s_router_sx_callback(), _c2s_time_checks(), JABBER_MAIN(), and _pbx_process_command().
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().
config
Definition at line 174 of file c2s.h.
Referenced by authreg_init(), _c2s_pidfile(), _c2s_config_expand(), _c2s_hosts_expand(), _c2s_sx_sasl_callback(), and JABBER_MAIN().
logging
Definition at line 177 of file c2s.h.
Referenced by authreg_init(), _authreg_auth_log(), _authreg_auth_set(), _authreg_register_set(), _c2s_client_sx_callback(), _c2s_client_accept_check(), _c2s_client_mio_callback(), c2s_router_sx_callback(), c2s_router_mio_callback(), _c2s_pidfile(), _c2s_config_expand(), _c2s_hosts_expand(), _c2s_router_connect(), _c2s_sx_sasl_callback(), _c2s_time_checks(), JABBER_MAIN(), _pbx_open_pipe(), c2s_pbx_init(), and _pbx_process_command().
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(), and c2s_router_sx_callback().
char* c2s_st::packet_stats |
Definition at line 186 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().
char* c2s_st::local_ip |
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().
char* c2s_st::local_pemfile |
encrypted port pemfile
Definition at line 204 of file c2s.h.
Referenced by c2s_router_sx_callback(), _c2s_config_expand(), 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().
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_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().
Definition at line 218 of file c2s.h.
Referenced by _pbx_mio_callback(), _pbx_close_pipe(), _pbx_open_pipe(), _pbx_read_pipe(), and _pbx_write_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().
enable Stream Compression
Definition at line 227 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_config_expand(), and JABBER_MAIN().
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().
time_t c2s_st::next_check |
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().
Definition at line 238 of file c2s.h.
Referenced by _authreg_auth_get(), _authreg_auth_set(), _authreg_register_get(), _authreg_register_set(), c2s_router_sx_callback(), _c2s_sx_sasl_callback(), 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().
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_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().