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


Go to the source code of this file.
Data Structures | |
| struct | to_body |
| struct | to_param |
Defines | |
| #define | get_to(p_msg) ((struct to_body*)(p_msg)->to->parsed) |
Enumerations | |
| enum | { TAG_PARAM = 400, GENERAL_PARAM } |
Functions | |
| void | destroy_to (struct to_body *tb) |
| void | free_to (struct to_body *tb) |
| char * | parse_to (char *buffer, char *end, struct to_body *to_b) |
| struct sip_uri * | parse_to_uri (struct sip_msg *msg) |
Definition in file parse_to.h.
| #define get_to | ( | p_msg | ) | ((struct to_body*)(p_msg)->to->parsed) |
casting macro for accessing To body
Definition at line 59 of file parse_to.h.
Referenced by _reply(), append_fixed_vars(), assemble_msg(), build_res_buf_from_sip_req(), check_to(), determine_source(), dlg_bridge_tm_callback(), dlg_matching(), dlg_new_dialog(), dlg_onreply(), dlg_onroute(), ds_hash_touri(), eval_elem(), get_dest_user(), get_realm(), get_source_uri(), get_to_tag(), get_to_uri(), get_uri(), has_totag(), is_preloaded(), ospGetToUserpart(), parse_to_uri(), pre_match_parse(), push_on_network(), relay_reply(), replace_from(), run_address_switch(), run_proxy(), save(), sl_filter_ACK(), sl_send_reply_helper(), t_lookup_request(), t_lookupOriginalT(), unmatched_totag(), update_totag_set(), and w_dlg_manage().
| anonymous enum |
| void destroy_to | ( | struct to_body * | tb | ) |
| void free_to | ( | struct to_body * | tb | ) |
Definition at line 86 of file parse_to.c.
References free_to_params(), and pkg_free.
Referenced by clean_hdr_field().
| char* parse_to | ( | char * | buffer, | |
| char * | end, | |||
| struct to_body * | to_b | |||
| ) |
To header field parser
Definition at line 482 of file parse_to.c.
References to_body::body, to_body::display, DISPLAY_QUOTED, DISPLAY_TOKEN, DISPLAY_TOKEN2, E_DISPLAY_QUOTED, E_PARA_VALUE, E_URI_ENCLOSED, END, to_body::error, F_CR, F_CRLF, F_LF, _str::len, LM_DBG, LM_ERR, MAYBE_URI_END, PARSE_ERROR, PARSE_OK, parse_to_param(), _str::s, S_URI_ENCLOSED, START_TO, to_body::uri, URI_ENCLOSED, URI_OR_TOKEN, and ZSW.
Referenced by bla_handle_notify(), encode_header(), extract_sdialog_info(), get_hdr_field(), m_dump(), m_store(), Notify2Xmpp(), parse_diversion_header(), parse_from_header(), parse_pai_header(), parse_ppi_header(), parse_refer_to_header(), parse_rpid_header(), rls_handle_notify(), rls_handle_subscribe(), subs_cback_func(), and update_contact().
Definition at line 754 of file parse_to.c.
References get_to, sip_uri::host, _str::len, LM_ERR, NULL, OSER_EC_PARSER, OSER_EL_MEDIUM, parse_uri(), hdr_field::parsed, to_body::parsed_uri, _str::s, set_err_info(), set_err_reply(), sip_msg::to, to_body::uri, and sip_uri::user.
Referenced by check_to(), get_realm(), get_uri_user(), and get_username_domain().
1.5.6