Function ndpi_get_category_id

Function Documentation

int ndpi_get_category_id(struct ndpi_detection_module_struct *ndpi_mod, char *cat)

Return the ID of the category

ndpi_mod = the detection module
proto = the category name
Return
the ID of the category