diff options
Diffstat (limited to 'src/include/gnunet_plugin_lib.h')
-rw-r--r-- | src/include/gnunet_plugin_lib.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/include/gnunet_plugin_lib.h b/src/include/gnunet_plugin_lib.h index ff795d975..387ca381c 100644 --- a/src/include/gnunet_plugin_lib.h +++ b/src/include/gnunet_plugin_lib.h | |||
@@ -89,9 +89,9 @@ GNUNET_PLUGIN_load (const char *library_name, void *arg); | |||
89 | * of the library (same as what 'GNUNET_PLUGIN_load' would | 89 | * of the library (same as what 'GNUNET_PLUGIN_load' would |
90 | * have returned for the given library name) | 90 | * have returned for the given library name) |
91 | */ | 91 | */ |
92 | typedef void (*GNUNET_PLUGIN_LoaderCallback)(void *cls, | 92 | typedef void (*GNUNET_PLUGIN_LoaderCallback) (void *cls, |
93 | const char *library_name, | 93 | const char *library_name, |
94 | void *lib_ret); | 94 | void *lib_ret); |
95 | 95 | ||
96 | 96 | ||
97 | /** | 97 | /** |
@@ -106,11 +106,9 @@ typedef void (*GNUNET_PLUGIN_LoaderCallback)(void *cls, | |||
106 | * @param cb function to call for each plugin found | 106 | * @param cb function to call for each plugin found |
107 | * @param cb_cls closure for 'cb' | 107 | * @param cb_cls closure for 'cb' |
108 | */ | 108 | */ |
109 | void | 109 | void |
110 | GNUNET_PLUGIN_load_all (const char *basename, | 110 | GNUNET_PLUGIN_load_all (const char *basename, void *arg, |
111 | void *arg, | 111 | GNUNET_PLUGIN_LoaderCallback cb, void *cb_cls); |
112 | GNUNET_PLUGIN_LoaderCallback cb, | ||
113 | void *cb_cls); | ||
114 | 112 | ||
115 | 113 | ||
116 | /** | 114 | /** |