Module: kamailio
Branch: master
Commit: 1d01ae5e7934cc84bb40ae4d18e6a48f6a78e5e2
URL:
https://github.com/kamailio/kamailio/commit/1d01ae5e7934cc84bb40ae4d18e6a48…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-03-25T19:46:12+01:00
modules: readme files regenerated - htable ... [skip ci]
---
Modified: src/modules/htable/README
---
Diff:
https://github.com/kamailio/kamailio/commit/1d01ae5e7934cc84bb40ae4d18e6a48…
Patch:
https://github.com/kamailio/kamailio/commit/1d01ae5e7934cc84bb40ae4d18e6a48…
---
diff --git a/src/modules/htable/README b/src/modules/htable/README
index 78b7547085..4aa4c258a9 100644
--- a/src/modules/htable/README
+++ b/src/modules/htable/README
@@ -80,9 +80,10 @@ Ovidiu Sas
6.4. htable.seti htable key value
6.5. htable.dump htable
6.6. htable.reload htable
- 6.7. htable.flush htable
- 6.8. htable.listTables
- 6.9. htable.stats
+ 6.7. htable.store htable
+ 6.8. htable.flush htable
+ 6.9. htable.listTables
+ 6.10. htable.stats
7. Event routes
@@ -183,9 +184,10 @@ Chapter 1. Admin Guide
6.4. htable.seti htable key value
6.5. htable.dump htable
6.6. htable.reload htable
- 6.7. htable.flush htable
- 6.8. htable.listTables
- 6.9. htable.stats
+ 6.7. htable.store htable
+ 6.8. htable.flush htable
+ 6.9. htable.listTables
+ 6.10. htable.stats
7. Event routes
@@ -977,9 +979,10 @@ if(sht_match_str_value("ha", "eq",
"alice")) {
6.4. htable.seti htable key value
6.5. htable.dump htable
6.6. htable.reload htable
- 6.7. htable.flush htable
- 6.8. htable.listTables
- 6.9. htable.stats
+ 6.7. htable.store htable
+ 6.8. htable.flush htable
+ 6.9. htable.listTables
+ 6.10. htable.stats
6.1. htable.get htable key
@@ -1063,7 +1066,7 @@ kamcmd htable.sets test x[0] 123
Lists all the values in a hash table
- Name: dhtable.dump
+ Name: htable.dump
Parameters:
* htable : Name of the hash table to dump
@@ -1077,7 +1080,7 @@ kamcmd htable.dump ipban
Reload hash table from database.
- Name: dhtable.reload
+ Name: htable.reload
Parameters:
* htable : Name of the hash table to reload
@@ -1087,7 +1090,21 @@ kamcmd htable.dump ipban
kamcmd htable.reload ipban
...
-6.7. htable.flush htable
+6.7. htable.store htable
+
+ Store hash table to database.
+
+ Name: htable.store
+
+ Parameters:
+ * htable : Name of the hash table to store
+
+ Example:
+...
+kamcmd htable.store ipban
+...
+
+6.8. htable.flush htable
Empty the hash table
@@ -1101,7 +1118,7 @@ kamcmd htable.reload ipban
kamcmd htable.flush ipban
...
-6.8. htable.listTables
+6.9. htable.listTables
Lists all defined tables
@@ -1115,7 +1132,7 @@ kamcmd htable.flush ipban
kamcmd htable.listTables
...
-6.9. htable.stats
+6.10. htable.stats
Get statistics for hash tables - name, number of slots, number of
items, max number of items per slot, min number of items per slot.