Function gnunet_sys::GNUNET_PLUGIN_test[][src]

pub unsafe extern "C" fn GNUNET_PLUGIN_test(
    library_name: *const c_char
) -> c_int

Test if a plugin exists.

Note that the library must export a symbol called “library_name_init” for the test to succeed.

@param library_name name of the plugin to test if it is installed @return #GNUNET_YES if the plugin exists, #GNUNET_NO if not