Module: kamailio
Branch: master
Commit: 118a829b30344b394a60c325075aec7bf877428c
URL:
https://github.com/kamailio/kamailio/commit/118a829b30344b394a60c325075aec7…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-03-13T08:44:47+01:00
core: doxygen fix and small grouping extension for trie lib
---
Modified: src/lib/trie/dtrie.c
Modified: src/lib/trie/dtrie.h
---
Diff:
https://github.com/kamailio/kamailio/commit/118a829b30344b394a60c325075aec7…
Patch:
https://github.com/kamailio/kamailio/commit/118a829b30344b394a60c325075aec7…
---
diff --git a/src/lib/trie/dtrie.c b/src/lib/trie/dtrie.c
index ab3682e2a1..752e0f6e9c 100644
--- a/src/lib/trie/dtrie.c
+++ b/src/lib/trie/dtrie.c
@@ -21,7 +21,7 @@
*/
/**
- * \file
+ * \ingroup dtrie
* \brief Trie datastructure with utility functions
*
* Provides a generic trie datastructure and utility functions to
diff --git a/src/lib/trie/dtrie.h b/src/lib/trie/dtrie.h
index 1b27d835d3..bd7e985252 100644
--- a/src/lib/trie/dtrie.h
+++ b/src/lib/trie/dtrie.h
@@ -21,10 +21,10 @@
*/
/**
- * \file
+ * \defgroup dtrie Kamailio generic trie data structure
* \brief Trie datastructure with utility functions
*
- * Provides a generic trie datastructure and utility functions to
+ * Provides a generic trie data structure and utility functions to
* initialize and manage individual nodes. Its optimized towards
* the usecase of a matching tree that contains only digits, e.g.
* for LCR or blacklist modules. Nevertheless it also supports the
@@ -104,7 +104,7 @@ void dtrie_clear(struct dtrie_node_t *root, dt_delete_func_t
delete_payload,
* \param number inserted number string
* \param numberlen number of individual numbers in number
* \param data pointer to some custom data
- * \param branches number of branches in the trie
+ * \param dtrie_size size of the trie
* \return 0 on success, -1 otherwise.
*/
int dtrie_insert(struct dtrie_node_t *root, const char *number, const unsigned int
numberlen,