diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-10-29 20:21:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 20:21:24 +0100 |
commit | 2c2eaf8e79d99afffe9467e253dc4ea2ac41fe36 (patch) | |
tree | 4775dcdd41bf57b941e1d7fbd170c23155495fe5 /src/include/ndpi_api.h | |
parent | 03fd155ae38b0b3b57f18a25e80abb68b169e326 (diff) |
Rename some functions with more useful/clear names (#2127)
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r-- | src/include/ndpi_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index ee77b537a..d7bb344ab 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -766,8 +766,8 @@ extern "C" { */ int ndpi_load_protocols_file(struct ndpi_detection_module_struct *ndpi_mod, const char* path); - int ndpi_load_protocols_file2(struct ndpi_detection_module_struct *ndpi_mod, - FILE *fd); + int ndpi_load_protocols_file_fd(struct ndpi_detection_module_struct *ndpi_mod, + FILE *fd); /** * Add an IP-address based risk mask @@ -810,7 +810,7 @@ extern "C" { * -1 else */ int ndpi_load_categories_file(struct ndpi_detection_module_struct *ndpi_str, const char* path, void *user_data); - int ndpi_load_categories_file2(struct ndpi_detection_module_struct *ndpi_str, FILE *fd, void *user_data); + int ndpi_load_categories_file_fd(struct ndpi_detection_module_struct *ndpi_str, FILE *fd, void *user_data); /** * Loads a file (separated by <cr>) of domain names associated with the specified category |