const char* linphone_event_get_custom_header(LinphoneEvent* ev, const char* name){ const SalCustomHeader *ch=sal_op_get_recv_custom_header(ev->op); return sal_custom_header_find(ch,name); }
const char *linphone_call_params_get_custom_header(const LinphoneCallParams *params, const char *header_name){ return sal_custom_header_find(params->custom_headers,header_name); }
/** * Obtain a header value from a received info message. * @param im the info message * @param name the header'name * @return the corresponding header's value, or NULL if not exists. **/ const char *linphone_info_message_get_header(const LinphoneInfoMessage *im, const char *name){ return sal_custom_header_find(im->headers,name); }