diff options
Diffstat (limited to 'ui/traffic_table_ui.h')
-rw-r--r-- | ui/traffic_table_ui.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/traffic_table_ui.h b/ui/traffic_table_ui.h index 9f3bd061ba..3edf13b0fd 100644 --- a/ui/traffic_table_ui.h +++ b/ui/traffic_table_ui.h @@ -72,6 +72,19 @@ extern const char *endp_column_titles[ENDP_NUM_COLUMNS]; extern const char *endp_conn_title; +#ifdef HAVE_GEOIP +/** Create an HTML file containing a map showing the geograpical + * locations of IPv4 and IPv6 addresses. The map is named "ipmap.html". + * + * @param [in] endp_array GArray of hostlist_talker_t structs. + * @param [in,out] err_str Set to error string on failure. Error string must + * be g_freed. May be NULL. + * @return Path of the map file if it was successfully written or NULL + * on failure. The path must be g_freed. + */ +gchar *create_endpoint_geoip_map(const GArray *endp_array, gchar **err_str); +#endif + #ifdef __cplusplus } #endif /* __cplusplus */ |