summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.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_unix.c
parent0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff)
new timeout function and keep alives with nonces
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c
index 906cf9997..67c176633 100644
--- a/src/transport/plugin_transport_unix.c
+++ b/src/transport/plugin_transport_unix.c
@@ -906,6 +906,13 @@ unix_plugin_get_session (void *cls,
return s;
}
+static void
+unix_plugin_update_session_timeout (void *cls,
+ const struct GNUNET_PeerIdentity *peer,
+ struct Session *session)
+{
+
+}
/**
* Function that can be used by the transport service to transmit
@@ -1635,6 +1642,7 @@ libgnunet_plugin_transport_unix_init (void *cls)
api->check_address = &unix_check_address;
api->string_to_address = &unix_string_to_address;
api->get_network = &unix_get_network;
+ api->update_session_timeout = &unix_plugin_update_session_timeout;
sockets_created = unix_transport_server_start (plugin);
if (0 == sockets_created)
LOG (GNUNET_ERROR_TYPE_WARNING,