diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-16 16:03:20 +0000 |
commit | 16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch) | |
tree | e09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/transport/gnunet-service-transport_plugins.h | |
parent | 4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff) | |
download | gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip |
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r-- | src/transport/gnunet-service-transport_plugins.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h index ebc8fa451..856b594cd 100644 --- a/src/transport/gnunet-service-transport_plugins.h +++ b/src/transport/gnunet-service-transport_plugins.h | |||
@@ -42,15 +42,17 @@ | |||
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 | */ |
45 | void GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb, | 45 | void |
46 | GNUNET_TRANSPORT_AddressNotification address_cb, | 46 | GST_plugins_load (GNUNET_TRANSPORT_PluginReceiveCallback recv_cb, |
47 | GNUNET_TRANSPORT_SessionEnd session_end_cb); | 47 | GNUNET_TRANSPORT_AddressNotification address_cb, |
48 | GNUNET_TRANSPORT_SessionEnd session_end_cb); | ||
48 | 49 | ||
49 | 50 | ||
50 | /** | 51 | /** |
51 | * Unload all plugins | 52 | * Unload all plugins |
52 | */ | 53 | */ |
53 | void GST_plugins_unload (void); | 54 | void |
55 | GST_plugins_unload (void); | ||
54 | 56 | ||
55 | 57 | ||
56 | /** | 58 | /** |
@@ -59,7 +61,8 @@ void GST_plugins_unload (void); | |||
59 | * @param name name of the plugin | 61 | * @param name name of the plugin |
60 | * @return the plugin's API, NULL if the plugin is not loaded | 62 | * @return the plugin's API, NULL if the plugin is not loaded |
61 | */ | 63 | */ |
62 | struct GNUNET_TRANSPORT_PluginFunctions *GST_plugins_find (const char *name); | 64 | struct GNUNET_TRANSPORT_PluginFunctions * |
65 | GST_plugins_find (const char *name); | ||
63 | 66 | ||
64 | 67 | ||
65 | /** | 68 | /** |
@@ -71,8 +74,8 @@ struct GNUNET_TRANSPORT_PluginFunctions *GST_plugins_find (const char *name); | |||
71 | * @param addrlen number of bytes in 'addr' | 74 | * @param addrlen number of bytes in 'addr' |
72 | * @return statically allocated (!) human-readable address | 75 | * @return statically allocated (!) human-readable address |
73 | */ | 76 | */ |
74 | const char *GST_plugins_a2s (const char *name, const void *addr, | 77 | const char * |
75 | size_t addrlen); | 78 | GST_plugins_a2s (const char *name, const void *addr, size_t addrlen); |
76 | 79 | ||
77 | 80 | ||
78 | #endif | 81 | #endif |