Commit 966412fb authored by Pekka Pessi's avatar Pekka Pessi

sip: fixed sip_header_as_string() prototype.

darcs-hash:20061005140854-65a35-1da12c7a86ce19b9017f02386b1a4d1f69117685.gz
parent a8fc1060
......@@ -389,7 +389,7 @@ issize_t sip_header_field_e(char *b, isize_t bsiz, sip_header_t const *h, int fl
}
/** Convert the header @a h to a string allocated from @a home. */
char *sip_header_as_string(su_home_t *home, sip_header_t *h)
char *sip_header_as_string(su_home_t *home, sip_header_t const *h)
{
ssize_t len;
char *rv, s[128];
......
......@@ -80,7 +80,8 @@ SOFIAPUBFUN issize_t sip_e(sip_t const *sip, int flags, char b[], isize_t size);
SOFIAPUBFUN int sip_is_header(sip_header_t const *header);
/** Convert the header @a h to a string allocated from @a home. */
SOFIAPUBFUN char *sip_header_as_string(su_home_t *home, sip_header_t *h);
SOFIAPUBFUN char *sip_header_as_string(su_home_t *home,
sip_header_t const *h);
/** Add a duplicate of header object to a SIP message. */
SOFIAPUBFUN int sip_add_dup(msg_t *, sip_t *, sip_header_t const *);
......
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