[SR-Users] What does "::" operator do in statements related to hashtable?

aft aftnix at gmail.com
Thu Aug 28 15:37:47 CEST 2014


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?



-- 
-Cheers
-Arif



More information about the sr-users mailing list