[pjsip] pj_log_func differs from pjsua_logging_config.cb

Velthoen, Arie Arie.Velthoen at nec-philips.com
Wed Nov 28 07:22:50 EST 2007

Small remark:
The signature of pj_log_func differs from pjsua_logging_config.cb in the
3rd parameter:
typedef void pj_log_func(int level, const char *data, int len);


typedef struct pjsua_logging_config



    void  (*cb)(int level, const char *data, pj_size_t len);

} pjsua_logging_config;



I noticed this when I tried to capture also the initial logging from
pjsua_create() and pjsua_init() with my log_writer,

and got a compiler warning.



Best regards,


Arie Velthoen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071128/ee60cb4b/attachment.html>

More information about the pjsip mailing list