#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <libxml/parser.h>#include "../../db/db.h"#include "../../sr_module.h"#include "../../data_lump_rpl.h"#include "../../parser/msg_parser.h"#include "../../parser/parse_content.h"#include "../../parser/parse_from.h"#include "../tm/tm_load.h"#include "../pua/pua_bind.h"#include "../pua/pidf.h"#include "purple.h"#include "purplepipe.h"#include "miniclient.h"#include "namespaces.h"

Go to the source code of this file.
| static void destroy | ( | void | ) | [static] |
| static int fixup_subscribe | ( | void ** | param, | |
| int | param_no | |||
| ) | [static] |
| static int func_handle_publish | ( | struct sip_msg * | msg | ) | [static] |
Definition at line 300 of file purple.c.
References to_body::body, sip_msg::content_length, to_body::error, sip_msg::from, get_body(), get_content_length, HDR_FROM_F, HDR_TO_F, _str::len, LM_DBG, LM_ERR, NULL, parse_content_type_hdr(), parse_from_header(), parse_headers(), hdr_field::parsed, PURPLE_BASIC_CLOSED, PURPLE_BASIC_OPEN, purple_send_publish_cmd(), _str::s, sip_msg::to, XMLDocGetNodeByName, and XMLNodeGetNodeByName.
| static int func_handle_subscribe | ( | struct sip_msg * | msg, | |
| char * | uri, | |||
| char * | expires | |||
| ) | [static] |
Definition at line 433 of file purple.c.
References sip_msg::from, HDR_FROM_F, HDR_TO_F, _str::len, LM_DBG, LM_ERR, parse_from_header(), parse_headers(), hdr_field::parsed, purple_send_subscribe_cmd(), pv_printf(), and sip_msg::to.
| static int func_send_message | ( | struct sip_msg * | msg | ) | [static] |
Definition at line 235 of file purple.c.
References sip_msg::content_length, sip_msg::first_line, sip_msg::from, get_body(), get_content_length, HDR_FROM_F, HDR_TO_F, _str::len, LM_DBG, LM_ERR, sip_msg::new_uri, parse_content_type_hdr(), parse_from_header(), parse_headers(), hdr_field::parsed, purple_send_message_cmd(), msg_start::request, _str::s, sip_msg::to, TYPE_TEXT, and msg_start::u.
| static int init | ( | void | ) | [static] |
Definition at line 111 of file purple.c.
References bind_pua(), db_func::close, db_bind_mod(), find_export(), db_func::init, pua_api::is_dialog, _str::len, LM_DBG, LM_ERR, load_tm(), NULL, pipefds, pua_is_dialog, pua_send_publish, pua_send_subscribe, _str::s, pua_api::send_publish, pua_api::send_subscribe, tmb, db_func::use_table, libxml_api::xmlDocGetNodeByName, XMLDocGetNodeByName, libxml_api::xmlNodeGetAttrContentByName, XMLNodeGetAttrContentByName, libxml_api::xmlNodeGetNodeByName, XMLNodeGetNodeByName, libxml_api::xmlNodeGetNodeContentByName, XMLNodeGetNodeContentByName, and ZSW.
Referenced by lrt_do_init_child(), and str2s().
| static void runprocs | ( | int | rank | ) | [static] |
cmd_export_t cmds[] [static] |
| struct module_exports exports |
| str httpProxy_host = {NULL, 0} |
| int httpProxy_port = 3128 |
param_export_t params[] [static] |
| int pipefds[2] = {-1, -1} |
proc_export_t procs[] [static] |
1.5.6