[SR-Users] What does "::" operator do in statements related to hashtable?
Alex Balashov
abalashov at evaristesys.com
Thu Aug 28 17:35:42 CEST 2014
It's not an operator, actually. :-) It's just a convention. You can call
your keys anything you like (that's grammatically valid).
On 08/28/2014 09:37 AM, aft wrote:
> Hi,
>
> From kamailio documentation, the usage of hashtable is given as :
>
> modparam("htable", "htable", "a=>size=4;")
> ...
> $sht(a=>test) = 1;
> $sht(a=>$ci::srcip) = $si;
>
> I get it that in the first statement, a is the hashtable, a new
> key-value pair is added to one of its empty bucket (test,1).
>
> What is happening in the second statement?
>
>
>
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906
More information about the sr-users
mailing list