pj_log_func differs from pjsua_logging_config.cb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
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 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux