|
jabberd2
2.2.16
|
#include "s2s.h"Go to the source code of this file.
Defines | |
| #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 | |
| 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 void _s2s_db_header | ( | sx_t | s, |
| sx_plugin_t | p, | ||
| sx_buf_t | buf | ||
| ) | [static] |
Definition at line 31 of file db.c.
References _sx_st::flags, S2S_DB_HEADER, log_debug, ZONE, _sx_buffer_alloc_margin(), S2S_DB_NS_DECL_LEN, _sx_buf_st::data, _sx_buf_st::len, and S2S_DB_NS_DECL.
Referenced by s2s_db_init().
| static void _s2s_db_features | ( | sx_t | s, |
| sx_plugin_t | p, | ||
| nad_t | nad | ||
| ) | [static] |
sx features callback
Definition at line 47 of file db.c.
References nad_add_namespace(), uri_URN_DIALBACK, and nad_append_elem().
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 log_debug, ZONE, _sx_plugin_st::header, _s2s_db_header(), _sx_plugin_st::features, and _s2s_db_features().
Referenced by JABBER_MAIN().
1.7.5