Function ndpi_load_domain_suffixes

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
Return
0 = no error, -1 otherwise