Commit 3cf3a2f3 authored by Pekka Pessi's avatar Pekka Pessi

msg: added msg_header_find_item(), msg_header_replace_item(), msg_header_remove_item()

Using msg_header_param_modify() to implement msg_header_replace_item(),
msg_header_remove_item(), msg_header_add_param(),
msg_header_replace_param(), and msg_header_remove_param().

parent 28c63fe7
This diff is collapsed.
......@@ -226,6 +226,13 @@ SOFIAPUBFUN int msg_header_replace_param(su_home_t *, msg_common_t *h,
char const *param);
SOFIAPUBFUN int msg_header_remove_param(msg_common_t *h, char const *name);
SOFIAPUBFUN char const *msg_header_find_item(msg_common_t const *h,
char const *item);
SOFIAPUBFUN int msg_header_replace_item(su_home_t *, msg_common_t *h,
char const *item);
SOFIAPUBFUN int msg_header_remove_item(msg_common_t *h, char const *name);
/** Append a list of constant items to a list. */
SOFIAPUBFUN int msg_list_append_items(su_home_t *home, msg_list_t *k,
msg_param_t const items[]);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment