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.
Thanks Daniel. For now I just need 4 bytes long integers :)
--
Iñaki Baz Castillo
<ibc(a)aliax.net>