diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:56 +0000 |
commit | 7dd5cd13dd34be6a6ba90e586f599cfada951648 (patch) | |
tree | ad099f24b7521ba33ac8e27d0b8d44ddec509f67 /src/transport/plugin_transport_template.c | |
parent | 0e5752c4c3a0a3a76c5d434be10fab4613835bda (diff) | |
download | gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.tar.gz gnunet-7dd5cd13dd34be6a6ba90e586f599cfada951648.zip |
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.c | 8 |
1 files changed, 8 insertions, 0 deletions
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, | |||
378 | return NULL; | 378 | return NULL; |
379 | } | 379 | } |
380 | 380 | ||
381 | static void | ||
382 | template_plugin_update_session_timeout (void *cls, | ||
383 | const struct GNUNET_PeerIdentity *peer, | ||
384 | struct Session *session) | ||
385 | { | ||
386 | |||
387 | } | ||
381 | 388 | ||
382 | /** | 389 | /** |
383 | * Entry point for the plugin. | 390 | * Entry point for the plugin. |
@@ -415,6 +422,7 @@ libgnunet_plugin_transport_template_init (void *cls) | |||
415 | api->string_to_address = &template_plugin_string_to_address; | 422 | api->string_to_address = &template_plugin_string_to_address; |
416 | api->get_session = &template_plugin_get_session; | 423 | api->get_session = &template_plugin_get_session; |
417 | api->get_network = &template_plugin_get_network; | 424 | api->get_network = &template_plugin_get_network; |
425 | api->update_session_timeout = &template_plugin_update_session_timeout; | ||
418 | LOG (GNUNET_ERROR_TYPE_INFO, "Template plugin successfully loaded\n"); | 426 | LOG (GNUNET_ERROR_TYPE_INFO, "Template plugin successfully loaded\n"); |
419 | return api; | 427 | return api; |
420 | } | 428 | } |