From 7dd5cd13dd34be6a6ba90e586f599cfada951648 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 18 Dec 2013 11:31:56 +0000 Subject: new timeout function and keep alives with nonces --- src/transport/plugin_transport_template.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/transport/plugin_transport_template.c') diff --git a/src/transport/plugin_transport_template.c b/src/transport/plugin_transport_template.c index abcae5111..f39db3e79 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; } -- cgit v1.2.3