#include "../../parser/msg_parser.h"


Go to the source code of this file.
Functions | |
| int | add_uri_param (struct sip_msg *_msg, char *_param, char *_s2) |
| int | has_totag (struct sip_msg *_m, char *_foo, char *_bar) |
| int | is_uri_user_e164 (struct sip_msg *_m, char *_sp, char *_s2) |
| int | is_user (struct sip_msg *_msg, char *_user, char *_str2) |
| int | tel2sip (struct sip_msg *_msg, char *_s1, char *_s2) |
| int | uri_param_1 (struct sip_msg *_msg, char *_param, char *_str2) |
| int | uri_param_2 (struct sip_msg *_msg, char *_param, char *_value) |
| int add_uri_param | ( | struct sip_msg * | _msg, | |
| char * | _param, | |||
| char * | _s2 | |||
| ) |
Definition at line 185 of file siputils/checks.c.
References GET_RURI, sip_uri::headers, sip_uri::host, _str::len, LM_ERR, MAX_URI_SIZE, sip_uri::params, parse_sip_msg_uri(), sip_msg::parsed_uri, sip_uri::passwd, pkg_free, pkg_malloc, sip_uri::port, rewrite_uri(), _str::s, and sip_uri::user.
| int has_totag | ( | struct sip_msg * | _m, | |
| char * | _foo, | |||
| char * | _bar | |||
| ) |
Definition at line 50 of file siputils/checks.c.
References get_to, HDR_TO_F, _str::len, LM_DBG, LM_ERR, parse_headers(), _str::s, and sip_msg::to.
| int is_uri_user_e164 | ( | struct sip_msg * | _m, | |
| char * | _sp, | |||
| char * | _s2 | |||
| ) |
Definition at line 392 of file siputils/checks.c.
References e164_check(), _pv_value::flags, _str::len, LM_DBG, LM_ERR, NULL, parse_uri(), pv_get_spec_value(), PV_VAL_STR, _pv_value::rs, _str::s, and sip_uri::user.
| int is_user | ( | struct sip_msg * | _msg, | |
| char * | _user, | |||
| char * | _str2 | |||
| ) |
Definition at line 75 of file siputils/checks.c.
References sip_msg::authorization, auth_body::digest, get_authorized_cred(), _str::len, LM_DBG, LM_ERR, hdr_field::parsed, sip_msg::proxy_auth, _str::s, s, username::user, and dig_cred::username.
| int tel2sip | ( | struct sip_msg * | _msg, | |
| char * | _s1, | |||
| char * | _s2 | |||
| ) |
Definition at line 297 of file siputils/checks.c.
References GET_RURI, sip_uri::host, _str::len, LM_ERR, NULL, parse_from_uri(), pkg_free, pkg_malloc, rewrite_uri(), and _str::s.
| int uri_param_1 | ( | struct sip_msg * | _msg, | |
| char * | _param, | |||
| char * | _str2 | |||
| ) |
| int uri_param_2 | ( | struct sip_msg * | _msg, | |
| char * | _param, | |||
| char * | _value | |||
| ) |
Definition at line 127 of file siputils/checks.c.
References param::body, CLASS_ANY, free_params(), _str::len, LM_ERR, param::name, param::next, sip_uri::params, params, parse_params(), parse_sip_msg_uri(), sip_msg::parsed_uri, and _str::s.
Referenced by uri_param_1().
1.5.6