Implement handling of namespace 'vcard-temp' (XEP-0054). More...
#include "jsm.h"Functions | |
| void | mod_vcard (jsmi si) |
Implement handling of namespace 'vcard-temp' (XEP-0054).
This module allows publishing of vcard data, replies queries for the vcard data of a user, responds to queries for the server vcard, and my forward published vcards to a configured Jabber users directory.
| void mod_vcard | ( | jsmi | si | ) |
Init the module, register callbacks in the session manager
Register mod_vcard_session to be called for new established sessions, register mod_vcard_session to be called for stanzas while user is offline, register mod_vcard_server to be called for packets sent to the server address.
| si | the session manager instance internal data |
References e_DELETE, e_DESERIALIZE, e_OFFLINE, e_SERVER, e_SESSION, and js_mapi_register().
1.6.3