connects to another instance using the component protocol More...
#include "jabberd.h"Data Structures | |
| struct | conn_info |
| struct | conn_write_buf |
Typedefs | |
| typedef struct conn_info | _conn_info |
| typedef struct conn_write_buf | _conn_write_buf |
Enumerations | |
| enum | conn_state { conn_DIE, conn_CLOSED, conn_OPEN, conn_AUTHD } |
Functions | |
| void | base_connect (pool p) |
connects to another instance using the component protocol
This base handler implements connecting to another jabberd or other server instance using the component protocol defined in XEP-0114.
| typedef struct conn_info _conn_info |
| typedef struct conn_write_buf _conn_write_buf |
| enum conn_state |
| void base_connect | ( | pool | p | ) |
register the connect base handler
| p | memory pool used to register the handler for the <connect/> configuration element (must be available for the livetime of jabberd) |
References log_debug2, LOGT_INIT, register_config(), and ZONE.
Referenced by base_init().
1.6.1