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


Go to the source code of this file.
Functions | |
| int | append_rpid_hf (struct sip_msg *_m, char *_s1, char *_s2) |
| Append RPID header field to the message. | |
| int | append_rpid_hf_p (struct sip_msg *_m, char *_prefix, char *_suffix) |
| Append RPID header field to the message with parameters. | |
| void | get_rpid_avp (int_str *rpid_avp_p, int *rpid_avp_type_p) |
| Gets the RPID avp specs. | |
| int | init_rpid_avp (char *rpid_avp_param) |
| Parse and set the RPID AVP specs. | |
| int | is_rpid_user_e164 (struct sip_msg *_m, char *_s1, char *_s2) |
| Check if URI in RPID AVP contains an E164 user part. | |
Definition in file rpid.h.
| int append_rpid_hf | ( | struct sip_msg * | _m, | |
| char * | _s1, | |||
| char * | _s2 | |||
| ) |
Append RPID header field to the message.
| _m | SIP message | |
| _s1 | unused | |
| _s2 | unused |
Definition at line 164 of file rpid.c.
References append_rpid_helper(), AVP_VAL_STR, CRLF, CRLF_LEN, usr_avp::flags, _str::len, LM_DBG, LM_ERR, int_str::n, pkg_free, pkg_malloc, rpid_avp_type, RPID_HF_NAME, RPID_HF_NAME_LEN, rpid_prefix, rpid_suffix, _str::s, int_str::s, and search_first_avp().
| int append_rpid_hf_p | ( | struct sip_msg * | _m, | |
| char * | _prefix, | |||
| char * | _suffix | |||
| ) |
Append RPID header field to the message with parameters.
| _m | SIP message | |
| _prefix | prefix | |
| _suffix | suffix |
Definition at line 227 of file rpid.c.
References append_rpid_helper(), AVP_VAL_STR, CRLF, CRLF_LEN, usr_avp::flags, _str::len, LM_DBG, LM_ERR, int_str::n, pkg_free, pkg_malloc, rpid_avp_type, RPID_HF_NAME, RPID_HF_NAME_LEN, _str::s, int_str::s, s, and search_first_avp().
| void get_rpid_avp | ( | int_str * | rpid_avp_p, | |
| int * | rpid_avp_type_p | |||
| ) |
Gets the RPID avp specs.
| rpid_avp_p | AVP name | |
| rpid_avp_type_p | AVP type |
Definition at line 96 of file rpid.c.
References rpid_avp_type.
Referenced by bind_auth().
| int init_rpid_avp | ( | char * | rpid_avp_param | ) |
Parse and set the RPID AVP specs.
| rpid_avp_param | RPID AVP parameter |
Definition at line 64 of file rpid.c.
References _str::len, LM_ERR, int_str::n, pv_get_avp_name(), pv_parse_spec(), _pv_spec::pvp, PVT_AVP, rpid_avp_type, _str::s, and _pv_spec::type.
Referenced by mod_init().
| int is_rpid_user_e164 | ( | struct sip_msg * | _m, | |
| char * | _s1, | |||
| char * | _s2 | |||
| ) |
Check if URI in RPID AVP contains an E164 user part.
| _m | SIP message | |
| _s1 | unused | |
| _s2 | unused |
Definition at line 293 of file rpid.c.
References AVP_VAL_STR, find_not_quoted(), usr_avp::flags, is_e164(), _str::len, LM_DBG, LM_ERR, int_str::n, parse_nameaddr(), parse_uri(), rpid_avp_type, _str::s, search_first_avp(), name_addr::uri, and sip_uri::user.
1.5.6