#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libxml/parser.h>
#include <time.h>
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../str.h"
#include "../../pt.h"
#include "../../mem/mem.h"
#include "../../mem/shm_mem.h"
#include "../../parser/parse_expires.h"
#include "../../parser/msg_parser.h"
#include "../tm/tm_load.h"
#include "../xmpp/xmpp_api.h"
#include "../pua/pua_bind.h"
#include "pua_xmpp.h"
#include "xmpp2simple.h"
#include "simple2xmpp.h"
#include "request_winfo.h"

Go to the source code of this file.
Functions | |
| static int | child_init (int) |
| static int | fixup_pua_xmpp (void **param, int param_no) |
| static int | mod_init (void) |
| init module function | |
Variables | |
| static cmd_export_t | cmds [] |
| xmpp_translate_uri_f | duri_sip_xmpp |
| xmpp_translate_uri_f | duri_xmpp_sip |
| xmpp_translate_uri_f | euri_sip_xmpp |
| xmpp_translate_uri_f | euri_xmpp_sip |
| struct module_exports | exports |
| module exports | |
| static param_export_t | params [] |
| pua_api_t | pua |
| query_dialog_t | pua_is_dialog |
| send_publish_t | pua_send_publish |
| send_subscribe_t | pua_send_subscribe |
| str | server_address = {0, 0} |
| MODULE_VERSION struct tm_binds | tmb |
| xmlDocGetNodeByName_t | XMLDocGetNodeByName |
| xmlNodeGetAttrContentByName_t | XMLNodeGetAttrContentByName |
| xmlNodeGetNodeByName_t | XMLNodeGetNodeByName |
| xmlNodeGetNodeContentByName_t | XMLNodeGetNodeContentByName |
| xmpp_api_t | xmpp_api |
| xmpp_send_xnotify_f | xmpp_notify |
| xmpp_send_xpacket_f | xmpp_packet |
| xmpp_send_xsubscribe_f | xmpp_subscribe |
Definition in file pua_xmpp.c.
| static int child_init | ( | int | rank | ) | [static] |
| static int fixup_pua_xmpp | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
Definition at line 302 of file pua_xmpp.c.
References E_UNSPEC, _str::len, LM_ERR, pv_parse_format(), _str::s, and s.
| static int mod_init | ( | void | ) | [static] |
init module function
module functions
Definition at line 122 of file pua_xmpp.c.
References bind_pua(), bind_xmpp(), xmpp_api_::decode_uri_sip_xmpp, xmpp_api_::decode_uri_xmpp_sip, duri_sip_xmpp, duri_xmpp_sip, xmpp_api_::encode_uri_sip_xmpp, xmpp_api_::encode_uri_xmpp_sip, euri_sip_xmpp, euri_xmpp_sip, find_export(), pua_api::is_dialog, _str::len, LM_ERR, load_tm(), NULL, pres_Xmpp2Sip(), pua_is_dialog, pua_send_publish, pua_send_subscribe, xmpp_api_::register_callback, pua_api::register_puacb, _str::s, pua_api::send_publish, pua_api::send_subscribe, Sipreply2Xmpp(), tmb, libxml_api::xmlDocGetNodeByName, XMLDocGetNodeByName, libxml_api::xmlNodeGetAttrContentByName, XMLNodeGetAttrContentByName, libxml_api::xmlNodeGetNodeByName, XMLNodeGetNodeByName, libxml_api::xmlNodeGetNodeContentByName, XMLNodeGetNodeContentByName, XMPP_INITIAL_SUBS, xmpp_notify, xmpp_packet, XMPP_RCV_PRESENCE, xmpp_subscribe, xmpp_api_::xnotify, xmpp_api_::xpacket, and xmpp_api_::xsubscribe.
cmd_export_t cmds[] [static] |
Definition at line 91 of file pua_xmpp.c.
Definition at line 71 of file pua_xmpp.c.
Referenced by mod_init(), Notify2Xmpp(), and Sipreply2Xmpp().
Definition at line 72 of file pua_xmpp.c.
Referenced by mod_init(), Notify2Xmpp(), Sipreply2Xmpp(), and winfo2xmpp().
Definition at line 74 of file pua_xmpp.c.
Referenced by build_publish(), mod_init(), and presence_subscribe().
| struct module_exports exports |
param_export_t params[] [static] |
Initial value:
{
{"server_address", STR_PARAM, &server_address },
{0, 0, 0 }
}
Definition at line 98 of file pua_xmpp.c.
Definition at line 61 of file pua_xmpp.c.
Definition at line 64 of file pua_xmpp.c.
Definition at line 62 of file pua_xmpp.c.
Definition at line 63 of file pua_xmpp.c.
| str server_address = {0, 0} |
Definition at line 82 of file pua_xmpp.c.
TM bind
Definition at line 58 of file pua_xmpp.c.
libxml api
Definition at line 78 of file pua_xmpp.c.
Referenced by build_xmpp_content(), func_handle_publish(), init(), mod_init(), pres_Xmpp2Sip(), rls_handle_subscribe(), and winfo2xmpp().
Definition at line 77 of file pua_xmpp.c.
Referenced by build_pidf(), build_publish(), build_xmpp_content(), init(), mod_init(), pres_Xmpp2Sip(), presence_subscribe(), and process_list_and_exec().
Definition at line 79 of file pua_xmpp.c.
Referenced by build_xmpp_content(), func_handle_publish(), init(), mod_init(), and winfo2xmpp().
Definition at line 67 of file pua_xmpp.c.
1.5.6