Initial geoip support
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user