Function mysqlclient_sys::mysql_client_find_plugin[][src]

pub unsafe extern "C" fn mysql_client_find_plugin(
    mysql: *mut st_mysql,
    name: *const c_char,
    type_: c_int
) -> *mut st_mysql_client_plugin
Expand description

finds an already loaded plugin by name, or loads it, if necessary

@param mysql MYSQL structure. @param name a name of the plugin to load @param type type of plugin that should be loaded

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