Struct mysqlclient_sys::st_mariadb_api
source · #[repr(C)]pub struct st_mariadb_api {Show 115 fields
pub mysql_num_rows: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_ulonglong>,
pub mysql_num_fields: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_uint>,
pub mysql_eof: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> my_bool>,
pub mysql_fetch_field_direct: Option<unsafe extern "C" fn(res: *mut MYSQL_RES, fieldnr: c_uint) -> *mut MYSQL_FIELD>,
pub mysql_fetch_fields: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> *mut MYSQL_FIELD>,
pub mysql_row_tell: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> *mut MYSQL_ROWS>,
pub mysql_field_tell: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_uint>,
pub mysql_field_count: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>,
pub mysql_more_results: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_next_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
pub mysql_affected_rows: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulonglong>,
pub mysql_autocommit: Option<unsafe extern "C" fn(mysql: *mut MYSQL, mode: my_bool) -> my_bool>,
pub mysql_commit: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_rollback: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_insert_id: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulonglong>,
pub mysql_errno: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>,
pub mysql_error: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mysql_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mysql_thread_id: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulong>,
pub mysql_character_set_name: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mysql_get_character_set_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL, cs: *mut MY_CHARSET_INFO)>,
pub mysql_set_character_set: Option<unsafe extern "C" fn(mysql: *mut MYSQL, csname: *const c_char) -> c_int>,
pub mariadb_get_infov: Option<unsafe extern "C" fn(mysql: *mut MYSQL, value: mariadb_value, arg: *mut c_void, ...) -> my_bool>,
pub mariadb_get_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL, value: mariadb_value, arg: *mut c_void) -> my_bool>,
pub mysql_init: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL>,
pub mysql_ssl_set: Option<unsafe extern "C" fn(mysql: *mut MYSQL, key: *const c_char, cert: *const c_char, ca: *const c_char, capath: *const c_char, cipher: *const c_char) -> c_int>,
pub mysql_get_ssl_cipher: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mysql_change_user: Option<unsafe extern "C" fn(mysql: *mut MYSQL, user: *const c_char, passwd: *const c_char, db: *const c_char) -> my_bool>,
pub mysql_real_connect: Option<unsafe extern "C" fn(mysql: *mut MYSQL, host: *const c_char, user: *const c_char, passwd: *const c_char, db: *const c_char, port: c_uint, unix_socket: *const c_char, clientflag: c_ulong) -> *mut MYSQL>,
pub mysql_close: Option<unsafe extern "C" fn(sock: *mut MYSQL)>,
pub mysql_select_db: Option<unsafe extern "C" fn(mysql: *mut MYSQL, db: *const c_char) -> c_int>,
pub mysql_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char) -> c_int>,
pub mysql_send_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char, length: c_ulong) -> c_int>,
pub mysql_read_query_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_real_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char, length: c_ulong) -> c_int>,
pub mysql_shutdown: Option<unsafe extern "C" fn(mysql: *mut MYSQL, shutdown_level: mysql_enum_shutdown_level) -> c_int>,
pub mysql_dump_debug_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
pub mysql_refresh: Option<unsafe extern "C" fn(mysql: *mut MYSQL, refresh_options: c_uint) -> c_int>,
pub mysql_kill: Option<unsafe extern "C" fn(mysql: *mut MYSQL, pid: c_ulong) -> c_int>,
pub mysql_ping: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
pub mysql_stat: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>,
pub mysql_get_server_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>,
pub mysql_get_server_version: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulong>,
pub mysql_get_host_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>,
pub mysql_get_proto_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>,
pub mysql_list_dbs: Option<unsafe extern "C" fn(mysql: *mut MYSQL, wild: *const c_char) -> *mut MYSQL_RES>,
pub mysql_list_tables: Option<unsafe extern "C" fn(mysql: *mut MYSQL, wild: *const c_char) -> *mut MYSQL_RES>,
pub mysql_list_fields: Option<unsafe extern "C" fn(mysql: *mut MYSQL, table: *const c_char, wild: *const c_char) -> *mut MYSQL_RES>,
pub mysql_list_processes: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>,
pub mysql_store_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>,
pub mysql_use_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>,
pub mysql_options: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *const c_void) -> c_int>,
pub mysql_free_result: Option<unsafe extern "C" fn(result: *mut MYSQL_RES)>,
pub mysql_data_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, offset: c_ulonglong)>,
pub mysql_row_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, arg1: MYSQL_ROW_OFFSET) -> MYSQL_ROW_OFFSET>,
pub mysql_field_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, offset: MYSQL_FIELD_OFFSET) -> MYSQL_FIELD_OFFSET>,
pub mysql_fetch_row: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> MYSQL_ROW>,
pub mysql_fetch_lengths: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> *mut c_ulong>,
pub mysql_fetch_field: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> *mut MYSQL_FIELD>,
pub mysql_escape_string: Option<unsafe extern "C" fn(to: *mut c_char, from: *const c_char, from_length: c_ulong) -> c_ulong>,
pub mysql_real_escape_string: Option<unsafe extern "C" fn(mysql: *mut MYSQL, to: *mut c_char, from: *const c_char, length: c_ulong) -> c_ulong>,
pub mysql_thread_safe: Option<unsafe extern "C" fn() -> c_uint>,
pub mysql_warning_count: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>,
pub mysql_sqlstate: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mysql_server_init: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char, groups: *mut *mut c_char) -> c_int>,
pub mysql_server_end: Option<unsafe extern "C" fn()>,
pub mysql_thread_end: Option<unsafe extern "C" fn()>,
pub mysql_thread_init: Option<unsafe extern "C" fn() -> my_bool>,
pub mysql_set_server_option: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: enum_mysql_set_option) -> c_int>,
pub mysql_get_client_info: Option<unsafe extern "C" fn() -> *const c_char>,
pub mysql_get_client_version: Option<unsafe extern "C" fn() -> c_ulong>,
pub mariadb_connection: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_get_server_name: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>,
pub mariadb_get_charset_by_name: Option<unsafe extern "C" fn(csname: *const c_char) -> *mut MARIADB_CHARSET_INFO>,
pub mariadb_get_charset_by_nr: Option<unsafe extern "C" fn(csnr: c_uint) -> *mut MARIADB_CHARSET_INFO>,
pub mariadb_convert_string: Option<unsafe extern "C" fn(from: *const c_char, from_len: *mut usize, from_cs: *mut MARIADB_CHARSET_INFO, to: *mut c_char, to_len: *mut usize, to_cs: *mut MARIADB_CHARSET_INFO, errorcode: *mut c_int) -> usize>,
pub mysql_optionsv: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, ...) -> c_int>,
pub mysql_get_optionv: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *mut c_void, ...) -> c_int>,
pub mysql_get_option: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *mut c_void) -> c_int>,
pub mysql_hex_string: Option<unsafe extern "C" fn(to: *mut c_char, from: *const c_char, len: c_ulong) -> c_ulong>,
pub mysql_get_socket: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_socket>,
pub mysql_get_timeout_value: Option<unsafe extern "C" fn(mysql: *const MYSQL) -> c_uint>,
pub mysql_get_timeout_value_ms: Option<unsafe extern "C" fn(mysql: *const MYSQL) -> c_uint>,
pub mariadb_reconnect: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>,
pub mysql_stmt_init: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_STMT>,
pub mysql_stmt_prepare: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, query: *const c_char, length: c_ulong) -> c_int>,
pub mysql_stmt_execute: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub mysql_stmt_fetch: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub mysql_stmt_fetch_column: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bind_arg: *mut MYSQL_BIND, column: c_uint, offset: c_ulong) -> c_int>,
pub mysql_stmt_store_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub mysql_stmt_param_count: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulong>,
pub mysql_stmt_attr_set: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, attr_type: enum_stmt_attr_type, attr: *const c_void) -> my_bool>,
pub mysql_stmt_attr_get: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, attr_type: enum_stmt_attr_type, attr: *mut c_void) -> my_bool>,
pub mysql_stmt_bind_param: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bnd: *mut MYSQL_BIND) -> my_bool>,
pub mysql_stmt_bind_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bnd: *mut MYSQL_BIND) -> my_bool>,
pub mysql_stmt_close: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub mysql_stmt_reset: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub mysql_stmt_free_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub mysql_stmt_send_long_data: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, param_number: c_uint, data: *const c_char, length: c_ulong) -> my_bool>,
pub mysql_stmt_result_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *mut MYSQL_RES>,
pub mysql_stmt_param_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *mut MYSQL_RES>,
pub mysql_stmt_errno: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_uint>,
pub mysql_stmt_error: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *const c_char>,
pub mysql_stmt_sqlstate: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *const c_char>,
pub mysql_stmt_row_seek: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, offset: MYSQL_ROW_OFFSET) -> MYSQL_ROW_OFFSET>,
pub mysql_stmt_row_tell: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> MYSQL_ROW_OFFSET>,
pub mysql_stmt_data_seek: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, offset: c_ulonglong)>,
pub mysql_stmt_num_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>,
pub mysql_stmt_affected_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>,
pub mysql_stmt_insert_id: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>,
pub mysql_stmt_field_count: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_uint>,
pub mysql_stmt_next_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>,
pub mysql_stmt_more_results: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>,
pub mariadb_stmt_execute_direct: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, stmtstr: *const c_char, length: usize) -> c_int>,
pub mysql_reset_connection: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>,
}
Fields§
§mysql_num_rows: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_ulonglong>
§mysql_num_fields: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_uint>
§mysql_eof: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> my_bool>
§mysql_fetch_field_direct: Option<unsafe extern "C" fn(res: *mut MYSQL_RES, fieldnr: c_uint) -> *mut MYSQL_FIELD>
§mysql_fetch_fields: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> *mut MYSQL_FIELD>
§mysql_row_tell: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> *mut MYSQL_ROWS>
§mysql_field_tell: Option<unsafe extern "C" fn(res: *mut MYSQL_RES) -> c_uint>
§mysql_field_count: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>
§mysql_more_results: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_next_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
§mysql_affected_rows: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulonglong>
§mysql_autocommit: Option<unsafe extern "C" fn(mysql: *mut MYSQL, mode: my_bool) -> my_bool>
§mysql_commit: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_rollback: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_insert_id: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulonglong>
§mysql_errno: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>
§mysql_error: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mysql_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mysql_thread_id: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulong>
§mysql_character_set_name: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mysql_get_character_set_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL, cs: *mut MY_CHARSET_INFO)>
§mysql_set_character_set: Option<unsafe extern "C" fn(mysql: *mut MYSQL, csname: *const c_char) -> c_int>
§mariadb_get_infov: Option<unsafe extern "C" fn(mysql: *mut MYSQL, value: mariadb_value, arg: *mut c_void, ...) -> my_bool>
§mariadb_get_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL, value: mariadb_value, arg: *mut c_void) -> my_bool>
§mysql_init: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL>
§mysql_ssl_set: Option<unsafe extern "C" fn(mysql: *mut MYSQL, key: *const c_char, cert: *const c_char, ca: *const c_char, capath: *const c_char, cipher: *const c_char) -> c_int>
§mysql_get_ssl_cipher: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mysql_change_user: Option<unsafe extern "C" fn(mysql: *mut MYSQL, user: *const c_char, passwd: *const c_char, db: *const c_char) -> my_bool>
§mysql_real_connect: Option<unsafe extern "C" fn(mysql: *mut MYSQL, host: *const c_char, user: *const c_char, passwd: *const c_char, db: *const c_char, port: c_uint, unix_socket: *const c_char, clientflag: c_ulong) -> *mut MYSQL>
§mysql_close: Option<unsafe extern "C" fn(sock: *mut MYSQL)>
§mysql_select_db: Option<unsafe extern "C" fn(mysql: *mut MYSQL, db: *const c_char) -> c_int>
§mysql_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char) -> c_int>
§mysql_send_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char, length: c_ulong) -> c_int>
§mysql_read_query_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_real_query: Option<unsafe extern "C" fn(mysql: *mut MYSQL, q: *const c_char, length: c_ulong) -> c_int>
§mysql_shutdown: Option<unsafe extern "C" fn(mysql: *mut MYSQL, shutdown_level: mysql_enum_shutdown_level) -> c_int>
§mysql_dump_debug_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
§mysql_refresh: Option<unsafe extern "C" fn(mysql: *mut MYSQL, refresh_options: c_uint) -> c_int>
§mysql_kill: Option<unsafe extern "C" fn(mysql: *mut MYSQL, pid: c_ulong) -> c_int>
§mysql_ping: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
§mysql_stat: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>
§mysql_get_server_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>
§mysql_get_server_version: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_ulong>
§mysql_get_host_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut c_char>
§mysql_get_proto_info: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>
§mysql_list_dbs: Option<unsafe extern "C" fn(mysql: *mut MYSQL, wild: *const c_char) -> *mut MYSQL_RES>
§mysql_list_tables: Option<unsafe extern "C" fn(mysql: *mut MYSQL, wild: *const c_char) -> *mut MYSQL_RES>
§mysql_list_fields: Option<unsafe extern "C" fn(mysql: *mut MYSQL, table: *const c_char, wild: *const c_char) -> *mut MYSQL_RES>
§mysql_list_processes: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>
§mysql_store_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>
§mysql_use_result: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_RES>
§mysql_options: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *const c_void) -> c_int>
§mysql_free_result: Option<unsafe extern "C" fn(result: *mut MYSQL_RES)>
§mysql_data_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, offset: c_ulonglong)>
§mysql_row_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, arg1: MYSQL_ROW_OFFSET) -> MYSQL_ROW_OFFSET>
§mysql_field_seek: Option<unsafe extern "C" fn(result: *mut MYSQL_RES, offset: MYSQL_FIELD_OFFSET) -> MYSQL_FIELD_OFFSET>
§mysql_fetch_row: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> MYSQL_ROW>
§mysql_fetch_lengths: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> *mut c_ulong>
§mysql_fetch_field: Option<unsafe extern "C" fn(result: *mut MYSQL_RES) -> *mut MYSQL_FIELD>
§mysql_escape_string: Option<unsafe extern "C" fn(to: *mut c_char, from: *const c_char, from_length: c_ulong) -> c_ulong>
§mysql_real_escape_string: Option<unsafe extern "C" fn(mysql: *mut MYSQL, to: *mut c_char, from: *const c_char, length: c_ulong) -> c_ulong>
§mysql_thread_safe: Option<unsafe extern "C" fn() -> c_uint>
§mysql_warning_count: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_uint>
§mysql_sqlstate: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mysql_server_init: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *mut c_char, groups: *mut *mut c_char) -> c_int>
§mysql_server_end: Option<unsafe extern "C" fn()>
§mysql_thread_end: Option<unsafe extern "C" fn()>
§mysql_thread_init: Option<unsafe extern "C" fn() -> my_bool>
§mysql_set_server_option: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: enum_mysql_set_option) -> c_int>
§mysql_get_client_info: Option<unsafe extern "C" fn() -> *const c_char>
§mysql_get_client_version: Option<unsafe extern "C" fn() -> c_ulong>
§mariadb_connection: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_get_server_name: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *const c_char>
§mariadb_get_charset_by_name: Option<unsafe extern "C" fn(csname: *const c_char) -> *mut MARIADB_CHARSET_INFO>
§mariadb_get_charset_by_nr: Option<unsafe extern "C" fn(csnr: c_uint) -> *mut MARIADB_CHARSET_INFO>
§mariadb_convert_string: Option<unsafe extern "C" fn(from: *const c_char, from_len: *mut usize, from_cs: *mut MARIADB_CHARSET_INFO, to: *mut c_char, to_len: *mut usize, to_cs: *mut MARIADB_CHARSET_INFO, errorcode: *mut c_int) -> usize>
§mysql_optionsv: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, ...) -> c_int>
§mysql_get_optionv: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *mut c_void, ...) -> c_int>
§mysql_get_option: Option<unsafe extern "C" fn(mysql: *mut MYSQL, option: mysql_option, arg: *mut c_void) -> c_int>
§mysql_hex_string: Option<unsafe extern "C" fn(to: *mut c_char, from: *const c_char, len: c_ulong) -> c_ulong>
§mysql_get_socket: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_socket>
§mysql_get_timeout_value: Option<unsafe extern "C" fn(mysql: *const MYSQL) -> c_uint>
§mysql_get_timeout_value_ms: Option<unsafe extern "C" fn(mysql: *const MYSQL) -> c_uint>
§mariadb_reconnect: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> my_bool>
§mysql_stmt_init: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> *mut MYSQL_STMT>
§mysql_stmt_prepare: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, query: *const c_char, length: c_ulong) -> c_int>
§mysql_stmt_execute: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§mysql_stmt_fetch: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§mysql_stmt_fetch_column: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bind_arg: *mut MYSQL_BIND, column: c_uint, offset: c_ulong) -> c_int>
§mysql_stmt_store_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§mysql_stmt_param_count: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulong>
§mysql_stmt_attr_set: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, attr_type: enum_stmt_attr_type, attr: *const c_void) -> my_bool>
§mysql_stmt_attr_get: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, attr_type: enum_stmt_attr_type, attr: *mut c_void) -> my_bool>
§mysql_stmt_bind_param: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bnd: *mut MYSQL_BIND) -> my_bool>
§mysql_stmt_bind_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, bnd: *mut MYSQL_BIND) -> my_bool>
§mysql_stmt_close: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§mysql_stmt_reset: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§mysql_stmt_free_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§mysql_stmt_send_long_data: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, param_number: c_uint, data: *const c_char, length: c_ulong) -> my_bool>
§mysql_stmt_result_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *mut MYSQL_RES>
§mysql_stmt_param_metadata: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *mut MYSQL_RES>
§mysql_stmt_errno: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_uint>
§mysql_stmt_error: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *const c_char>
§mysql_stmt_sqlstate: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> *const c_char>
§mysql_stmt_row_seek: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, offset: MYSQL_ROW_OFFSET) -> MYSQL_ROW_OFFSET>
§mysql_stmt_row_tell: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> MYSQL_ROW_OFFSET>
§mysql_stmt_data_seek: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, offset: c_ulonglong)>
§mysql_stmt_num_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>
§mysql_stmt_affected_rows: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>
§mysql_stmt_insert_id: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_ulonglong>
§mysql_stmt_field_count: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_uint>
§mysql_stmt_next_result: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> c_int>
§mysql_stmt_more_results: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT) -> my_bool>
§mariadb_stmt_execute_direct: Option<unsafe extern "C" fn(stmt: *mut MYSQL_STMT, stmtstr: *const c_char, length: usize) -> c_int>
§mysql_reset_connection: Option<unsafe extern "C" fn(mysql: *mut MYSQL) -> c_int>
Trait Implementations§
source§impl Clone for st_mariadb_api
impl Clone for st_mariadb_api
source§fn clone(&self) -> st_mariadb_api
fn clone(&self) -> st_mariadb_api
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for st_mariadb_api
impl Debug for st_mariadb_api
impl Copy for st_mariadb_api
Auto Trait Implementations§
impl Freeze for st_mariadb_api
impl RefUnwindSafe for st_mariadb_api
impl Send for st_mariadb_api
impl Sync for st_mariadb_api
impl Unpin for st_mariadb_api
impl UnwindSafe for st_mariadb_api
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)