|
jabberd2
2.6.1
|
#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 |
| const char * | router_ciphers |
| 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 * | local_ciphers |
| list of TLS ciphers More... | |
| const char * | http_forward |
| http forwarding URL More... | |
| int | websocket |
| websocket support 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 |
| default auth/reg module More... | |
| authreg_t | ar |
| xht | ar_modules |
| loaded auth/reg modules More... | |
| 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... | |
| const char* c2s_st::id |
our id (hostname) with the router
Definition at line 159 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 162 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_router_connect().
| int c2s_st::router_port |
Definition at line 163 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_router_connect().
| const char* c2s_st::router_user |
Definition at line 164 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
| const char* c2s_st::router_pass |
Definition at line 165 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
| const char* c2s_st::router_pemfile |
Definition at line 166 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 167 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::router_private_key_password |
Definition at line 168 of file c2s.h.
Referenced by _c2s_config_expand(), c2s_router_sx_callback(), and JABBER_MAIN().
| const char* c2s_st::router_ciphers |
Definition at line 169 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| mio_t c2s_st::mio |
mio context
Definition at line 172 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(), and c2s_router_sx_callback().
| xht c2s_st::sessions |
sessions
Definition at line 175 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_component_presence(), _c2s_sx_sasl_callback(), _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 178 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_hosts_expand(), and JABBER_MAIN().
| sx_plugin_t c2s_st::sx_ssl |
Definition at line 179 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 180 of file c2s.h.
Referenced by c2s_router_sx_callback(), and JABBER_MAIN().
| sx_t c2s_st::router |
router's conn
Definition at line 183 of file c2s.h.
Referenced by c2s_router_mio_callback(), c2s_router_sx_callback(), sm_create(), sm_delete(), sm_end(), sm_packet(), and sm_start().
| mio_fd_t c2s_st::fd |
Definition at line 184 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_router_connect(), and c2s_router_sx_callback().
| mio_fd_t c2s_st::server_fd |
| config_t c2s_st::config |
config
Definition at line 193 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 196 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 199 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::log_facility |
Definition at line 200 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::log_ident |
Definition at line 201 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| long long int c2s_st::packet_count |
packet counter
Definition at line 204 of file c2s.h.
Referenced by _c2s_client_sx_callback(), and c2s_router_sx_callback().
| const char* c2s_st::packet_stats |
Definition at line 205 of file c2s.h.
Referenced by _c2s_config_expand().
| int c2s_st::retry_init |
| int c2s_st::retry_lost |
Definition at line 209 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
| int c2s_st::retry_sleep |
Definition at line 210 of file c2s.h.
Referenced by _c2s_config_expand().
| int c2s_st::retry_left |
Definition at line 211 of file c2s.h.
Referenced by c2s_router_sx_callback().
| const char* c2s_st::local_ip |
ip to listen on
Definition at line 214 of file c2s.h.
Referenced by _c2s_config_expand(), and c2s_router_sx_callback().
| int c2s_st::local_port |
unencrypted port
Definition at line 217 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 220 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 223 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 226 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 229 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| int c2s_st::local_verify_mode |
verify-mode
Definition at line 232 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::local_ciphers |
list of TLS ciphers
Definition at line 235 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::http_forward |
http forwarding URL
Definition at line 238 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| int c2s_st::websocket |
websocket support
Definition at line 241 of file c2s.h.
Referenced by _c2s_config_expand(), and JABBER_MAIN().
| const char* c2s_st::pbx_pipe |
PBX integration named pipe.
Definition at line 244 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 245 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 246 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 249 of file c2s.h.
Referenced by _c2s_client_sx_callback(), _c2s_config_expand(), and JABBER_MAIN().
| int c2s_st::io_max_fds |
| int c2s_st::compression |
enable Stream Compression
Definition at line 255 of file c2s.h.
Referenced by _c2s_client_mio_callback(), _c2s_config_expand(), and JABBER_MAIN().
| int c2s_st::io_check_interval |
| int c2s_st::io_check_idle |
Definition at line 259 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_time_checks().
| int c2s_st::io_check_keepalive |
Definition at line 260 of file c2s.h.
Referenced by _c2s_config_expand(), and _c2s_time_checks().
| const char* c2s_st::ar_module_name |
default auth/reg module
Definition at line 265 of file c2s.h.
Referenced by _c2s_config_expand(), _c2s_hosts_expand(), and JABBER_MAIN().
| authreg_t c2s_st::ar |
Definition at line 266 of file c2s.h.
Referenced by _c2s_hosts_expand(), and JABBER_MAIN().
| xht c2s_st::ar_modules |
loaded auth/reg modules
Definition at line 269 of file c2s.h.
Referenced by authreg_init(), and JABBER_MAIN().
| int c2s_st::ar_mechanisms |
allowed mechanisms
Definition at line 272 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 273 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 276 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
| int c2s_st::conn_rate_seconds |
Definition at line 277 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
| int c2s_st::conn_rate_wait |
Definition at line 278 of file c2s.h.
Referenced by _c2s_client_accept_check(), and _c2s_config_expand().
| xht c2s_st::conn_rates |
Definition at line 280 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 283 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
| int c2s_st::byte_rate_seconds |
Definition at line 284 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
| int c2s_st::byte_rate_wait |
Definition at line 285 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 288 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
| int c2s_st::stanza_rate_seconds |
Definition at line 289 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
| int c2s_st::stanza_rate_wait |
Definition at line 290 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 293 of file c2s.h.
Referenced by _c2s_client_mio_callback(), and _c2s_config_expand().
| access_t c2s_st::access |
access controls
Definition at line 296 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 299 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 302 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 305 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 308 of file c2s.h.
Referenced by c2s_router_mio_callback(), and c2s_router_sx_callback().
| xht c2s_st::hosts |
hosts mapping
Definition at line 311 of file c2s.h.
Referenced by _bind_features(), _c2s_client_sx_callback(), _c2s_hosts_expand(), and _c2s_sx_sasl_callback().
| host_t c2s_st::vhost |
Definition at line 312 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 315 of file c2s.h.
Referenced by _c2s_client_sx_callback(), and _c2s_component_presence().
1.8.13