aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz
gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip
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 @@
42 * @param address_cb function to call when our public addresses changed 42 * @param address_cb function to call when our public addresses changed
43 * @param session_end_cb function to call when a session was terminated 43 * @param session_end_cb function to call when a session was terminated
44 */ 44 */
45void 45void
46GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb, 46GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb,
47 GNUNET_TRANSPORT_AddressNotification address_cb, 47 GNUNET_TRANSPORT_AddressNotification address_cb,
48 GNUNET_TRANSPORT_SessionEnd session_end_cb); 48 GNUNET_TRANSPORT_SessionEnd session_end_cb);
49 49
50 50
51/** 51/**
52 * Unload all plugins 52 * Unload all plugins
53 */ 53 */
54void 54void GST_plugins_unload (void);
55GST_plugins_unload (void);
56 55
57 56
58/** 57/**
@@ -61,8 +60,7 @@ GST_plugins_unload (void);
61 * @param name name of the plugin 60 * @param name name of the plugin
62 * @return the plugin's API, NULL if the plugin is not loaded 61 * @return the plugin's API, NULL if the plugin is not loaded
63 */ 62 */
64struct GNUNET_TRANSPORT_PluginFunctions * 63struct GNUNET_TRANSPORT_PluginFunctions *GST_plugins_find (const char *name);
65GST_plugins_find (const char *name);
66 64
67 65
68/** 66/**
@@ -74,10 +72,8 @@ GST_plugins_find (const char *name);
74 * @param addrlen number of bytes in 'addr' 72 * @param addrlen number of bytes in 'addr'
75 * @return statically allocated (!) human-readable address 73 * @return statically allocated (!) human-readable address
76 */ 74 */
77const char * 75const char *GST_plugins_a2s (const char *name,
78GST_plugins_a2s (const char *name, 76 const void *addr, size_t addrlen);
79 const void *addr,
80 size_t addrlen);
81 77
82 78
83#endif 79#endif