Function ndpi_get_automa_stats

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
Return
0 in case of no error, or -1 if an error occurred.