aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_http_common.h')
-rw-r--r--src/transport/plugin_transport_http_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_http_common.h b/src/transport/plugin_transport_http_common.h
index 15466cc9e..51438d6e6 100644
--- a/src/transport/plugin_transport_http_common.h
+++ b/src/transport/plugin_transport_http_common.h
@@ -247,4 +247,17 @@ http_common_cmp_addresses (const void *addr1,
247 const void *addr2, 247 const void *addr2,
248 size_t addrlen2); 248 size_t addrlen2);
249 249
250
251/**
252 * Function obtain the network type for an address.
253 *
254 * @param env the environment
255 * @param address the address
256 * @return the network type
257 */
258enum GNUNET_ATS_Network_Type
259http_common_get_network_for_address (struct GNUNET_TRANSPORT_PluginEnvironment *env,
260 const struct GNUNET_HELLO_Address *address);
261
262
250/* end of plugin_transport_http_common.h */ 263/* end of plugin_transport_http_common.h */