2008/6/11 Reto Glauser <[EMAIL PROTECTED]>:
> I'm trying to use msg_hclass_t's print functionality to show the content of a 
> header
> (http://sofia-sip.sourceforge.net/refdocs/msg/structmsg__hclass__s.html).
>
> I can't figure out the meaning or usage of
>
> msg_print_f*   hc_print
>
> Doesn't msg_hclass_t provide a similar functionality like msg_as_string() 
> does? Is
> the comment on hc_print misleading?

The function sip_header_as_string() can be used to convert header
contents to a string. It is pretty thin wrappper around  hc_print
methods. For some reason there is no msg_header_as_string() (it would
just have different argument types), perhaps I should add one...

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to