base_connect.cc File Reference

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)

Detailed Description

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 Documentation

typedef struct conn_info _conn_info

Enumeration Type Documentation

enum conn_state
Enumerator:
conn_DIE 
conn_CLOSED 
conn_OPEN 
conn_AUTHD 

Function Documentation

void base_connect ( pool  p  ) 

register the connect base handler

Parameters:
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().

Generated on Fri Sep 3 06:00:05 2010 for jabberd14 by  doxygen 1.6.3