aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-01-30 08:51:56 +0100
committerToni Uhlig <matzeton@googlemail.com>2024-01-30 12:11:58 +0100
commitb868b0d0ed289c0a748833af591cb457c937b923 (patch)
tree04ec7969bcef1f1fcde803b2b4c1d66332a42936 /src/include
parentd2f22d1308320369363e6d7a34fbc4c5da0f5471 (diff)
Provide a u64 wrapper for `ndpi_set_config()`add/set_config_u64
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index d2d122cb0..abef7ad34 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -2190,6 +2190,8 @@ extern "C" {
ndpi_cfg_error ndpi_set_config(struct ndpi_detection_module_struct *ndpi_str,
const char *proto, const char *param, const char *value);
+ ndpi_cfg_error ndpi_set_config_u64(struct ndpi_detection_module_struct *ndpi_str,
+ const char *proto, const char *param, uint64_t value);
char *ndpi_get_config(struct ndpi_detection_module_struct *ndpi_str,
const char *proto, const char *param, char *buf, int buf_len);
char *ndpi_dump_config(struct ndpi_detection_module_struct *ndpi_str,