Module: kamailio
Branch: master
Commit: dd055ece5b212a7a9c85ad08960f60a22fee8c67
URL: 
https://github.com/kamailio/kamailio/commit/dd055ece5b212a7a9c85ad08960f60a22fee8c67

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-12-08T15:02:06+01:00

htable: remove unnecessary inter-module api wrappers

---

Modified: src/modules/htable/api.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/dd055ece5b212a7a9c85ad08960f60a22fee8c67.diff
Patch: 
https://github.com/kamailio/kamailio/commit/dd055ece5b212a7a9c85ad08960f60a22fee8c67.patch

---

diff --git a/src/modules/htable/api.c b/src/modules/htable/api.c
index 1c07170a845..2739e177c18 100644
--- a/src/modules/htable/api.c
+++ b/src/modules/htable/api.c
@@ -148,16 +148,6 @@ int ht_api_count_cells_re(str *hname, str *sre, int mode)
        return 0;
 }
 
-int ht_api_table_spec(char *spec)
-{
-       return ht_table_spec(spec);
-}
-
-int ht_api_init_tables(void)
-{
-       return ht_init_tables();
-}
-
 /**
  *
  */
@@ -168,8 +158,8 @@ int bind_htable(htable_api_t *api)
                return -1;
        }
 
-       api->table_spec = ht_api_table_spec;
-       api->init_tables = ht_api_init_tables;
+       api->table_spec = ht_table_spec;
+       api->init_tables = ht_init_tables;
        api->set = ht_api_set_cell;
        api->get_clone = ht_api_get_cell_clone;
        api->rm = ht_api_del_cell;

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to