Function mysqlclient_sys::mysql_load_plugin [] [src]

pub unsafe extern fn mysql_load_plugin(mysql: *mut st_mysql,
                                       name: *const c_char,
                                       type_: c_int,
                                       argc: c_int,
                                       ...)
                                       -> *mut st_mysql_client_plugin

loads a plugin and initializes it

@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 ... arguments for the plugin initialization function

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