[SR-Users] About setflag()'s parameter

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Jul 6 11:37:31 CEST 2010


On Jul 06, 2010 at 10:43, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> 2010/7/6 Alex Balashov <abalashov at evaristesys.com>:
> > It sets bits in a 32-bit integer (it may be 64-bit on 64-bit platforms, of
> > this I am not sure)
> 
> 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).

Andrei



More information about the sr-users mailing list