Cleaned up API

Removed
-  int ndpi_load_ipv4_ptree_file(ndpi_ptree_t *tree, const char *path, u_int16_t protocol_id);
-  int ndpi_load_ipv6_ptree_file(ndpi_ptree_t *tree, const char *path, u_int16_t protocol_id);

Added (it supports both IPv4 and v6)
+  int ndpi_load_ptree_file(ndpi_ptree_t *tree, const char *path, u_int16_t protocol_id);
This commit is contained in:
Luca Deri
2024-05-17 16:38:02 +02:00
parent 33d3d254ac
commit c63446e592
6 changed files with 193 additions and 223 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
#
# Use (to override results)
#
# NDPI_FORCE_UPDATING_UTESTS_RESULTS=1 ./tests/do.sh
# NDPI_FORCE_UPDATING_UTESTS_RESULTS=1 ./do.sh
#
# To run tests in parallel: (you need **GNU** `parallel` program)
#
# NDPI_FORCE_PARALLEL_UTESTS=1 ./tests/do.sh
# NDPI_FORCE_PARALLEL_UTESTS=1 ./do.sh
cd "$(dirname "${0}")"