aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_server.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-06-25 14:35:47 +0000
committerChristian Grothoff <christian@grothoff.org>2014-06-25 14:35:47 +0000
commited7ff13ae92bbe0b10e35fc5be68611611ff87f9 (patch)
tree753b21102cb4bb0b3f0d056c3001b6d8a441cc90 /src/transport/plugin_transport_http_server.c
parent52d396bb08d5621f7c0af2920a373d87d321cb63 (diff)
downloadgnunet-ed7ff13ae92bbe0b10e35fc5be68611611ff87f9.tar.gz
gnunet-ed7ff13ae92bbe0b10e35fc5be68611611ff87f9.zip
-adding missing API functions to WLAN, skeleton for monitoring support
Diffstat (limited to 'src/transport/plugin_transport_http_server.c')
-rw-r--r--src/transport/plugin_transport_http_server.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/plugin_transport_http_server.c b/src/transport/plugin_transport_http_server.c
index ab6b0d1da..30a209a6b 100644
--- a/src/transport/plugin_transport_http_server.c
+++ b/src/transport/plugin_transport_http_server.c
@@ -3228,8 +3228,8 @@ http_server_plugin_address_to_string (void *cls,
3228 * @return the network type in HBO or #GNUNET_SYSERR 3228 * @return the network type in HBO or #GNUNET_SYSERR
3229 */ 3229 */
3230static enum GNUNET_ATS_Network_Type 3230static enum GNUNET_ATS_Network_Type
3231http_server_get_network (void *cls, 3231http_server_plugin_get_network (void *cls,
3232 struct Session *session) 3232 struct Session *session)
3233{ 3233{
3234 return ntohl (session->ats_address_network_type); 3234 return ntohl (session->ats_address_network_type);
3235} 3235}
@@ -3363,7 +3363,7 @@ LIBGNUNET_PLUGIN_TRANSPORT_INIT (void *cls)
3363 api->address_to_string = &http_server_plugin_address_to_string; 3363 api->address_to_string = &http_server_plugin_address_to_string;
3364 api->string_to_address = &http_common_plugin_string_to_address; 3364 api->string_to_address = &http_common_plugin_string_to_address;
3365 api->address_pretty_printer = &http_common_plugin_address_pretty_printer; 3365 api->address_pretty_printer = &http_common_plugin_address_pretty_printer;
3366 api->get_network = &http_server_get_network; 3366 api->get_network = &http_server_plugin_get_network;
3367 api->update_session_timeout = &http_server_plugin_update_session_timeout; 3367 api->update_session_timeout = &http_server_plugin_update_session_timeout;
3368 api->update_inbound_delay = &http_server_plugin_update_inbound_delay; 3368 api->update_inbound_delay = &http_server_plugin_update_inbound_delay;
3369 api->setup_monitor = &http_server_plugin_setup_monitor; 3369 api->setup_monitor = &http_server_plugin_setup_monitor;