|
jabberd14 1.6.2
|
implements dynamic adding and removing of hosts from the JSM instance More...
#include "jsm.h"Functions | |
| void | mod_dynamic (jsmi si) |
implements dynamic adding and removing of hosts from the JSM instance
With this module an administrator can dynamically add or remove hosts from the session manager without the need to restart the instance. But the chances made by this module are not presistant. To get them persistant, you have to add them as well to the configuration file, so the new hosts get (not) configured after a restart. (At least for now.)
| void mod_dynamic | ( | jsmi | si | ) |
init the module, register callbacks
| si | the session manager instance |
References e_SERVER, jsmi_struct::i, instance_struct::id, j_strcmp(), jid_new(), js_mapi_register(), log_notice(), NS_JABBERD_CONFIG_DYNAMICHOST, NTYPE_TAG, jsmi_struct::p, register_instance(), jsmi_struct::xc, xdb_get(), xmlnode_free(), xmlnode_get_attrib_ns(), xmlnode_get_firstchild(), xmlnode_get_localname(), xmlnode_get_namespace(), xmlnode_get_nextsibling(), xmlnode_get_type(), and xmlnode_serialize_string().
1.7.4