summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
commit502af2167f7c218366666ca4944bd7cc54b5b19a (patch)
treea91fec5cc9769d260640bd91c6633cb9cf395524 /src/transport/gnunet-service-transport_plugins.h
parent03af5a603b7cc53432249d5854cd412aa90dde0d (diff)
indentation
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h
index 2852ab4bb..f3f46e342 100644
--- a/src/transport/gnunet-service-transport_plugins.h
+++ b/src/transport/gnunet-service-transport_plugins.h
@@ -42,17 +42,16 @@
* @param address_cb function to call when our public addresses changed
* @param session_end_cb function to call when a session was terminated
*/
-void
+void
GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb,
- GNUNET_TRANSPORT_AddressNotification address_cb,
- GNUNET_TRANSPORT_SessionEnd session_end_cb);
+ GNUNET_TRANSPORT_AddressNotification address_cb,
+ GNUNET_TRANSPORT_SessionEnd session_end_cb);
/**
* Unload all plugins
*/
-void
-GST_plugins_unload (void);
+void GST_plugins_unload (void);
/**
@@ -61,8 +60,7 @@ GST_plugins_unload (void);
* @param name name of the plugin
* @return the plugin's API, NULL if the plugin is not loaded
*/
-struct GNUNET_TRANSPORT_PluginFunctions *
-GST_plugins_find (const char *name);
+struct GNUNET_TRANSPORT_PluginFunctions *GST_plugins_find (const char *name);
/**
@@ -74,10 +72,8 @@ GST_plugins_find (const char *name);
* @param addrlen number of bytes in 'addr'
* @return statically allocated (!) human-readable address
*/
-const char *
-GST_plugins_a2s (const char *name,
- const void *addr,
- size_t addrlen);
+const char *GST_plugins_a2s (const char *name,
+ const void *addr, size_t addrlen);
#endif