Browse code

modules: readme files regenerated - pv ... [skip ci]

Kamailio Dev authored on 14/10/2020 14:16:29
Showing 1 changed files
... ...
@@ -475,7 +475,8 @@ xavp_params_implode("x", "$var(out)");
475 475
    the tokens, the supported mode right now is 't', which trims the white
476 476
    spaces around the value.
477 477
 
478
-   The fourth parameter is the name of the xavp to hold the tokens.
478
+   The fourth parameter is the name of the root xavp to hold the tokens in
479
+   fields named 'v' and indexed from 0.
479 480
 
480 481
    The values are stored as string type.
481 482
 
... ...
@@ -485,10 +486,10 @@ xavp_params_implode("x", "$var(out)");
485 486
 ...
486 487
 xavp_slist_explode("a=b; c=d;", "=;", "t", "x");
487 488
 # results in:
488
-#    $xavp(x[0]) = "a";
489
-#    $xavp(x[1]) = "b";
490
-#    $xavp(x[2]) = "c";
491
-#    $xavp(x[3]) = "d";
489
+#    $xavp(x[0]=>v[0]) = "a";
490
+#    $xavp(x[0]=>v[1]) = "b";
491
+#    $xavp(x[0]=>v[2]) = "c";
492
+#    $xavp(x[0]=>v[3]) = "d";
492 493
 ...
493 494
 
494 495
 4.11.  xavp_child_seti(rname, cname, ival)