aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_template.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_template.c
parent0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff)
new timeout function and keep alives with nonces
Diffstat (limited to 'src/transport/plugin_transport_template.c')
-rw-r--r--src/transport/plugin_transport_template.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c
index abcae51110..f39db3e796 100644
--- a/src/transport/plugin_transport_template.c
+++ b/src/transport/plugin_transport_template.c
@@ -378,6 +378,13 @@ template_plugin_get_session (void *cls,
return NULL;
}
+static void
+template_plugin_update_session_timeout (void *cls,
+ const struct GNUNET_PeerIdentity *peer,
+ struct Session *session)
+{
+
+}
/**
* Entry point for the plugin.
@@ -415,6 +422,7 @@ libgnunet_plugin_transport_template_init (void *cls)
api->string_to_address = &template_plugin_string_to_address;
api->get_session = &template_plugin_get_session;
api->get_network = &template_plugin_get_network;
+ api->update_session_timeout = &template_plugin_update_session_timeout;
LOG (GNUNET_ERROR_TYPE_INFO, "Template plugin successfully loaded\n");
return api;
}