On Tuesday 20 November 2007, Bogdan-Andrei Iancu wrote:
> > this is exactly the type of interface that makes programming and
> > debugging in OpenSER for me more hard than necessary. I could tell you a
> > story from a recent bug caused of the non-type safty of the str_init
> > macro, or explain my
Hi Henning,
Henning Westerholt wrote:
> On Monday 19 November 2007, Bogdan-Andrei Iancu wrote:
>
>> To solve this potential problem without any change in the MI interface
>> and without no runtime penalties (strlen), I just added a small macro
>> MI_SSTR (MI Static String) to compute the len o
On Monday 19 November 2007, Bogdan-Andrei Iancu wrote:
> To solve this potential problem without any change in the MI interface
> and without no runtime penalties (strlen), I just added a small macro
> MI_SSTR (MI Static String) to compute the len of a static string at
> compile time.
>
> With it,
Dan Pascu wrote:
> On Monday 19 November 2007, Bogdan-Andrei Iancu wrote:
>
>> Hi,
>>
>> To solve this potential problem without any change in the MI interface
>> and without no runtime penalties (strlen), I just added a small macro
>> MI_SSTR (MI Static String) to compute the len of a static s
On Monday 19 November 2007, Bogdan-Andrei Iancu wrote:
> Hi,
>
> To solve this potential problem without any change in the MI interface
> and without no runtime penalties (strlen), I just added a small macro
> MI_SSTR (MI Static String) to compute the len of a static string at
> compile time.
>
>
Hi,
To solve this potential problem without any change in the MI interface
and without no runtime penalties (strlen), I just added a small macro
MI_SSTR (MI Static String) to compute the len of a static string at
compile time.
With it, instead of having:
add_mi_node_child( rpl, 0, "Server
On Friday 16 November 2007, Henning Westerholt wrote:
> On Friday 16 November 2007, Dan Pascu wrote:
> > Revision: 3156
> >
> > http://openser.svn.sourceforge.net/openser/?rev=3156&view=rev Author:
> > dan_pascu
> > Date: 2007-11-16 04:45:39 -0800 (Fri, 16 Nov 2007)
> >
> > Log Mess
On Friday 16 November 2007, Dan Pascu wrote:
> Revision: 3156
> http://openser.svn.sourceforge.net/openser/?rev=3156&view=rev
> Author: dan_pascu
> Date: 2007-11-16 04:45:39 -0800 (Fri, 16 Nov 2007)
>
> Log Message:
> ---
> Fixed length of string constants. This should be be
Revision: 3156
http://openser.svn.sourceforge.net/openser/?rev=3156&view=rev
Author: dan_pascu
Date: 2007-11-16 04:45:39 -0800 (Fri, 16 Nov 2007)
Log Message:
---
Fixed length of string constants. This should be better done by #define-ing
some constants and using sizeof(co