jabberd2
2.2.16
|
xmpp resource binding More...
#include "c2s.h"
Go to the source code of this file.
Functions | |
static void | _bind_features (sx_t s, sx_plugin_t p, nad_t nad) |
sx features callback | |
int | bind_init (sx_env_t env, sx_plugin_t p, va_list args) |
plugin initialiser |
static void _bind_features | ( | sx_t | s, |
sx_plugin_t | p, | ||
nad_t | nad | ||
) | [static] |
sx features callback
Definition at line 31 of file bind.c.
References _sx_st::auth_id, log_debug, ZONE, nad_add_namespace(), uri_IQAUTH, nad_append_elem(), _sx_plugin_st::private, xhash_get(), c2s_st::hosts, _sx_st::req_to, c2s_st::vhost, host_st::ar_register_enable, uri_IQREGISTER, uri_BIND, nad_st::scope, uri_XSESSION, and uri_ROSTERVER.
Referenced by bind_init().
int bind_init | ( | sx_env_t | env, |
sx_plugin_t | p, | ||
va_list | args | ||
) |
plugin initialiser
args: c2s
Definition at line 69 of file bind.c.
References log_debug, ZONE, _sx_plugin_st::features, _bind_features(), and _sx_plugin_st::private.
Referenced by JABBER_MAIN().