#include <stdio.h>#include <string.h>#include <sys/types.h>#include <unistd.h>#include "../../mem/mem.h"#include "../../dprint.h"#include "../../trim.h"#include "../../re.h"#include "txt_var.h"

Go to the source code of this file.
Defines | |
| #define | is_in_str(p, in) (p<in->s+in->len && *p) |
| #define | TR_TXT_BUF_SIZE 2048 |
Functions | |
| int | tr_txt_eval_re (struct sip_msg *msg, tr_param_t *tp, int subtype, pv_value_t *val) |
| char * | tr_txt_parse_re (str *in, trans_t *t) |
$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
| #define TR_TXT_BUF_SIZE 2048 |
Referenced by tr_txt_eval_re().
| int tr_txt_eval_re | ( | struct sip_msg * | msg, | |
| tr_param_t * | tp, | |||
| int | subtype, | |||
| pv_value_t * | val | |||
| ) |
Definition at line 37 of file txt_var.c.
References _tr_param::data, _pv_value::flags, _str::len, LM_ERR, NULL, pkg_free, PV_VAL_STR, _pv_value::rs, _str::s, subst_str(), TR_TXT_BUF_SIZE, TR_TXT_RE_SUBST, and _tr_param::v.
Referenced by tr_txt_parse_re().
Definition at line 94 of file txt_var.c.
References _tr_param::data, is_in_str, _str::len, LM_ERR, _trans::name, NULL, _trans::params, pkg_free, pkg_malloc, _str::s, subst_expr_free(), subst_parser(), _trans::subtype, TR_LBRACKET, TR_PARAM_MARKER, TR_PARAM_SUBST, TR_RBRACKET, tr_txt_eval_re(), TR_TXT_RE, TR_TXT_RE_SUBST, _trans::trf, trim(), _tr_param::type, _trans::type, and _tr_param::v.
1.5.6