logger callback documentation

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

 



Klaus Darilion wrote:
> Hi Benny!
> 
> I think it would be useful to add to the documentation
> 
> void(* pjsua_logging_config::cb)(int level, const char *data, pj_size_t len)
> http://www.pjsip.org/pjsip/docs/html/structpjsua__logging__config.htm#6e5842ac5598a2d953184d9b8bf86628
> 
> that the "len" parameter is not used and data is a null terminated string.

Hi Klaus,

The "len" parameter will be provided with the correct value, 
regardless whether it's used or not (some does use it). You're right 
about the null-terminated "data", I've updated the doxygen comment 
(it'll update the website in the next update cycle).

thanks,
  -benny


> regards
> klaus





[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