/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_parse_generic.h | 39 extern int sip_atoi(_sip_header_t *, int *); 40 extern int sip_find_token(_sip_header_t *, char); 41 extern int sip_find_cr(_sip_header_t *); 42 extern int sip_find_separator(_sip_header_t *, char, char, char, 44 extern int sip_find_white_space(_sip_header_t *); 45 extern int sip_skip_white_space(_sip_header_t *); 46 extern int sip_reverse_skip_white_space(_sip_header_t *); 47 extern int sip_parse_goto_values(_sip_header_t *); 48 extern int sip_goto_next_value(_sip_header_t *); 49 extern int sip_parse_params(_sip_header_t *, sip_param_t **); [all …]
|
H A D | sip_msg.h | 74 }_sip_header_t; typedef 353 _sip_header_t *sip_msg_headers_start; 354 _sip_header_t *sip_msg_headers_end; 355 _sip_header_t *sip_msg_start_line; 365 extern _sip_header_t *sip_dup_header(_sip_header_t *from); 366 extern int _sip_copy_header(_sip_msg_t *, _sip_header_t *, char *, 372 extern _sip_header_t *sip_search_for_header(_sip_msg_t *, char *, 373 _sip_header_t *); 374 extern void _sip_add_header(_sip_msg_t *, _sip_header_t *, 376 extern _sip_header_t *sip_new_header(int); [all …]
|
H A D | sip_parse_hdrs.c | 50 sip_parse_acpt_header(_sip_header_t *sip_header, sip_parsed_header_t **header) in sip_parse_acpt_header() 63 sip_parse_acpt_encode_header(_sip_header_t *sip_header, in sip_parse_acpt_encode_header() 75 sip_parse_acpt_lang_header(_sip_header_t *sip_header, in sip_parse_acpt_lang_header() 88 sip_parse_alert_header(_sip_header_t *sip_header, sip_parsed_header_t **header) in sip_parse_alert_header() 97 sip_parse_allow_header(_sip_header_t *hdr, sip_parsed_header_t **phdr) in sip_parse_allow_header() 176 sip_parse_callinfo_header(_sip_header_t *sip_header, in sip_parse_callinfo_header() 193 sip_parse_contentdis_header(_sip_header_t *sip_header, in sip_parse_contentdis_header() 204 sip_parse_contentencode_header(_sip_header_t *sip_header, in sip_parse_contentencode_header() 218 sip_parse_contentlang_header(_sip_header_t *sip_header, in sip_parse_contentlang_header() 233 sip_parse_date_header(_sip_header_t *sip_header, sip_parsed_header_t **header) in sip_parse_date_header() [all …]
|
H A D | sip_dialog.h | 66 _sip_header_t *sip_dlg_remote_uri_tag; 67 _sip_header_t *sip_dlg_local_uri_tag; 68 _sip_header_t *sip_dlg_remote_target; 69 _sip_header_t *sip_dlg_local_contact; 70 _sip_header_t *sip_dlg_new_local_contact; /* for re-INVITE */ 71 _sip_header_t *sip_dlg_route_set; 72 _sip_header_t *sip_dlg_event; 75 _sip_header_t *sip_dlg_call_id;
|
H A D | sip_headers.c | 221 _sip_header_t * 224 _sip_header_t *new_header; in sip_new_header() 226 new_header = calloc(1, sizeof (_sip_header_t)); in sip_new_header() 250 sip_free_header(_sip_header_t *sip_header) in sip_free_header() 269 _sip_header_t * 270 sip_dup_header(_sip_header_t *from) in sip_dup_header() 273 _sip_header_t *to; in sip_dup_header() 294 _sip_copy_header(_sip_msg_t *sip_msg, _sip_header_t *header, char *extra_param, in _sip_copy_header() 297 _sip_header_t *new_header; in _sip_copy_header() 374 _sip_header_t *header; in _sip_find_and_copy_all_header() [all …]
|
H A D | sip_parse_generic.c | 42 sip_atoi(_sip_header_t *sip_header, int *num) in sip_atoi() 70 sip_find_token(_sip_header_t *sip_header, char token) in sip_find_token() 93 sip_find_cr(_sip_header_t *sip_header) in sip_find_cr() 108 sip_find_separator(_sip_header_t *sip_header, char separator_1st, in sip_find_separator() 140 sip_find_white_space(_sip_header_t *sip_header) in sip_find_white_space() 154 sip_skip_white_space(_sip_header_t *sip_header) in sip_skip_white_space() 169 sip_reverse_skip_white_space(_sip_header_t *sip_header) in sip_reverse_skip_white_space() 183 sip_parse_goto_values(_sip_header_t *sip_header) in sip_parse_goto_values() 197 sip_goto_next_value(_sip_header_t *sip_header) in sip_goto_next_value() 226 sip_parse_params(_sip_header_t *sip_header, sip_param_t **parsed_list) in sip_parse_params() [all …]
|
H A D | sip_ui.c | 66 header_name, (_sip_header_t *)old_header); in sip_get_header() 117 _sip_header_t *_sip_header; in sip_get_header_value() 129 _sip_header = (_sip_header_t *)sip_header; in sip_get_header_value() 200 _sip_header_t *_sip_hdr; in sip_delete_header_by_name() 214 _sip_hdr = (_sip_header_t *)sip_hdr; in sip_delete_header_by_name() 232 _sip_header_t *_sip_header; in sip_delete_header() 236 _sip_header = (_sip_header_t *)sip_header; in sip_delete_header() 265 _sip_header_t *_sip_header; in sip_delete_value() 272 _sip_header = (_sip_header_t *)sip_header; in sip_delete_value() 738 _sip_header_t *_sip_header; in sip_copy_header() [all …]
|
H A D | sip_gids.c | 191 _sip_header_t *via; in sip_branchid() 193 _sip_header_t *to; in sip_branchid() 194 _sip_header_t *from; in sip_branchid() 195 _sip_header_t *callid; in sip_branchid()
|
H A D | sip_add_hdrs.c | 126 _sip_header_t *new_header; in sip_add_empty_hdr() 166 _sip_header_t *new_header; in sip_add_2strs_to_msg() 239 _sip_header_t *new_header; in sip_add_str_to_msg() 289 _sip_header_t *new_header; in sip_add_int_to_msg() 351 _sip_header_t *new_header; in sip_add_intstr_to_msg() 1008 _sip_header_t *new_header; in sip_add_warning() 1055 _sip_header_t *new_header; in sip_add_rack() 1326 _sip_header_t * 1330 _sip_header_t *new_header; in sip_create_via_hdr() 1386 _sip_header_t *new_header; in sip_add_via() [all …]
|
H A D | sip_msg.c | 243 _sip_header_t *header; in sip_msg_to_msgbuf() 329 _sip_header_t *header; in sip_adjust_msgbuf() 399 sip_copy_values(char *ptr, _sip_header_t *header) in sip_copy_values() 543 _sip_header_t *new_header; in sip_add_response_line() 806 _sip_header_t *header; in sip_create_OKack() 896 _sip_header_t *new_header; in sip_add_request_line()
|
H A D | sip_itf.c | 143 _sip_header_t *sip_msg_header; in sip_setup_header_pointers() 185 sip_msg_header = calloc(1, sizeof (_sip_header_t)); in sip_setup_header_pointers() 204 sizeof (_sip_header_t)); in sip_setup_header_pointers()
|
H A D | sip_xaction.c | 67 _sip_header_t *from = NULL; in sip_find_md5_digest() 68 _sip_header_t *cid = NULL; in sip_find_md5_digest() 69 _sip_header_t *via = NULL; in sip_find_md5_digest()
|
H A D | sip_dialog.c | 55 _sip_header_t *sip_dlg_xchg_from_to(sip_msg_t, int); 318 _sip_header_t *rhdr; in sip_dialog_set_route_hdr() 802 _sip_header_t * 806 _sip_header_t *newhdr; in sip_dlg_xchg_from_to() 816 if (sip_parse_goto_values((_sip_header_t *)hdr) != 0) in sip_dlg_xchg_from_to() 858 _sip_header_t *thdr; in sip_complete_dialog() 859 _sip_header_t *evhdr = NULL; in sip_complete_dialog() 860 _sip_header_t *substate = NULL; in sip_complete_dialog()
|
H A D | sip_hdrs_ui.c | 93 const _sip_header_t *header; in sip_get_val_from_msg() 416 const _sip_header_t *header; in sip_get_cseq_val() 588 _sip_header_t *header; in sip_get_branchid() 966 const _sip_header_t *header; in sip_get_date_val() 1265 const _sip_header_t *header; in sip_get_rack_val() 1630 const _sip_header_t *header; in sip_get_auth_param()
|