jabberd2
2.6.1
|
#include "s2s.h"
Go to the source code of this file.
Macros | |
#define | S2S_DB_NS_DECL " xmlns:db='" uri_DIALBACK "'" |
#define | S2S_DB_NS_DECL_LEN (uri_DIALBACK_L + 12) |
Functions | |
static void | _s2s_db_header (sx_t s, sx_plugin_t p, sx_buf_t buf) |
static void | _s2s_db_features (sx_t s, sx_plugin_t p, nad_t nad) |
sx features callback More... | |
int | s2s_db_init (sx_env_t env, sx_plugin_t p, va_list args) |
#define S2S_DB_NS_DECL " xmlns:db='" uri_DIALBACK "'" |
Definition at line 28 of file db.c.
Referenced by _s2s_db_header().
#define S2S_DB_NS_DECL_LEN (uri_DIALBACK_L + 12) |
Definition at line 29 of file db.c.
Referenced by _s2s_db_header().
|
static |
Definition at line 31 of file db.c.
References _sx_buffer_alloc_margin(), _sx_buf_st::data, _sx_st::flags, _sx_buf_st::len, log_debug, S2S_DB_HEADER, S2S_DB_NS_DECL, S2S_DB_NS_DECL_LEN, and ZONE.
Referenced by s2s_db_init().
|
static |
sx features callback
Definition at line 47 of file db.c.
References nad_add_namespace(), nad_append_elem(), and uri_URN_DIALBACK.
Referenced by s2s_db_init().
int s2s_db_init | ( | sx_env_t | env, |
sx_plugin_t | p, | ||
va_list | args | ||
) |
Definition at line 55 of file db.c.
References _s2s_db_features(), _s2s_db_header(), _sx_plugin_st::features, _sx_plugin_st::header, log_debug, and ZONE.
Referenced by JABBER_MAIN().