Function ndpi_get_automa_stats
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_get_automa_stats(struct ndpi_detection_module_struct *ndpi_struct, automa_type automa_type, struct ndpi_automa_stats *stats)
Get the statistics of one of the automas used internally by the library
- ndpi_mod = the detection module
- automa_type = of which automa we want the stats
- stats = buffer where to save the stats
- Returns:
0 in case of no error, or -1 if an error occurred.