[Freeswitch-users] Mod_skinny: Call for testing!

Michael Jerris mike at jerris.com
Tue May 25 05:57:05 PDT 2010


On May 25, 2010, at 3:42 AM, Mathieu Parent wrote:

> On Tue, May 25, 2010 at 2:11 AM, Michael Jerris <mike at jerris.com> wrote:
>> Mathieu, we have a define for the printf specifier for switch_size_t, because it is different on different os's:
>> 
>> switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_NOTICE, "Session %" SWITCH_SIZE_T_FMT " (%s) Ended\n",
>> 
>> you can use it like that, or optionally, if appropriate, cast the value to the right type when passing it to printf style commands.
>> 
> 
> Thanks Mike. I thought I had already done this but can find where it went.
> 
> I also need a function for big-endian platforms to convert native
> integer to little endian and the reverse. Those are simple to
> implement and I can do this, but I don't know where to put them
> (switch_utils.{h,c}?) and how to name them (switch_htol32,
> switch_ltoh32? or switch_native_to_little_endian,
> switch_to_little?...) ; or maybe they already exists?

we just use ntohl and htonl (see switch_rtp.c)

> 
> Patrick, his is solved on a2ceff1. Can you test again? For reference,
> this is MODSKINNY-5 on Jira.
> 
> Mathieu
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list