Function ndpi_load_categories_dir
- Defined in File ndpi_api.h 
Function Documentation
- 
int ndpi_load_categories_dir(struct ndpi_detection_module_struct *ndpi_str, char *path)
- Load files (whose name is <categoryid>_<label>.<extension>) stored in a directory and bind each domain to the specified category. - ndpi_mod = the detection module
- path = the path of the file
 - Returns:
- 0 if the file is loaded correctly; -1 else