diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:29 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-12-18 11:31:29 +0000 |
commit | 0e5752c4c3a0a3a76c5d434be10fab4613835bda (patch) | |
tree | f920f19d5713784602bea21c57ef2508774c3bc0 | |
parent | 24217860d278d086472f512948bbc55623a58ccf (diff) | |
download | gnunet-0e5752c4c3a0a3a76c5d434be10fab4613835bda.tar.gz gnunet-0e5752c4c3a0a3a76c5d434be10fab4613835bda.zip |
new timeout function
-rw-r--r-- | src/dv/plugin_transport_dv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dv/plugin_transport_dv.c b/src/dv/plugin_transport_dv.c index db445f1ab..142bfaa3d 100644 --- a/src/dv/plugin_transport_dv.c +++ b/src/dv/plugin_transport_dv.c | |||
@@ -742,7 +742,13 @@ dv_plugin_string_to_address (void *cls, | |||
742 | return GNUNET_SYSERR; | 742 | return GNUNET_SYSERR; |
743 | } | 743 | } |
744 | 744 | ||
745 | static void | ||
746 | dv_plugin_update_session_timeout (void *cls, | ||
747 | const struct GNUNET_PeerIdentity *peer, | ||
748 | struct Session *session) | ||
749 | { | ||
745 | 750 | ||
751 | } | ||
746 | 752 | ||
747 | /** | 753 | /** |
748 | * Function to obtain the network type for a session | 754 | * Function to obtain the network type for a session |
@@ -821,6 +827,7 @@ libgnunet_plugin_transport_dv_init (void *cls) | |||
821 | api->query_keepalive_factor = &dv_plugin_query_keepalive_factor; | 827 | api->query_keepalive_factor = &dv_plugin_query_keepalive_factor; |
822 | api->get_session = &dv_get_session; | 828 | api->get_session = &dv_get_session; |
823 | api->get_network = &dv_get_network; | 829 | api->get_network = &dv_get_network; |
830 | api->update_session_timeout = &dv_plugin_update_session_timeout; | ||
824 | return api; | 831 | return api; |
825 | } | 832 | } |
826 | 833 | ||