aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_bluetooth.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:31:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-12-18 11:31:56 +0000
commit7dd5cd13dd34be6a6ba90e586f599cfada951648 (patch)
treead099f24b7521ba33ac8e27d0b8d44ddec509f67 /src/transport/plugin_transport_bluetooth.c
parent0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff)
downloadgnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.tar.gz
gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.zip
new timeout function and keep alives with nonces
Diffstat (limited to 'src/transport/plugin_transport_bluetooth.c')
-rw-r--r--src/transport/plugin_transport_bluetooth.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_bluetooth.c b/src/transport/plugin_transport_bluetooth.c
index 7fbdbcfa9..bdc5a9fee 100644
--- a/src/transport/plugin_transport_bluetooth.c
+++ b/src/transport/plugin_transport_bluetooth.c
@@ -1799,6 +1799,15 @@ bluetooth_string_to_address (void *cls, const char *addr, uint16_t addrlen,
1799 return GNUNET_OK; 1799 return GNUNET_OK;
1800} 1800}
1801 1801
1802static void
1803bluetooth_plugin_update_session_timeout (void *cls,
1804 const struct GNUNET_PeerIdentity *peer,
1805 struct Session *session)
1806{
1807
1808}
1809
1810
1802 1811
1803/** 1812/**
1804 * Entry point for the plugin. 1813 * Entry point for the plugin.
@@ -1933,6 +1942,7 @@ libgnunet_plugin_transport_bluetooth_init (void *cls)
1933 api->address_to_string = &bluetooth_plugin_address_to_string;; 1942 api->address_to_string = &bluetooth_plugin_address_to_string;;
1934 api->string_to_address = &bluetooth_string_to_address; 1943 api->string_to_address = &bluetooth_string_to_address;
1935 api->get_network = &bluetooth_get_network; 1944 api->get_network = &bluetooth_get_network;
1945 api->update_session_timeout = &blueooth_plugin_update_session_timeout;
1936 1946
1937 return api; 1947 return api;
1938} 1948}