cpl_proxy.h File Reference

#include "../tm/h_table.h"
#include "../../parser/contact/parse_contact.h"

Include dependency graph for cpl_proxy.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define duplicate_str(_orig_, _new_)
#define search_and_duplicate_hdr(_intr_, _field_, _name_, _sfoo_)

Functions

static int add_contacts_to_loc_set (struct sip_msg *msg, struct location **loc_set)
static int parse_q (str *q, unsigned int *prio)
static void reply_callback (struct cell *t, int type, struct tmcb_params *ps)
static char * run_proxy (struct cpl_interpreter *intr)


Define Documentation

#define duplicate_str ( _orig_,
_new_   ) 

Definition at line 33 of file cpl_proxy.h.

#define search_and_duplicate_hdr ( _intr_,
_field_,
_name_,
_sfoo_   ) 

Definition at line 42 of file cpl_proxy.h.

Referenced by run_proxy().


Function Documentation

static int add_contacts_to_loc_set ( struct sip_msg msg,
struct location **  loc_set 
) [inline, static]

static int parse_q ( str q,
unsigned int *  prio 
) [inline, static]

Definition at line 67 of file cpl_proxy.h.

References _str::len, LM_ERR, and _str::s.

Referenced by add_contacts_to_loc_set().

static void reply_callback ( struct cell t,
int  type,
struct tmcb_params ps 
) [static]

static char* run_proxy ( struct cpl_interpreter intr  )  [inline, static]

Definition at line 298 of file cpl_proxy.h.

References cpl_interpreter::accept_language, add_avp(), ATTR_PTR, cpl_interpreter::proxy_st::busy, BUSY_NODE, check_overflow_by_ptr, CPL_ACCEPTLANG_DUPLICATED, cpl_env, cpl_fct, CPL_FROM_DUPLICATED, CPL_IS_STATEFUL, CPL_ORGANIZATION_DUPLICATED, CPL_PRIORITY_DUPLICATED, CPL_PROXY_DONE, cpl_proxy_to_loc_set(), CPL_RUNTIME_ERROR, CPL_RURI_DUPLICATED, CPL_SCRIPT_ERROR, CPL_SUBJECT_DUPLICATED, CPL_TO_CONTINUE, CPL_TO_DUPLICATED, CPL_USERAGENT_DUPLICATED, cpl_interpreter::proxy_st::default_, DEFAULT_ACTION, DEFAULT_NODE, duplicate_str, EO_SCRIPT, cpl_interpreter::proxy_st::failure, FAILURE_NODE, FIRSTONLY_VAL, cpl_interpreter::flags, cpl_interpreter::from, get_basic_attr, get_first_child, get_from, GET_RURI, get_to, HDR_ACCEPTLANGUAGE_F, HDR_ORGANIZATION_F, HDR_PRIORITY_F, HDR_SUBJECT_F, HDR_TO_F, HDR_USERAGENT_F, cpl_interpreter::ip, KID_OFFSET, cpl_interpreter::proxy_st::last_to_proxy, LM_DBG, LM_ERR, cpl_interpreter::loc_set, cpl_interpreter::msg, int_str::n, location::next, NO_VAL, cpl_interpreter::proxy_st::noanswer, NOANSWER_NODE, NODE_TYPE, NR_OF_ATTR, NR_OF_KIDS, cpl_interpreter::proxy_st::ordering, ORDERING_ATTR, cpl_interpreter::organization, PARALLEL_VAL, parse_from_header(), parse_headers(), priority, cpl_interpreter::priority, cpl_interpreter::proxy, cpl_enviroment::proxy_recurse, cpl_interpreter::proxy_st::recurse, RECURSE_ATTR, cpl_interpreter::proxy_st::redirect, REDIRECTION_NODE, tm_binds::register_tmcb, remove_first_location(), reply_callback(), cpl_interpreter::ruri, _str::s, int_str::s, s, search_and_duplicate_hdr, SEQUENTIAL_VAL, SIMPLE_NODE_SIZE, STR_NOT_FOUND, cpl_interpreter::subject, tm_binds::t_newtran, TIMEOUT_ATTR, cpl_enviroment::timer_avp, cpl_enviroment::timer_avp_type, cpl_functions::tmb, TMCB_ON_FAILURE, TMCB_RESPONSE_OUT, sip_msg::to, cpl_interpreter::to, cpl_interpreter::user_agent, and YES_VAL.

Referenced by cpl_run_script().


Generated on Mon May 21 18:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6