Function ndpi_load_risk_domain_file

Function Documentation

int ndpi_load_risk_domain_file(struct ndpi_detection_module_struct *ndpi_str, const char *path)

Read a file and load the list of risky domains

ndpi_mod = the detection module
path = the path of the file
Return
0 if the file is loaded correctly; -1 else