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_wlan.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_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 916998dcc..212394248 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -1856,6 +1856,14 @@ wlan_string_to_address (void *cls, const char *addr, uint16_t addrlen, | |||
1856 | } | 1856 | } |
1857 | 1857 | ||
1858 | 1858 | ||
1859 | static void | ||
1860 | wlan_plugin_update_session_timeout (void *cls, | ||
1861 | const struct GNUNET_PeerIdentity *peer, | ||
1862 | struct Session *session) | ||
1863 | { | ||
1864 | |||
1865 | } | ||
1866 | |||
1859 | /** | 1867 | /** |
1860 | * Entry point for the plugin. | 1868 | * Entry point for the plugin. |
1861 | * | 1869 | * |
@@ -1989,6 +1997,7 @@ libgnunet_plugin_transport_wlan_init (void *cls) | |||
1989 | api->address_to_string = &wlan_plugin_address_to_string; | 1997 | api->address_to_string = &wlan_plugin_address_to_string; |
1990 | api->string_to_address = &wlan_string_to_address; | 1998 | api->string_to_address = &wlan_string_to_address; |
1991 | api->get_network = &wlan_get_network; | 1999 | api->get_network = &wlan_get_network; |
2000 | api->update_session_timeout = &wlan_plugin_update_session_timeout; | ||
1992 | return api; | 2001 | return api; |
1993 | } | 2002 | } |
1994 | 2003 | ||