Module: kamailio
Branch: master
Commit: 6d84ede1c54cfa138733e74d40f1c9a0cac4dfc2
URL:
https://github.com/kamailio/kamailio/commit/6d84ede1c54cfa138733e74d40f1c9a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-08-08T16:29:01+02:00
htable: added alias function sht_has_name() and sht_has_str_value()
- corresponding to the match functions, following a rename that broke
compatibility with last stable version
---
Modified: src/modules/htable/htable.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6d84ede1c54cfa138733e74d40f1c9a…
Patch:
https://github.com/kamailio/kamailio/commit/6d84ede1c54cfa138733e74d40f1c9a…
---
diff --git a/src/modules/htable/htable.c b/src/modules/htable/htable.c
index 0fea3cb796..7f03a5925b 100644
--- a/src/modules/htable/htable.c
+++ b/src/modules/htable/htable.c
@@ -122,8 +122,12 @@ static cmd_export_t cmds[]={
ANY_ROUTE},
{"sht_match_name", (cmd_function)w_ht_match_name, 3, fixup_spve_all, 0,
ANY_ROUTE},
+ {"sht_has_name", (cmd_function)w_ht_match_name, 3, fixup_spve_all, 0,
+ ANY_ROUTE},
{"sht_match_str_value", (cmd_function)w_ht_match_str_value, 3,
fixup_spve_all, 0,
ANY_ROUTE},
+ {"sht_has_str_value", (cmd_function)w_ht_match_str_value, 3, fixup_spve_all,
0,
+ ANY_ROUTE},
{"sht_lock", (cmd_function)w_ht_slot_lock, 1, fixup_ht_key, 0,
ANY_ROUTE},
{"sht_unlock", (cmd_function)w_ht_slot_unlock, 1, fixup_ht_key, 0,