Function ndpi_match_string
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_match_string(void *_automa, char *string_to_match)
Add a string to match to an automata
- The automata initialized with ndpi_init_automa();
- The (sub)string to search
- Returns:
0 in case of match, or -1 if no match, or -2 if an error occurred.