Type Definition gnunet_sys::GNUNET_PLUGIN_Callback[][src]

type GNUNET_PLUGIN_Callback = Option<unsafe extern "C" fn(arg: *mut c_void) -> *mut c_void>;

Signature of any function exported by a plugin.

@param arg argument to the function (context) @return some pointer, NULL if the plugin was shutdown or if there was an error, otherwise the plugin’s API on success