jabberd2
2.2.17
|
feature registration More...
#include "sm.h"
Go to the source code of this file.
Functions | |
void | feature_register (sm_t sm, char *feature) |
register a feature | |
void | feature_unregister (sm_t sm, char *feature) |
unregister feature |
void feature_register | ( | sm_t | sm, |
char * | feature | ||
) |
register a feature
Definition at line 37 of file feature.c.
References sm_st::features, log_debug, pstrdup(), xhash_get(), xhash_pool(), xhash_put(), and ZONE.
Referenced by JABBER_MAIN(), and module_init().
void feature_unregister | ( | sm_t | sm, |
char * | feature | ||
) |
unregister feature
Definition at line 45 of file feature.c.
References sm_st::features, log_debug, xhash_get(), xhash_put(), xhash_zap(), and ZONE.
Referenced by _iq_last_free(), _iq_ping_free(), _iq_private_free(), _iq_time_free(), _iq_vcard_free(), _iq_version_free(), _presence_free(), _privacy_free(), and _vacation_free().