Plugin loading and unloading. More...
Go to the source code of this file.
Typedefs | |
typedef void *(* | GNUNET_PLUGIN_Callback) (void *arg) |
Signature of any function exported by a plugin. More... | |
typedef void(* | GNUNET_PLUGIN_LoaderCallback) (void *cls, const char *library_name, void *lib_ret) |
Signature of a function called by GNUNET_PLUGIN_load_all(). More... | |
Functions | |
enum GNUNET_GenericReturnValue | GNUNET_PLUGIN_test (const struct GNUNET_OS_ProjectData *pd, const char *library_name) |
Test if a plugin exists. More... | |
void * | GNUNET_PLUGIN_load (const struct GNUNET_OS_ProjectData *pd, const char *library_name, void *arg) |
Setup plugin (runs the "init" callback and returns whatever "init" returned). More... | |
void | GNUNET_PLUGIN_load_all (const struct GNUNET_OS_ProjectData *pd, const char *basename, void *arg, GNUNET_PLUGIN_LoaderCallback cb, void *cb_cls) |
Load all compatible plugins with the given base name. More... | |
void * | GNUNET_PLUGIN_unload (const char *library_name, void *arg) |
Unload plugin (runs the "done" callback and returns whatever "done" returned). More... | |
Plugin loading and unloading.
Definition in file gnunet_plugin_lib.h.