Merge pull request #76 from alagoutte/wdoc

Fix warning when use -Wdocumentation (Clang CFLAG)
This commit is contained in:
Luca Deri
2015-08-18 15:20:24 +02:00
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -149,11 +149,11 @@ static struct reader_thread ndpi_thread_info[MAX_NUM_READER_THREADS];
* @brief ID tracking * @brief ID tracking
*/ */
typedef struct ndpi_id { typedef struct ndpi_id {
u_int8_t ip[4]; //< Ip address u_int8_t ip[4]; // Ip address
struct ndpi_id_struct *ndpi_id; //< nDpi worker structure struct ndpi_id_struct *ndpi_id; // nDpi worker structure
} ndpi_id_t; } ndpi_id_t;
static u_int32_t size_id_struct = 0; //< ID tracking structure size static u_int32_t size_id_struct = 0; // ID tracking structure size
#ifndef ETH_P_IP #ifndef ETH_P_IP
#define ETH_P_IP 0x0800 #define ETH_P_IP 0x0800
+3 -3
View File
@@ -70,7 +70,7 @@ extern "C" {
/** /**
* This function returns a new initialized detection module. * This function returns a new initialized detection module.
* @param ticks_per_second the timestamp resolution per second (like 1000 for millisecond resolution) * @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 * @param ndpi_debug_printf a function pointer to a debug output function, use NULL in productive envionments
* @return the initialized detection module * @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 * This function enables cache support in nDPI used for some protocol such as Skype
* @param cache host name * @param host host name
* @param cache port * @param port port number
*/ */
void ndpi_enable_cache(struct ndpi_detection_module_struct *ndpi_mod, char* host, u_int port); void ndpi_enable_cache(struct ndpi_detection_module_struct *ndpi_mod, char* host, u_int port);