Commit 32f8d5eb authored by Pekka Pessi's avatar Pekka Pessi

Using SOFIAPUBFUN in msg_header.h. Avoiding use of msg_param_t where possible.

API CHANGE:
Allowing NULL as message public pointer (using default) in calls to
msg_serialize(), msg_header_add(), msg_header_prepend(),
msg_header_add_dup(), msg_header_add_dup_as(), msg_header_add_make(),
msg_header_add_str(), msg_header_insert(), msg_header_remove(),
msg_header_remove_all(), and msg_header_replace().

darcs-hash:20060317124545-65a35-7fb9a54b61290db26d445feebbbc8ecb26b96479.gz
parent 72a20157
This diff is collapsed.
......@@ -1093,8 +1093,8 @@ int msg_params_remove(msg_param_t *params, msg_param_t param)
return 0;
}
/** Calculate lenght of a parameter list */
size_t msg_params_length(msg_param_t const params[])
/** Calculate number of parameters in a parameter list */
size_t msg_params_length(char const * const * params)
{
size_t len;
......@@ -1273,7 +1273,7 @@ int msg_params_join(su_home_t *home,
* @retval an integer zero if @a match with @a b
* @retval an integer greater than zero if @a is greater than @a b
*/
int msg_params_cmp(msg_param_t const a[], msg_param_t const b[])
int msg_params_cmp(char const * const a[], char const * const b[])
{
int c;
int nlen;
......
This diff is collapsed.
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