#include "str.h"#include "parser/msg_parser.h"#include <sys/types.h>#include <regex.h>Go to the source code of this file.
Data Structures | |
| struct | replace_with |
| struct | subst_expr |
| struct | replace_lst |
Enumerations | |
| enum | replace_special { REPLACE_NMATCH, REPLACE_CHAR, REPLACE_URI } |
Functions | |
| void | subst_expr_free (struct subst_expr *se) |
| void | replace_lst_free (struct replace_lst *l) |
| subst_expr * | subst_parser (str *subst) |
| replace_lst * | subst_run (struct subst_expr *se, const char *input, struct sip_msg *msg, int *count) |
| str * | subst_str (const char *input, struct sip_msg *msg, struct subst_expr *se, int *count) |
|
|
|
|
|
Definition at line 55 of file re.c. References replace_lst::next, pkg_free, replace_lst::rpl, and _str::s. Referenced by subst_f(), subst_run(), and subst_str(). |
|
|
Definition at line 45 of file re.c. References pkg_free, subst_expr::re, subst_expr::replacement, and _str::s. Referenced by subst_parser(). |
|
|
Definition at line 70 of file re.c. References replace_with::c, DBG, L_ERR, L_WARN, _str::len, LOG, MAX_REPLACE_WITH, replace_with::nmatch, replace_with::offset, pkg_free, pkg_malloc, subst_expr::replacement, _str::s, replace_with::size, str, subst_expr_free(), and replace_with::u. Referenced by fix_param(), and fixup_substre(). |
|
||||||||||||||||||||
|
Definition at line 399 of file re.c. References DBG, L_ERR, LOG, subst_expr::max_pmatch, replace_lst::offset, pkg_free, pkg_malloc, subst_expr::re, subst_expr::replace_all, replace_build(), replace_lst_free(), and replace_lst::size. Referenced by subst_f(), and subst_str(). |
|
||||||||||||||||||||
|
Definition at line 474 of file re.c. References DBG, L_ERR, _str::len, len, LOG, replace_lst::next, replace_lst::offset, pkg_free, pkg_malloc, replace_lst_free(), replace_lst::rpl, _str::s, size, replace_lst::size, str, and subst_run(). Referenced by subst_attr(), subst_uri_f(), and subst_user_f(). |
1.3.9.1