Type Definition gnunet_sys::GNUNET_PLUGIN_LoaderCallback[][src]

type GNUNET_PLUGIN_LoaderCallback = Option<unsafe extern "C" fn(cls: *mut c_void, library_name: *const c_char, lib_ret: *mut c_void)>;

Signature of a function called by #GNUNET_PLUGIN_load_all().

@param cls closure @param library_name full name of the library (to be used with #GNUNET_PLUGIN_unload) @param lib_ret return value from the initialization function of the library (same as what #GNUNET_PLUGIN_load would have returned for the given library name)