aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ndpi_api.h.in')
-rw-r--r--src/include/ndpi_api.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in
index 6ecae02d2..81a1df925 100644
--- a/src/include/ndpi_api.h.in
+++ b/src/include/ndpi_api.h.in
@@ -1465,6 +1465,12 @@ extern "C" {
int ndpi_hash_find_entry(ndpi_str_hash *h, char *key, u_int key_len, u_int8_t *value);
int ndpi_hash_add_entry(ndpi_str_hash *h, char *key, u_int8_t key_len, u_int8_t value);
+ /* ******************************* */
+
+ int ndpi_load_geeoip(struct ndpi_detection_module_struct *ndpi_str,
+ const char *ip_city_data, const char *ip_as_data);
+ int ndpi_free_geeoip(struct ndpi_detection_module_struct *ndpi_str);
+
#ifdef __cplusplus
}
#endif