aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_plugin_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_plugin_lib.h')
-rw-r--r--src/include/gnunet_plugin_lib.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/include/gnunet_plugin_lib.h b/src/include/gnunet_plugin_lib.h
index 9608abd4c..fbc7e2617 100644
--- a/src/include/gnunet_plugin_lib.h
+++ b/src/include/gnunet_plugin_lib.h
@@ -59,7 +59,8 @@ typedef void *(*GNUNET_PLUGIN_Callback) (void *arg);
59 * @param library_name name of the plugin to test if it is installed 59 * @param library_name name of the plugin to test if it is installed
60 * @return GNUNET_YES if the plugin exists, GNUNET_NO if not 60 * @return GNUNET_YES if the plugin exists, GNUNET_NO if not
61 */ 61 */
62int GNUNET_PLUGIN_test (const char *library_name); 62int
63GNUNET_PLUGIN_test (const char *library_name);
63 64
64/** 65/**
65 * Setup plugin (runs the "init" callback and returns whatever "init" 66 * Setup plugin (runs the "init" callback and returns whatever "init"
@@ -73,7 +74,8 @@ int GNUNET_PLUGIN_test (const char *library_name);
73 * @param arg argument to the plugin initialization function 74 * @param arg argument to the plugin initialization function
74 * @return whatever the initialization function returned, NULL on error 75 * @return whatever the initialization function returned, NULL on error
75 */ 76 */
76void *GNUNET_PLUGIN_load (const char *library_name, void *arg); 77void *
78GNUNET_PLUGIN_load (const char *library_name, void *arg);
77 79
78 80
79/** 81/**
@@ -85,7 +87,8 @@ void *GNUNET_PLUGIN_load (const char *library_name, void *arg);
85 * @return whatever the shutdown function returned, typically NULL 87 * @return whatever the shutdown function returned, typically NULL
86 * or a "char *" representing the error message 88 * or a "char *" representing the error message
87 */ 89 */
88void *GNUNET_PLUGIN_unload (const char *library_name, void *arg); 90void *
91GNUNET_PLUGIN_unload (const char *library_name, void *arg);
89 92
90 93
91#if 0 /* keep Emacsens' auto-indent happy */ 94#if 0 /* keep Emacsens' auto-indent happy */