#include "../../mem/mem.h"#include "t_lookup.h"#include "t_var.h"

Go to the source code of this file.
Functions | |
| int | pv_get_t_var_req (struct sip_msg *msg, pv_param_t *param, pv_value_t *res) |
| int | pv_get_t_var_rpl (struct sip_msg *msg, pv_param_t *param, pv_value_t *res) |
| int | pv_parse_t_var_name (pv_spec_p sp, str *in) |
| int | pv_t_copy_msg (struct sip_msg *src, struct sip_msg *dst) |
| int | pv_t_update_req (struct sip_msg *msg) |
| int | pv_t_update_rpl (struct sip_msg *msg) |
Variables | |
| static struct cell * | _pv_T_req = NULL |
| static struct cell * | _pv_T_rpl = NULL |
| static struct sip_msg | _pv_treq |
| static char * | _pv_treq_buf = NULL |
| static unsigned int | _pv_treq_id = 0 |
| static struct sip_msg * | _pv_treq_p = NULL |
| static unsigned int | _pv_treq_size = 0 |
| static struct sip_msg | _pv_trpl |
| static char * | _pv_trpl_buf = NULL |
| static unsigned int | _pv_trpl_id = 0 |
| static struct sip_msg * | _pv_trpl_p = NULL |
| static unsigned int | _pv_trpl_size = 0 |
| int pv_get_t_var_req | ( | struct sip_msg * | msg, | |
| pv_param_t * | param, | |||
| pv_value_t * | res | |||
| ) |
$Id$
Copyright (C) 2008 Elena-Ramona Modroiu (asipto.com)
This file is part of kamailio, a free SIP server.
openser is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version
openser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Definition at line 207 of file t_var.c.
References _pv_treq, _pv_name::dname, NULL, pv_alter_context, pv_get_null(), pv_get_spec_value(), pv_t_update_req(), _pv_param::pvn, and _pv_name::u.
| int pv_get_t_var_rpl | ( | struct sip_msg * | msg, | |
| pv_param_t * | param, | |||
| pv_value_t * | res | |||
| ) |
Definition at line 222 of file t_var.c.
References _pv_trpl, _pv_name::dname, NULL, pv_alter_context, pv_get_null(), pv_get_spec_value(), pv_t_update_rpl(), _pv_param::pvn, and _pv_name::u.
Definition at line 237 of file t_var.c.
References _pv_name::dname, _str::len, LM_ERR, NULL, pkg_free, pkg_malloc, PV_NAME_PVAR, pv_parse_spec(), _pv_param::pvn, _pv_spec::pvp, _str::s, _pv_name::type, and _pv_name::u.
Definition at line 41 of file t_var.c.
References sip_msg::buf, sip_msg::flags, sip_msg::force_send_socket, sip_msg::id, sip_msg::len, LM_ERR, parse_msg(), sip_msg::rcv, sip_msg::set_global_address, and sip_msg::set_global_port.
Referenced by pv_t_update_req(), and pv_t_update_rpl().
| int pv_t_update_req | ( | struct sip_msg * | msg | ) |
Definition at line 58 of file t_var.c.
References _pv_treq, _pv_treq_buf, _pv_treq_id, _pv_treq_size, sip_msg::buf, FAKED_REPLY, sip_msg::first_line, free_sip_msg(), get_t(), sip_msg::id, sip_msg::len, LM_ERR, NULL, pkg_free, pkg_malloc, pv_t_copy_msg(), ua_server::request, SIP_REPLY, t_check(), T_UNDEFINED, msg_start::type, and cell::uas.
Referenced by pv_get_t_var_req().
| int pv_t_update_rpl | ( | struct sip_msg * | msg | ) |
Definition at line 134 of file t_var.c.
References _pv_trpl, _pv_trpl_buf, _pv_trpl_id, _pv_trpl_size, sip_msg::buf, FAKED_REPLY, sip_msg::first_line, free_sip_msg(), get_t(), sip_msg::id, sip_msg::len, LM_ERR, NULL, pkg_free, pkg_malloc, pv_t_copy_msg(), ua_client::reply, SIP_REQUEST, t_get_picked_branch(), t_lookup_request(), T_UNDEFINED, msg_start::type, and cell::uac.
Referenced by pv_get_t_var_rpl().
$Id$
Copyright (C) 2008 Elena-Ramona Modroiu (asipto.com)
This file is part of kamailio, a free SIP server.
openser is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version
openser is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
char* _pv_treq_buf = NULL [static] |
unsigned int _pv_treq_id = 0 [static] |
struct sip_msg* _pv_treq_p = NULL [static] |
unsigned int _pv_treq_size = 0 [static] |
char* _pv_trpl_buf = NULL [static] |
unsigned int _pv_trpl_id = 0 [static] |
struct sip_msg* _pv_trpl_p = NULL [static] |
unsigned int _pv_trpl_size = 0 [static] |
1.5.6