aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-18 14:43:57 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-08-18 14:44:05 +0200
commit07c7d63d446d56a3a0392e3ce1294a9042c180e9 (patch)
tree40e0af9f6eaf83fac64c956ec73eb73ed59ac53b /src
parent0a4c8e2959facfe1c03c6216f017c740e8b4c4da (diff)
Fix warning when use -Wdocumentation
src/include/ndpi_api.h:73:13: error: parameter 'ndpi_malloc' not found in the function declaration [-Werror,-Wdocumentation] src/include/ndpi_api.h:91:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation] src/include/ndpi_api.h:92:13: error: parameter 'cache' not found in the function declaration [-Werror,-Wdocumentation] ndpiReader.c:152:22: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] ndpiReader.c:153:36: error: not a Doxygen trailing comment [-Werror,-Wdocumentation] ndpiReader.c:156:39: error: not a Doxygen trailing comment [-Werror,-Wdocumentation]
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index 30948706b..7b4550150 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -70,7 +70,7 @@ extern "C" {
/**
* This function returns a new initialized detection module.
* @param ticks_per_second the timestamp resolution per second (like 1000 for millisecond resolution)
- * @param ndpi_malloc function pointer to a memory allocator
+ * @param __ndpi_malloc function pointer to a memory allocator
* @param ndpi_debug_printf a function pointer to a debug output function, use NULL in productive envionments
* @return the initialized detection module
*/
@@ -88,8 +88,8 @@ extern "C" {
/**
* This function enables cache support in nDPI used for some protocol such as Skype
- * @param cache host name
- * @param cache port
+ * @param host host name
+ * @param port port number
*/
void ndpi_enable_cache(struct ndpi_detection_module_struct *ndpi_mod, char* host, u_int port);