Fixed warning

Reworked protocol initialization
This commit is contained in:
Luca Deri
2016-02-27 09:00:02 +01:00
parent 6df31099c2
commit 20374b542d
5 changed files with 47 additions and 35 deletions
+6
View File
@@ -67,6 +67,12 @@ extern "C" {
*/
u_int16_t ndpi_host_ptree_match(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t host);
/**
* Init single protocol match
*/
void ndpi_init_protocol_match(struct ndpi_detection_module_struct *ndpi_mod,
ndpi_protocol_match *match);
/**
* This function returns a new initialized detection module.
* @param ticks_per_second the timestamp resolution per second (like 1000 for millisecond resolution)