Function ndpi_load_domain_suffixes
Defined in File ndpi_api.h
Function Documentation
-
int ndpi_load_domain_suffixes(struct ndpi_detection_module_struct *ndpi_str, char *public_suffix_list_path)
Loads the domain suffixes from the specified path. You need to perform this action once
- ndpi_str = the struct created for the protocol detection
- public_suffix_list_path = path of the public_suffix_list path
- Returns:
0 = no error, -1 otherwise