Hello,
On 11/21/11 4:33 PM, IƱaki Baz Castillo wrote:
Hi, I need to read from a MySQL table a 32 bits long
Integer column.
My question is: how many bytes does Kamailio use for storing integer
values fetched from a DB query? does it depend on the 32/64 bits
architecture?
the integer is 4 bytes in all architectures. AVPs can hold only
integer
numbers, also the config file interpreter does arithmetic operations
with integers. XAVPs can hold other types of numbers such as long and
double.
Cheers,
Daniel
--
Daniel-Constantin Mierla --
http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin:
http://asipto.com/u/kat
http://linkedin.com/in/miconda --
http://twitter.com/miconda