[SR-Users] About setflag()'s parameter
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jul 6 11:56:27 CEST 2010
On 7/6/10 11:49 AM, Iñaki Baz Castillo wrote:
> 2010/7/6 Andrei Pelinescu-Onciul<andrei at iptel.org>:
>
>>> Hi, could it be clarified please? I also wonder how many integer AVP's
>>> (i:N) can exist. Does it depend on the 32/64 bits architecture?
>>>
>> The flags are stored internally on 32 bits, but you should use names for
>> the flags so you shouldn't care (unless you use more then 32 :-)).
>>
>
>> There is no limit on the number of AVPs, but the I:N format is
>> deprecated (use only names).
>>
> Thanks.
>
was your question how many avps with ID N can be or how many distinct N
you can have?
Haven't check if has changed in SER 2.0 (therefore in 3.0 as well), but
in K 1.x and older S the ID was short int (16b), so N can be any number
from 1 to 2^16-1.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the sr-users
mailing list