#include "dprint.h"#include "mem/mem.h"#include "re.h"#include <string.h>Go to the source code of this file.
Defines | |
| #define | MAX_REPLACE_WITH 100 |
Functions | |
| void | subst_expr_free (struct subst_expr *se) |
| void | replace_lst_free (struct replace_lst *l) |
| subst_expr * | subst_parser (str *subst) |
| int | replace_len (const char *match, int nmatch, regmatch_t *pmatch, struct subst_expr *se, struct sip_msg *msg) |
| int | replace_build (const char *match, int nmatch, regmatch_t *pmatch, struct subst_expr *se, struct sip_msg *msg, str *rpl) |
| 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) |
|
|
Referenced by subst_parser(). |
|
||||||||||||||||||||||||||||
|
Definition at line 323 of file re.c. References replace_with::c, sip_msg::first_line, L_CRIT, L_ERR, _str::len, LOG, subst_expr::n_escapes, sip_msg::new_uri, replace_with::nmatch, replace_with::offset, pkg_malloc, subst_expr::replace, REPLACE_CHAR, replace_len(), REPLACE_NMATCH, REPLACE_URI, subst_expr::replacement, msg_start::request, _str::s, replace_with::size, size, str, msg_start::type, msg_start::u, replace_with::u, and msg_start::uri. Referenced by subst_run(). |
|
||||||||||||||||||||||||
|
Definition at line 277 of file re.c. References sip_msg::first_line, L_CRIT, _str::len, len, LOG, subst_expr::n_escapes, sip_msg::new_uri, replace_with::nmatch, subst_expr::replace, REPLACE_CHAR, REPLACE_NMATCH, REPLACE_URI, subst_expr::replacement, msg_start::request, _str::s, replace_with::size, str, msg_start::type, msg_start::u, replace_with::u, and msg_start::uri. Referenced by replace_build(). |
|
|
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, len, _str::len, LOG, replace_lst::next, replace_lst::offset, pkg_free, pkg_malloc, replace_lst_free(), replace_lst::rpl, _str::s, replace_lst::size, size, str, and subst_run(). Referenced by subst_attr(), subst_uri_f(), and subst_user_f(). |
1.3.9.1