Function mysqlclient_sys::mysql_load_plugin_v

source ·
pub unsafe extern "C" fn mysql_load_plugin_v(
    mysql: *mut st_mysql,
    name: *const c_char,
    type_: c_int,
    argc: c_int,
    args: *mut __va_list_tag
) -> *mut st_mysql_client_plugin
Expand description

loads a plugin and initializes it, taking va_list as an argument

This is the same as mysql_load_plugin, but take va_list instead of a list of arguments.

@param mysql MYSQL structure. @param name a name of the plugin to load @param type type of plugin that should be loaded, -1 to disable type check @param argc number of arguments to pass to the plugin initialization function @param args arguments for the plugin initialization function

@retval a pointer to the loaded plugin, or NULL in case of a failure