From b2da510b04fa057f7a4437fd23fcfb324ece9d85 Mon Sep 17 00:00:00 2001 From: Omar Ferrer Date: Sat, 8 Oct 2016 01:12:30 -0400 Subject: [PATCH] Reran bindgens to match the bundled sqlite. Added manually to the bindgens a type entry for 'Struct_sqlite3' pointing to sqlite3 to prevent changing multiple files. Reran bindgens as: bindgen --builtins --link=sqlite3 --output=./libsqlite3-sys/src/bindgen.rs ./libsqlite3-sys/sqlite3/sqlite3.h --- libsqlite3-sys/src/bindgen.rs | 2236 +++++++++++++++++++-------------- 1 file changed, 1296 insertions(+), 940 deletions(-) diff --git a/libsqlite3-sys/src/bindgen.rs b/libsqlite3-sys/src/bindgen.rs index 1b60335..542e34b 100644 --- a/libsqlite3-sys/src/bindgen.rs +++ b/libsqlite3-sys/src/bindgen.rs @@ -1,1601 +1,1957 @@ -#![allow(non_snake_case, non_camel_case_types)] /* automatically generated by rust-bindgen */ -pub type va_list = __builtin_va_list; +#![allow(dead_code, + non_camel_case_types, + non_upper_case_globals, + non_snake_case)] pub type __gnuc_va_list = __builtin_va_list; -pub enum Struct_sqlite3 { } -pub type sqlite3 = Struct_sqlite3; -pub type sqlite_int64 = ::libc::c_longlong; -pub type sqlite_uint64 = ::libc::c_ulonglong; +pub type va_list = __gnuc_va_list; +pub enum sqlite3 { } +//Manually inserted to minimize file changes +pub type Struct_sqlite3 = sqlite3; +pub type sqlite_int64 = ::std::os::raw::c_longlong; +pub type sqlite_uint64 = ::std::os::raw::c_ulonglong; pub type sqlite3_int64 = sqlite_int64; pub type sqlite3_uint64 = sqlite_uint64; pub type sqlite3_callback = - ::std::option::Option ::libc::c_int>; -pub type sqlite3_file = Struct_sqlite3_file; + ::std::option::Option ::std::os::raw::c_int>; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_file { - pub pMethods: *const Struct_sqlite3_io_methods, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_file { + pub pMethods: *const sqlite3_io_methods, } -impl ::std::clone::Clone for Struct_sqlite3_file { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_file { +impl ::std::default::Default for sqlite3_file { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub type sqlite3_io_methods = Struct_sqlite3_io_methods; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_io_methods { - pub iVersion: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_io_methods { + pub iVersion: ::std::os::raw::c_int, pub xClose: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xRead: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xWrite: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xTruncate: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xSync: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xFileSize: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xLock: ::std::option::Option ::libc::c_int>, + arg2: + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xUnlock: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xCheckReservedLock: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_int) + -> + ::std::os::raw::c_int>, pub xFileControl: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xSectorSize: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xDeviceCharacteristics: ::std::option::Option ::libc::c_int>, + -> + ::std::os::raw::c_int>, pub xShmMap: ::std::option::Option ::libc::c_int>, + *mut *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xShmLock: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xShmBarrier: ::std::option::Option ()>, + *mut sqlite3_file)>, pub xShmUnmap: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xFetch: ::std::option::Option ::libc::c_int>, + *mut *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xUnfetch: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, } -impl ::std::clone::Clone for Struct_sqlite3_io_methods { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_io_methods { +impl ::std::default::Default for sqlite3_io_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub enum Struct_sqlite3_mutex { } -pub type sqlite3_mutex = Struct_sqlite3_mutex; -pub type sqlite3_vfs = Struct_sqlite3_vfs; -pub type sqlite3_syscall_ptr = ::std::option::Option ()>; +pub enum sqlite3_mutex { } +pub type sqlite3_syscall_ptr = ::std::option::Option; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_vfs { - pub iVersion: ::libc::c_int, - pub szOsFile: ::libc::c_int, - pub mxPathname: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_vfs { + pub iVersion: ::std::os::raw::c_int, + pub szOsFile: ::std::os::raw::c_int, + pub mxPathname: ::std::os::raw::c_int, pub pNext: *mut sqlite3_vfs, - pub zName: *const ::libc::c_char, - pub pAppData: *mut ::libc::c_void, + pub zName: *const ::std::os::raw::c_char, + pub pAppData: *mut ::std::os::raw::c_void, pub xOpen: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xDelete: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xAccess: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xFullPathname: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xDlOpen: ::std::option::Option *mut ::libc::c_void>, + *const ::std::os::raw::c_char) + -> *mut ::std::os::raw::c_void>, pub xDlError: ::std::option::Option ()>, + *mut ::std::os::raw::c_char)>, pub xDlSym: ::std::option::Option ::std::option::Option - ()>>, + *const ::std::os::raw::c_char)>>, pub xDlClose: ::std::option::Option ()>, + *mut ::std::os::raw::c_void)>, pub xRandomness: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xSleep: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xCurrentTime: ::std::option::Option ::libc::c_int>, + *mut f64) + -> ::std::os::raw::c_int>, pub xGetLastError: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xCurrentTimeInt64: ::std::option::Option ::libc::c_int>, + -> + ::std::os::raw::c_int>, pub xSetSystemCall: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xGetSystemCall: ::std::option::Option sqlite3_syscall_ptr>, pub xNextSystemCall: ::std::option::Option *const ::libc::c_char>, + *const ::std::os::raw::c_char) + -> + *const ::std::os::raw::c_char>, } -impl ::std::clone::Clone for Struct_sqlite3_vfs { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_vfs { +impl ::std::default::Default for sqlite3_vfs { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub type sqlite3_mem_methods = Struct_sqlite3_mem_methods; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_mem_methods { - pub xMalloc: ::std::option::Option *mut ::libc::c_void>, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_mem_methods { + pub xMalloc: ::std::option::Option *mut ::std::os::raw::c_void>, pub xFree: ::std::option::Option ()>, + *mut ::std::os::raw::c_void)>, pub xRealloc: ::std::option::Option *mut ::libc::c_void>, + ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void>, pub xSize: ::std::option::Option ::libc::c_int>, - pub xRoundup: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, + pub xRoundup: ::std::option::Option ::std::os::raw::c_int>, pub xInit: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xShutdown: ::std::option::Option ()>, - pub pAppData: *mut ::libc::c_void, + *mut ::std::os::raw::c_void)>, + pub pAppData: *mut ::std::os::raw::c_void, } -impl ::std::clone::Clone for Struct_sqlite3_mem_methods { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_mem_methods { +impl ::std::default::Default for sqlite3_mem_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub enum Struct_sqlite3_stmt { } -pub type sqlite3_stmt = Struct_sqlite3_stmt; -pub enum Struct_Mem { } -pub type sqlite3_value = Struct_Mem; -pub enum Struct_sqlite3_context { } -pub type sqlite3_context = Struct_sqlite3_context; +pub enum sqlite3_stmt { } +pub enum Mem { } +pub type sqlite3_value = Mem; +pub enum sqlite3_context { } pub type sqlite3_destructor_type = - ::std::option::Option ()>; -pub type sqlite3_vtab = Struct_sqlite3_vtab; -pub type sqlite3_index_info = Struct_sqlite3_index_info; -pub type sqlite3_vtab_cursor = Struct_sqlite3_vtab_cursor; -pub type sqlite3_module = Struct_sqlite3_module; + ::std::option::Option; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_module { - pub iVersion: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_module { + pub iVersion: ::std::os::raw::c_int, pub xCreate: ::std::option::Option ::libc::c_int>, + *mut *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xConnect: ::std::option::Option ::libc::c_int>, + *mut *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xBestIndex: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xDisconnect: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xDestroy: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xOpen: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xClose: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xFilter: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xNext: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xEof: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xColumn: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xRowid: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xUpdate: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xBegin: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xSync: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xCommit: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xRollback: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xFindFunction: ::std::option::Option - ()>, + *mut *mut sqlite3_value)>, ppArg: - *mut *mut ::libc::c_void) - -> ::libc::c_int>, + *mut *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xRename: ::std::option::Option ::libc::c_int>, + *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int>, pub xSavepoint: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xRelease: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, pub xRollbackTo: ::std::option::Option ::libc::c_int>, + ::std::os::raw::c_int) + -> ::std::os::raw::c_int>, } -impl ::std::clone::Clone for Struct_sqlite3_module { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_module { +impl ::std::default::Default for sqlite3_module { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_index_info { - pub nConstraint: ::libc::c_int, - pub aConstraint: *mut Struct_sqlite3_index_constraint, - pub nOrderBy: ::libc::c_int, - pub aOrderBy: *mut Struct_sqlite3_index_orderby, - pub aConstraintUsage: *mut Struct_sqlite3_index_constraint_usage, - pub idxNum: ::libc::c_int, - pub idxStr: *mut ::libc::c_char, - pub needToFreeIdxStr: ::libc::c_int, - pub orderByConsumed: ::libc::c_int, - pub estimatedCost: ::libc::c_double, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_index_info { + pub nConstraint: ::std::os::raw::c_int, + pub aConstraint: *mut sqlite3_index_constraint, + pub nOrderBy: ::std::os::raw::c_int, + pub aOrderBy: *mut sqlite3_index_orderby, + pub aConstraintUsage: *mut sqlite3_index_constraint_usage, + pub idxNum: ::std::os::raw::c_int, + pub idxStr: *mut ::std::os::raw::c_char, + pub needToFreeIdxStr: ::std::os::raw::c_int, + pub orderByConsumed: ::std::os::raw::c_int, + pub estimatedCost: f64, pub estimatedRows: sqlite3_int64, + pub idxFlags: ::std::os::raw::c_int, + pub colUsed: sqlite3_uint64, } -impl ::std::clone::Clone for Struct_sqlite3_index_info { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_index_info { +impl ::std::default::Default for sqlite3_index_info { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_index_constraint { - pub iColumn: ::libc::c_int, - pub op: ::libc::c_uchar, - pub usable: ::libc::c_uchar, - pub iTermOffset: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_index_constraint { + pub iColumn: ::std::os::raw::c_int, + pub op: ::std::os::raw::c_uchar, + pub usable: ::std::os::raw::c_uchar, + pub iTermOffset: ::std::os::raw::c_int, } -impl ::std::clone::Clone for Struct_sqlite3_index_constraint { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_index_constraint { +impl ::std::default::Default for sqlite3_index_constraint { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_index_orderby { - pub iColumn: ::libc::c_int, - pub desc: ::libc::c_uchar, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_index_orderby { + pub iColumn: ::std::os::raw::c_int, + pub desc: ::std::os::raw::c_uchar, + _bindgen_padding_0_: [u8; 3usize], } -impl ::std::clone::Clone for Struct_sqlite3_index_orderby { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_index_orderby { +impl ::std::default::Default for sqlite3_index_orderby { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_index_constraint_usage { - pub argvIndex: ::libc::c_int, - pub omit: ::libc::c_uchar, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_index_constraint_usage { + pub argvIndex: ::std::os::raw::c_int, + pub omit: ::std::os::raw::c_uchar, + _bindgen_padding_0_: [u8; 3usize], } -impl ::std::clone::Clone for Struct_sqlite3_index_constraint_usage { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_index_constraint_usage { +impl ::std::default::Default for sqlite3_index_constraint_usage { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_vtab { +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_vtab { pub pModule: *const sqlite3_module, - pub nRef: ::libc::c_int, - pub zErrMsg: *mut ::libc::c_char, + pub nRef: ::std::os::raw::c_int, + pub zErrMsg: *mut ::std::os::raw::c_char, } -impl ::std::clone::Clone for Struct_sqlite3_vtab { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_vtab { +impl ::std::default::Default for sqlite3_vtab { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_vtab_cursor { +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_vtab_cursor { pub pVtab: *mut sqlite3_vtab, } -impl ::std::clone::Clone for Struct_sqlite3_vtab_cursor { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_vtab_cursor { +impl ::std::default::Default for sqlite3_vtab_cursor { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub enum Struct_sqlite3_blob { } -pub type sqlite3_blob = Struct_sqlite3_blob; -pub type sqlite3_mutex_methods = Struct_sqlite3_mutex_methods; +pub enum sqlite3_blob { } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_mutex_methods { - pub xMutexInit: ::std::option::Option ::libc::c_int>, - pub xMutexEnd: ::std::option::Option ::libc::c_int>, - pub xMutexAlloc: ::std::option::Option ::std::os::raw::c_int>, + pub xMutexEnd: ::std::option::Option ::std::os::raw::c_int>, + pub xMutexAlloc: ::std::option::Option *mut sqlite3_mutex>, pub xMutexFree: ::std::option::Option ()>, + *mut sqlite3_mutex)>, pub xMutexEnter: ::std::option::Option ()>, + *mut sqlite3_mutex)>, pub xMutexTry: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xMutexLeave: ::std::option::Option ()>, + *mut sqlite3_mutex)>, pub xMutexHeld: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xMutexNotheld: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, } -impl ::std::clone::Clone for Struct_sqlite3_mutex_methods { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_mutex_methods { +impl ::std::default::Default for sqlite3_mutex_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub enum Struct_sqlite3_pcache { } -pub type sqlite3_pcache = Struct_sqlite3_pcache; -pub type sqlite3_pcache_page = Struct_sqlite3_pcache_page; +pub enum sqlite3_pcache { } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_pcache_page { - pub pBuf: *mut ::libc::c_void, - pub pExtra: *mut ::libc::c_void, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_pcache_page { + pub pBuf: *mut ::std::os::raw::c_void, + pub pExtra: *mut ::std::os::raw::c_void, } -impl ::std::clone::Clone for Struct_sqlite3_pcache_page { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_pcache_page { +impl ::std::default::Default for sqlite3_pcache_page { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub type sqlite3_pcache_methods2 = Struct_sqlite3_pcache_methods2; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_pcache_methods2 { - pub iVersion: ::libc::c_int, - pub pArg: *mut ::libc::c_void, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_pcache_methods2 { + pub iVersion: ::std::os::raw::c_int, + pub pArg: *mut ::std::os::raw::c_void, pub xInit: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xShutdown: ::std::option::Option ()>, - pub xCreate: ::std::option::Option, + pub xCreate: ::std::option::Option *mut sqlite3_pcache>, pub xCachesize: ::std::option::Option ()>, + ::std::os::raw::c_int)>, pub xPagecount: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xFetch: ::std::option::Option *mut sqlite3_pcache_page>, pub xUnpin: ::std::option::Option ()>, + ::std::os::raw::c_int)>, pub xRekey: ::std::option::Option ()>, + ::std::os::raw::c_uint)>, pub xTruncate: ::std::option::Option ()>, + ::std::os::raw::c_uint)>, pub xDestroy: ::std::option::Option ()>, + *mut sqlite3_pcache)>, pub xShrink: ::std::option::Option ()>, + *mut sqlite3_pcache)>, } -impl ::std::clone::Clone for Struct_sqlite3_pcache_methods2 { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_pcache_methods2 { +impl ::std::default::Default for sqlite3_pcache_methods2 { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub type sqlite3_pcache_methods = Struct_sqlite3_pcache_methods; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_pcache_methods { - pub pArg: *mut ::libc::c_void, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_pcache_methods { + pub pArg: *mut ::std::os::raw::c_void, pub xInit: ::std::option::Option ::libc::c_int>, + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int>, pub xShutdown: ::std::option::Option ()>, - pub xCreate: ::std::option::Option, + pub xCreate: ::std::option::Option *mut sqlite3_pcache>, pub xCachesize: ::std::option::Option ()>, + ::std::os::raw::c_int)>, pub xPagecount: ::std::option::Option ::libc::c_int>, + -> ::std::os::raw::c_int>, pub xFetch: ::std::option::Option *mut ::libc::c_void>, + ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void>, pub xUnpin: ::std::option::Option ()>, + ::std::os::raw::c_int)>, pub xRekey: ::std::option::Option ()>, + ::std::os::raw::c_uint)>, pub xTruncate: ::std::option::Option ()>, + ::std::os::raw::c_uint)>, pub xDestroy: ::std::option::Option ()>, + *mut sqlite3_pcache)>, } -impl ::std::clone::Clone for Struct_sqlite3_pcache_methods { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_pcache_methods { +impl ::std::default::Default for sqlite3_pcache_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -pub enum Struct_sqlite3_backup { } -pub type sqlite3_backup = Struct_sqlite3_backup; -pub type sqlite3_rtree_geometry = Struct_sqlite3_rtree_geometry; -pub type sqlite3_rtree_query_info = Struct_sqlite3_rtree_query_info; -pub type sqlite3_rtree_dbl = ::libc::c_double; +pub enum sqlite3_backup { } +pub enum sqlite3_snapshot { } +pub type sqlite3_rtree_dbl = f64; #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_rtree_geometry { - pub pContext: *mut ::libc::c_void, - pub nParam: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_rtree_geometry { + pub pContext: *mut ::std::os::raw::c_void, + pub nParam: ::std::os::raw::c_int, pub aParam: *mut sqlite3_rtree_dbl, - pub pUser: *mut ::libc::c_void, + pub pUser: *mut ::std::os::raw::c_void, pub xDelUser: ::std::option::Option ()>, + *mut ::std::os::raw::c_void)>, } -impl ::std::clone::Clone for Struct_sqlite3_rtree_geometry { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct_sqlite3_rtree_geometry { +impl ::std::default::Default for sqlite3_rtree_geometry { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[repr(C)] -#[derive(Copy)] -pub struct Struct_sqlite3_rtree_query_info { - pub pContext: *mut ::libc::c_void, - pub nParam: ::libc::c_int, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct sqlite3_rtree_query_info { + pub pContext: *mut ::std::os::raw::c_void, + pub nParam: ::std::os::raw::c_int, pub aParam: *mut sqlite3_rtree_dbl, - pub pUser: *mut ::libc::c_void, + pub pUser: *mut ::std::os::raw::c_void, pub xDelUser: ::std::option::Option ()>, + *mut ::std::os::raw::c_void)>, pub aCoord: *mut sqlite3_rtree_dbl, - pub anQueue: *mut ::libc::c_uint, - pub nCoord: ::libc::c_int, - pub iLevel: ::libc::c_int, - pub mxLevel: ::libc::c_int, + pub anQueue: *mut ::std::os::raw::c_uint, + pub nCoord: ::std::os::raw::c_int, + pub iLevel: ::std::os::raw::c_int, + pub mxLevel: ::std::os::raw::c_int, pub iRowid: sqlite3_int64, pub rParentScore: sqlite3_rtree_dbl, - pub eParentWithin: ::libc::c_int, - pub eWithin: ::libc::c_int, + pub eParentWithin: ::std::os::raw::c_int, + pub eWithin: ::std::os::raw::c_int, pub rScore: sqlite3_rtree_dbl, + pub apSqlParam: *mut *mut sqlite3_value, } -impl ::std::clone::Clone for Struct_sqlite3_rtree_query_info { - fn clone(&self) -> Self { *self } +impl ::std::default::Default for sqlite3_rtree_query_info { + fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -impl ::std::default::Default for Struct_sqlite3_rtree_query_info { +pub enum Fts5Context { } +pub type fts5_extension_function = + ::std::option::Option; +#[repr(C)] +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct Fts5PhraseIter { + pub a: *const ::std::os::raw::c_uchar, + pub b: *const ::std::os::raw::c_uchar, +} +impl ::std::default::Default for Fts5PhraseIter { + fn default() -> Self { unsafe { ::std::mem::zeroed() } } +} +#[repr(C)] +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct Fts5ExtensionApi { + pub iVersion: ::std::os::raw::c_int, + pub xUserData: ::std::option::Option *mut ::std::os::raw::c_void>, + pub xColumnCount: ::std::option::Option ::std::os::raw::c_int>, + pub xRowCount: ::std::option::Option ::std::os::raw::c_int>, + pub xColumnTotalSize: ::std::option::Option ::std::os::raw::c_int>, + pub xTokenize: ::std::option::Option + ::std::os::raw::c_int>) + -> ::std::os::raw::c_int>, + pub xPhraseCount: ::std::option::Option ::std::os::raw::c_int>, + pub xPhraseSize: ::std::option::Option ::std::os::raw::c_int>, + pub xInstCount: ::std::option::Option ::std::os::raw::c_int>, + pub xInst: ::std::option::Option ::std::os::raw::c_int>, + pub xRowid: ::std::option::Option sqlite3_int64>, + pub xColumnText: ::std::option::Option ::std::os::raw::c_int>, + pub xColumnSize: ::std::option::Option ::std::os::raw::c_int>, + pub xQueryPhrase: ::std::option::Option + ::std::os::raw::c_int>) + -> ::std::os::raw::c_int>, + pub xSetAuxdata: ::std::option::Option) + -> ::std::os::raw::c_int>, + pub xGetAuxdata: ::std::option::Option + *mut ::std::os::raw::c_void>, + pub xPhraseFirst: ::std::option::Option ::std::os::raw::c_int>, + pub xPhraseNext: ::std::option::Option, + pub xPhraseFirstColumn: ::std::option::Option + ::std::os::raw::c_int>, + pub xPhraseNextColumn: ::std::option::Option, +} +impl ::std::default::Default for Fts5ExtensionApi { + fn default() -> Self { unsafe { ::std::mem::zeroed() } } +} +pub enum Fts5Tokenizer { } +#[repr(C)] +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct fts5_tokenizer { + pub xCreate: ::std::option::Option ::std::os::raw::c_int>, + pub xDelete: ::std::option::Option, + pub xTokenize: ::std::option::Option + ::std::os::raw::c_int>) + -> ::std::os::raw::c_int>, +} +impl ::std::default::Default for fts5_tokenizer { + fn default() -> Self { unsafe { ::std::mem::zeroed() } } +} +#[repr(C)] +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct fts5_api { + pub iVersion: ::std::os::raw::c_int, + pub xCreateTokenizer: ::std::option::Option) + -> ::std::os::raw::c_int>, + pub xFindTokenizer: ::std::option::Option ::std::os::raw::c_int>, + pub xCreateFunction: ::std::option::Option) + -> ::std::os::raw::c_int>, +} +impl ::std::default::Default for fts5_api { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } pub type __builtin_va_list = [__va_list_tag; 1usize]; -pub type __va_list_tag = Struct___va_list_tag; #[repr(C)] -#[derive(Copy)] -pub struct Struct___va_list_tag { - pub gp_offset: ::libc::c_uint, - pub fp_offset: ::libc::c_uint, - pub overflow_arg_area: *mut ::libc::c_void, - pub reg_save_area: *mut ::libc::c_void, +#[derive(Copy, Clone)] +#[derive(Debug)] +pub struct __va_list_tag { + pub gp_offset: ::std::os::raw::c_uint, + pub fp_offset: ::std::os::raw::c_uint, + pub overflow_arg_area: *mut ::std::os::raw::c_void, + pub reg_save_area: *mut ::std::os::raw::c_void, } -impl ::std::clone::Clone for Struct___va_list_tag { - fn clone(&self) -> Self { *self } -} -impl ::std::default::Default for Struct___va_list_tag { +impl ::std::default::Default for __va_list_tag { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } -#[link(name = "sqlite3")] +#[link(name = "sqlite3", kind = "dylib")] extern "C" { - pub static mut sqlite3_version: *const ::libc::c_char; - pub static mut sqlite3_temp_directory: *mut ::libc::c_char; - pub static mut sqlite3_data_directory: *mut ::libc::c_char; + pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize]; + pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char; + pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char; } -#[link(name = "sqlite3")] +#[link(name = "sqlite3", kind = "dylib")] extern "C" { - pub fn sqlite3_libversion() -> *const ::libc::c_char; - pub fn sqlite3_sourceid() -> *const ::libc::c_char; - pub fn sqlite3_libversion_number() -> ::libc::c_int; - pub fn sqlite3_compileoption_used(zOptName: *const ::libc::c_char) - -> ::libc::c_int; - pub fn sqlite3_compileoption_get(N: ::libc::c_int) - -> *const ::libc::c_char; - pub fn sqlite3_threadsafe() -> ::libc::c_int; - pub fn sqlite3_close(arg1: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_exec(arg1: *mut sqlite3, sql: *const ::libc::c_char, + pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char; + pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char; + pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int; + pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int; + pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_exec(arg1: *mut sqlite3, + sql: *const ::std::os::raw::c_char, callback: ::std::option::Option ::libc::c_int>, - arg2: *mut ::libc::c_void, - errmsg: *mut *mut ::libc::c_char) -> ::libc::c_int; - pub fn sqlite3_initialize() -> ::libc::c_int; - pub fn sqlite3_shutdown() -> ::libc::c_int; - pub fn sqlite3_os_init() -> ::libc::c_int; - pub fn sqlite3_os_end() -> ::libc::c_int; - pub fn sqlite3_config(arg1: ::libc::c_int, ...) -> ::libc::c_int; - pub fn sqlite3_db_config(arg1: *mut sqlite3, op: ::libc::c_int, ...) - -> ::libc::c_int; + *mut *mut ::std::os::raw::c_char) + -> + ::std::os::raw::c_int>, + arg2: *mut ::std::os::raw::c_void, + errmsg: *mut *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_initialize() -> ::std::os::raw::c_int; + pub fn sqlite3_shutdown() -> ::std::os::raw::c_int; + pub fn sqlite3_os_init() -> ::std::os::raw::c_int; + pub fn sqlite3_os_end() -> ::std::os::raw::c_int; + pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) + -> ::std::os::raw::c_int; + pub fn sqlite3_db_config(arg1: *mut sqlite3, + op: ::std::os::raw::c_int, ...) + -> ::std::os::raw::c_int; pub fn sqlite3_extended_result_codes(arg1: *mut sqlite3, - onoff: ::libc::c_int) - -> ::libc::c_int; + onoff: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64; - pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_interrupt(arg1: *mut sqlite3) -> (); - pub fn sqlite3_complete(sql: *const ::libc::c_char) -> ::libc::c_int; - pub fn sqlite3_complete16(sql: *const ::libc::c_void) -> ::libc::c_int; + pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_interrupt(arg1: *mut sqlite3); + pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void) + -> ::std::os::raw::c_int; pub fn sqlite3_busy_handler(arg1: *mut sqlite3, arg2: ::std::option::Option - ::libc::c_int>, - arg3: *mut ::libc::c_void) -> ::libc::c_int; - pub fn sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_get_table(db: *mut sqlite3, zSql: *const ::libc::c_char, - pazResult: *mut *mut *mut ::libc::c_char, - pnRow: *mut ::libc::c_int, - pnColumn: *mut ::libc::c_int, - pzErrmsg: *mut *mut ::libc::c_char) - -> ::libc::c_int; - pub fn sqlite3_free_table(result: *mut *mut ::libc::c_char) -> (); - pub fn sqlite3_mprintf(arg1: *const ::libc::c_char, ...) - -> *mut ::libc::c_char; - pub fn sqlite3_vmprintf(arg1: *const ::libc::c_char, arg2: va_list) - -> *mut ::libc::c_char; - pub fn sqlite3_snprintf(arg1: ::libc::c_int, arg2: *mut ::libc::c_char, - arg3: *const ::libc::c_char, ...) - -> *mut ::libc::c_char; - pub fn sqlite3_vsnprintf(arg1: ::libc::c_int, arg2: *mut ::libc::c_char, - arg3: *const ::libc::c_char, arg4: va_list) - -> *mut ::libc::c_char; - pub fn sqlite3_malloc(arg1: ::libc::c_int) -> *mut ::libc::c_void; - pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::libc::c_void; - pub fn sqlite3_realloc(arg1: *mut ::libc::c_void, arg2: ::libc::c_int) - -> *mut ::libc::c_void; - pub fn sqlite3_realloc64(arg1: *mut ::libc::c_void, arg2: sqlite3_uint64) - -> *mut ::libc::c_void; - pub fn sqlite3_free(arg1: *mut ::libc::c_void) -> (); - pub fn sqlite3_msize(arg1: *mut ::libc::c_void) -> sqlite3_uint64; + ::std::os::raw::c_int>, + arg3: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_get_table(db: *mut sqlite3, + zSql: *const ::std::os::raw::c_char, + pazResult: *mut *mut *mut ::std::os::raw::c_char, + pnRow: *mut ::std::os::raw::c_int, + pnColumn: *mut ::std::os::raw::c_int, + pzErrmsg: *mut *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char); + pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) + -> *mut ::std::os::raw::c_char; + pub fn sqlite3_vmprintf(arg1: *const ::std::os::raw::c_char, + arg2: va_list) -> *mut ::std::os::raw::c_char; + pub fn sqlite3_snprintf(arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, ...) + -> *mut ::std::os::raw::c_char; + pub fn sqlite3_vsnprintf(arg1: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_char, + arg3: *const ::std::os::raw::c_char, + arg4: va_list) -> *mut ::std::os::raw::c_char; + pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_malloc64(arg1: sqlite3_uint64) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, + arg2: ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_realloc64(arg1: *mut ::std::os::raw::c_void, + arg2: sqlite3_uint64) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); + pub fn sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64; pub fn sqlite3_memory_used() -> sqlite3_int64; - pub fn sqlite3_memory_highwater(resetFlag: ::libc::c_int) + pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64; - pub fn sqlite3_randomness(N: ::libc::c_int, P: *mut ::libc::c_void) -> (); + pub fn sqlite3_randomness(N: ::std::os::raw::c_int, + P: *mut ::std::os::raw::c_void); pub fn sqlite3_set_authorizer(arg1: *mut sqlite3, xAuth: ::std::option::Option - ::libc::c_int>, - pUserData: *mut ::libc::c_void) - -> ::libc::c_int; + ::std::os::raw::c_int>, + pUserData: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; pub fn sqlite3_trace(arg1: *mut sqlite3, xTrace: ::std::option::Option ()>, - arg2: *mut ::libc::c_void) -> *mut ::libc::c_void; + *const ::std::os::raw::c_char)>, + arg2: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; pub fn sqlite3_profile(arg1: *mut sqlite3, xProfile: ::std::option::Option ()>, - arg2: *mut ::libc::c_void) -> *mut ::libc::c_void; - pub fn sqlite3_progress_handler(arg1: *mut sqlite3, arg2: ::libc::c_int, + sqlite3_uint64)>, + arg2: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_progress_handler(arg1: *mut sqlite3, + arg2: ::std::os::raw::c_int, arg3: ::std::option::Option - ::libc::c_int>, - arg4: *mut ::libc::c_void) -> (); - pub fn sqlite3_open(filename: *const ::libc::c_char, - ppDb: *mut *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_open16(filename: *const ::libc::c_void, - ppDb: *mut *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_open_v2(filename: *const ::libc::c_char, - ppDb: *mut *mut sqlite3, flags: ::libc::c_int, - zVfs: *const ::libc::c_char) -> ::libc::c_int; - pub fn sqlite3_uri_parameter(zFilename: *const ::libc::c_char, - zParam: *const ::libc::c_char) - -> *const ::libc::c_char; - pub fn sqlite3_uri_boolean(zFile: *const ::libc::c_char, - zParam: *const ::libc::c_char, - bDefault: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_uri_int64(arg1: *const ::libc::c_char, - arg2: *const ::libc::c_char, arg3: sqlite3_int64) - -> sqlite3_int64; - pub fn sqlite3_errcode(db: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_extended_errcode(db: *mut sqlite3) -> ::libc::c_int; - pub fn sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::libc::c_char; - pub fn sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::libc::c_void; - pub fn sqlite3_errstr(arg1: ::libc::c_int) -> *const ::libc::c_char; - pub fn sqlite3_limit(arg1: *mut sqlite3, id: ::libc::c_int, - newVal: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_prepare(db: *mut sqlite3, zSql: *const ::libc::c_char, - nByte: ::libc::c_int, + ::std::os::raw::c_int>, + arg4: *mut ::std::os::raw::c_void); + pub fn sqlite3_open(filename: *const ::std::os::raw::c_char, + ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_open16(filename: *const ::std::os::raw::c_void, + ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_open_v2(filename: *const ::std::os::raw::c_char, + ppDb: *mut *mut sqlite3, + flags: ::std::os::raw::c_int, + zVfs: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_uri_parameter(zFilename: *const ::std::os::raw::c_char, + zParam: *const ::std::os::raw::c_char) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_uri_boolean(zFile: *const ::std::os::raw::c_char, + zParam: *const ::std::os::raw::c_char, + bDefault: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_uri_int64(arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: sqlite3_int64) -> sqlite3_int64; + pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_extended_errcode(db: *mut sqlite3) + -> ::std::os::raw::c_int; + pub fn sqlite3_errmsg(arg1: *mut sqlite3) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_errmsg16(arg1: *mut sqlite3) + -> *const ::std::os::raw::c_void; + pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_limit(arg1: *mut sqlite3, id: ::std::os::raw::c_int, + newVal: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_prepare(db: *mut sqlite3, + zSql: *const ::std::os::raw::c_char, + nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::libc::c_char) - -> ::libc::c_int; - pub fn sqlite3_prepare_v2(db: *mut sqlite3, zSql: *const ::libc::c_char, - nByte: ::libc::c_int, + pzTail: *mut *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_prepare_v2(db: *mut sqlite3, + zSql: *const ::std::os::raw::c_char, + nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::libc::c_char) - -> ::libc::c_int; - pub fn sqlite3_prepare16(db: *mut sqlite3, zSql: *const ::libc::c_void, - nByte: ::libc::c_int, + pzTail: *mut *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_prepare16(db: *mut sqlite3, + zSql: *const ::std::os::raw::c_void, + nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::libc::c_void) - -> ::libc::c_int; - pub fn sqlite3_prepare16_v2(db: *mut sqlite3, zSql: *const ::libc::c_void, - nByte: ::libc::c_int, + pzTail: *mut *const ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_prepare16_v2(db: *mut sqlite3, + zSql: *const ::std::os::raw::c_void, + nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::libc::c_void) - -> ::libc::c_int; - pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::libc::c_char; - pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_bind_blob(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const ::libc::c_void, n: ::libc::c_int, + pzTail: *mut *const ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_blob(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const ::std::os::raw::c_void, + n: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_bind_blob64(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const ::libc::c_void, + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_blob64(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const ::std::os::raw::c_void, arg4: sqlite3_uint64, arg5: ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_bind_double(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: ::libc::c_double) -> ::libc::c_int; - pub fn sqlite3_bind_int(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_bind_int64(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: sqlite3_int64) -> ::libc::c_int; - pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_bind_text(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const ::libc::c_char, arg4: ::libc::c_int, + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_double(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, arg3: f64) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_int(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_int64(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: sqlite3_int64) -> ::std::os::raw::c_int; + pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_text(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const ::std::os::raw::c_char, + arg4: ::std::os::raw::c_int, arg5: ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_bind_text16(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const ::libc::c_void, - arg4: ::libc::c_int, + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_text16(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const ::std::os::raw::c_void, + arg4: ::std::os::raw::c_int, arg5: ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_bind_text64(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const ::libc::c_char, + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_text64(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const ::std::os::raw::c_char, arg4: sqlite3_uint64, arg5: ::std::option::Option ()>, - encoding: ::libc::c_uchar) -> ::libc::c_int; - pub fn sqlite3_bind_value(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - arg3: *const sqlite3_value) -> ::libc::c_int; - pub fn sqlite3_bind_zeroblob(arg1: *mut sqlite3_stmt, arg2: ::libc::c_int, - n: ::libc::c_int) -> ::libc::c_int; + *mut ::std::os::raw::c_void)>, + encoding: ::std::os::raw::c_uchar) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_value(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: *const sqlite3_value) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_zeroblob(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + n: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_bind_zeroblob64(arg1: *mut sqlite3_stmt, + arg2: ::std::os::raw::c_int, + arg3: sqlite3_uint64) + -> ::std::os::raw::c_int; pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) - -> ::libc::c_int; + -> ::std::os::raw::c_int; pub fn sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_char; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; pub fn sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt, - zName: *const ::libc::c_char) - -> ::libc::c_int; - pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt, N: ::libc::c_int) - -> *const ::libc::c_char; - pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt, N: ::libc::c_int) - -> *const ::libc::c_void; + zName: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt, + N: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; + pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt, + N: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; pub fn sqlite3_column_database_name(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_char; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; pub fn sqlite3_column_database_name16(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_void; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; pub fn sqlite3_column_table_name(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_char; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; pub fn sqlite3_column_table_name16(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_void; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; pub fn sqlite3_column_origin_name(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_char; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; pub fn sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_void; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; pub fn sqlite3_column_decltype(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_char; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_char; pub fn sqlite3_column_decltype16(arg1: *mut sqlite3_stmt, - arg2: ::libc::c_int) - -> *const ::libc::c_void; - pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> *const ::libc::c_void; - pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> ::libc::c_int; + arg2: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; + pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; + pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; + pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_column_bytes16(arg1: *mut sqlite3_stmt, - iCol: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> ::libc::c_double; - pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> sqlite3_int64; - pub fn sqlite3_column_text(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> *const ::libc::c_uchar; - pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> *const ::libc::c_void; - pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt, iCol: ::libc::c_int) + iCol: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) -> f64; + pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) -> sqlite3_int64; + pub fn sqlite3_column_text(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_uchar; + pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> *const ::std::os::raw::c_void; + pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt, + iCol: ::std::os::raw::c_int) -> *mut sqlite3_value; - pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; - pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; + pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt) + -> ::std::os::raw::c_int; + pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; pub fn sqlite3_create_function(db: *mut sqlite3, - zFunctionName: *const ::libc::c_char, - nArg: ::libc::c_int, - eTextRep: ::libc::c_int, - pApp: *mut ::libc::c_void, + zFunctionName: + *const ::std::os::raw::c_char, + nArg: ::std::os::raw::c_int, + eTextRep: ::std::os::raw::c_int, + pApp: *mut ::std::os::raw::c_void, xFunc: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xStep: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xFinal: ::std::option::Option ()>) - -> ::libc::c_int; + *mut sqlite3_context)>) + -> ::std::os::raw::c_int; pub fn sqlite3_create_function16(db: *mut sqlite3, - zFunctionName: *const ::libc::c_void, - nArg: ::libc::c_int, - eTextRep: ::libc::c_int, - pApp: *mut ::libc::c_void, + zFunctionName: + *const ::std::os::raw::c_void, + nArg: ::std::os::raw::c_int, + eTextRep: ::std::os::raw::c_int, + pApp: *mut ::std::os::raw::c_void, xFunc: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xStep: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xFinal: ::std::option::Option ()>) - -> ::libc::c_int; + *mut sqlite3_context)>) + -> ::std::os::raw::c_int; pub fn sqlite3_create_function_v2(db: *mut sqlite3, - zFunctionName: *const ::libc::c_char, - nArg: ::libc::c_int, - eTextRep: ::libc::c_int, - pApp: *mut ::libc::c_void, + zFunctionName: + *const ::std::os::raw::c_char, + nArg: ::std::os::raw::c_int, + eTextRep: ::std::os::raw::c_int, + pApp: *mut ::std::os::raw::c_void, xFunc: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xStep: ::std::option::Option ()>, + *mut *mut sqlite3_value)>, xFinal: ::std::option::Option ()>, + *mut sqlite3_context)>, xDestroy: ::std::option::Option ()>) - -> ::libc::c_int; + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context) - -> ::libc::c_int; - pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::libc::c_int; + -> ::std::os::raw::c_int; + pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; pub fn sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt) - -> ::libc::c_int; - pub fn sqlite3_global_recover() -> ::libc::c_int; - pub fn sqlite3_thread_cleanup() -> (); + -> ::std::os::raw::c_int; + pub fn sqlite3_global_recover() -> ::std::os::raw::c_int; + pub fn sqlite3_thread_cleanup(); pub fn sqlite3_memory_alarm(arg1: ::std::option::Option ()>, - arg2: *mut ::libc::c_void, - arg3: sqlite3_int64) -> ::libc::c_int; + ::std::os::raw::c_int)>, + arg2: *mut ::std::os::raw::c_void, + arg3: sqlite3_int64) -> ::std::os::raw::c_int; pub fn sqlite3_value_blob(arg1: *mut sqlite3_value) - -> *const ::libc::c_void; - pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::libc::c_int; - pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::libc::c_int; - pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> ::libc::c_double; - pub fn sqlite3_value_int(arg1: *mut sqlite3_value) -> ::libc::c_int; + -> *const ::std::os::raw::c_void; + pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) + -> ::std::os::raw::c_int; + pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value) + -> ::std::os::raw::c_int; + pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64; + pub fn sqlite3_value_int(arg1: *mut sqlite3_value) + -> ::std::os::raw::c_int; pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64; pub fn sqlite3_value_text(arg1: *mut sqlite3_value) - -> *const ::libc::c_uchar; + -> *const ::std::os::raw::c_uchar; pub fn sqlite3_value_text16(arg1: *mut sqlite3_value) - -> *const ::libc::c_void; + -> *const ::std::os::raw::c_void; pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value) - -> *const ::libc::c_void; + -> *const ::std::os::raw::c_void; pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value) - -> *const ::libc::c_void; - pub fn sqlite3_value_type(arg1: *mut sqlite3_value) -> ::libc::c_int; + -> *const ::std::os::raw::c_void; + pub fn sqlite3_value_type(arg1: *mut sqlite3_value) + -> ::std::os::raw::c_int; pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value) - -> ::libc::c_int; + -> ::std::os::raw::c_int; + pub fn sqlite3_value_subtype(arg1: *mut sqlite3_value) + -> ::std::os::raw::c_uint; + pub fn sqlite3_value_dup(arg1: *const sqlite3_value) + -> *mut sqlite3_value; + pub fn sqlite3_value_free(arg1: *mut sqlite3_value); pub fn sqlite3_aggregate_context(arg1: *mut sqlite3_context, - nBytes: ::libc::c_int) - -> *mut ::libc::c_void; + nBytes: ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void; pub fn sqlite3_user_data(arg1: *mut sqlite3_context) - -> *mut ::libc::c_void; + -> *mut ::std::os::raw::c_void; pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite3; - pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context, N: ::libc::c_int) - -> *mut ::libc::c_void; - pub fn sqlite3_set_auxdata(arg1: *mut sqlite3_context, N: ::libc::c_int, - arg2: *mut ::libc::c_void, + pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context, + N: ::std::os::raw::c_int) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_set_auxdata(arg1: *mut sqlite3_context, + N: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option ()>) -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_blob(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, - arg3: ::libc::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_blob64(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, + arg2: *const ::std::os::raw::c_void, arg3: sqlite3_uint64, arg4: ::std::option::Option ()>) -> (); - pub fn sqlite3_result_double(arg1: *mut sqlite3_context, - arg2: ::libc::c_double) -> (); + *mut ::std::os::raw::c_void)>); + pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64); pub fn sqlite3_result_error(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_char, - arg3: ::libc::c_int) -> (); + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int); pub fn sqlite3_result_error16(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, - arg3: ::libc::c_int) -> (); - pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context) -> (); - pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context) -> (); + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int); + pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context); + pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context); pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context, - arg2: ::libc::c_int) -> (); - pub fn sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::libc::c_int) - -> (); + arg2: ::std::os::raw::c_int); + pub fn sqlite3_result_int(arg1: *mut sqlite3_context, + arg2: ::std::os::raw::c_int); pub fn sqlite3_result_int64(arg1: *mut sqlite3_context, - arg2: sqlite3_int64) -> (); - pub fn sqlite3_result_null(arg1: *mut sqlite3_context) -> (); + arg2: sqlite3_int64); + pub fn sqlite3_result_null(arg1: *mut sqlite3_context); pub fn sqlite3_result_text(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_char, - arg3: ::libc::c_int, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_text64(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_char, + arg2: *const ::std::os::raw::c_char, arg3: sqlite3_uint64, arg4: ::std::option::Option ()>, - encoding: ::libc::c_uchar) -> (); + *mut ::std::os::raw::c_void)>, + encoding: ::std::os::raw::c_uchar); pub fn sqlite3_result_text16(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, - arg3: ::libc::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_text16le(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, - arg3: ::libc::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) - -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_text16be(arg1: *mut sqlite3_context, - arg2: *const ::libc::c_void, - arg3: ::libc::c_int, + arg2: *const ::std::os::raw::c_void, + arg3: ::std::os::raw::c_int, arg4: ::std::option::Option ()>) - -> (); + *mut ::std::os::raw::c_void)>); pub fn sqlite3_result_value(arg1: *mut sqlite3_context, - arg2: *mut sqlite3_value) -> (); + arg2: *mut sqlite3_value); pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context, - n: ::libc::c_int) -> (); + n: ::std::os::raw::c_int); + pub fn sqlite3_result_zeroblob64(arg1: *mut sqlite3_context, + n: sqlite3_uint64) + -> ::std::os::raw::c_int; + pub fn sqlite3_result_subtype(arg1: *mut sqlite3_context, + arg2: ::std::os::raw::c_uint); pub fn sqlite3_create_collation(arg1: *mut sqlite3, - zName: *const ::libc::c_char, - eTextRep: ::libc::c_int, - pArg: *mut ::libc::c_void, + zName: *const ::std::os::raw::c_char, + eTextRep: ::std::os::raw::c_int, + pArg: *mut ::std::os::raw::c_void, xCompare: ::std::option::Option - ::libc::c_int>) - -> ::libc::c_int; + ::std::os::raw::c_int>) + -> ::std::os::raw::c_int; pub fn sqlite3_create_collation_v2(arg1: *mut sqlite3, - zName: *const ::libc::c_char, - eTextRep: ::libc::c_int, - pArg: *mut ::libc::c_void, + zName: *const ::std::os::raw::c_char, + eTextRep: ::std::os::raw::c_int, + pArg: *mut ::std::os::raw::c_void, xCompare: ::std::option::Option - ::libc::c_int>, + ::std::os::raw::c_int>, xDestroy: ::std::option::Option ()>) - -> ::libc::c_int; + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; pub fn sqlite3_create_collation16(arg1: *mut sqlite3, - zName: *const ::libc::c_void, - eTextRep: ::libc::c_int, - pArg: *mut ::libc::c_void, + zName: *const ::std::os::raw::c_void, + eTextRep: ::std::os::raw::c_int, + pArg: *mut ::std::os::raw::c_void, xCompare: ::std::option::Option - ::libc::c_int>) - -> ::libc::c_int; + ::std::os::raw::c_int>) + -> ::std::os::raw::c_int; pub fn sqlite3_collation_needed(arg1: *mut sqlite3, - arg2: *mut ::libc::c_void, + arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option ()>) - -> ::libc::c_int; + *const ::std::os::raw::c_char)>) + -> ::std::os::raw::c_int; pub fn sqlite3_collation_needed16(arg1: *mut sqlite3, - arg2: *mut ::libc::c_void, + arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_sleep(arg1: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::libc::c_int; + *const ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; + pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_get_autocommit(arg1: *mut sqlite3) + -> ::std::os::raw::c_int; pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3; pub fn sqlite3_db_filename(db: *mut sqlite3, - zDbName: *const ::libc::c_char) - -> *const ::libc::c_char; + zDbName: *const ::std::os::raw::c_char) + -> *const ::std::os::raw::c_char; pub fn sqlite3_db_readonly(db: *mut sqlite3, - zDbName: *const ::libc::c_char) - -> ::libc::c_int; + zDbName: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt; pub fn sqlite3_commit_hook(arg1: *mut sqlite3, arg2: ::std::option::Option - ::libc::c_int>, - arg3: *mut ::libc::c_void) - -> *mut ::libc::c_void; + ::std::os::raw::c_int>, + arg3: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; pub fn sqlite3_rollback_hook(arg1: *mut sqlite3, arg2: ::std::option::Option ()>, - arg3: *mut ::libc::c_void) - -> *mut ::libc::c_void; + *mut ::std::os::raw::c_void)>, + arg3: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; pub fn sqlite3_update_hook(arg1: *mut sqlite3, arg2: ::std::option::Option ()>, - arg3: *mut ::libc::c_void) - -> *mut ::libc::c_void; - pub fn sqlite3_enable_shared_cache(arg1: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_release_memory(arg1: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::libc::c_int; + sqlite3_int64)>, + arg3: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_db_release_memory(arg1: *mut sqlite3) + -> ::std::os::raw::c_int; pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64; - pub fn sqlite3_soft_heap_limit(N: ::libc::c_int) -> (); + pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int); pub fn sqlite3_table_column_metadata(db: *mut sqlite3, - zDbName: *const ::libc::c_char, - zTableName: *const ::libc::c_char, - zColumnName: *const ::libc::c_char, + zDbName: + *const ::std::os::raw::c_char, + zTableName: + *const ::std::os::raw::c_char, + zColumnName: + *const ::std::os::raw::c_char, pzDataType: - *mut *const ::libc::c_char, + *mut *const ::std::os::raw::c_char, pzCollSeq: - *mut *const ::libc::c_char, - pNotNull: *mut ::libc::c_int, - pPrimaryKey: *mut ::libc::c_int, - pAutoinc: *mut ::libc::c_int) - -> ::libc::c_int; + *mut *const ::std::os::raw::c_char, + pNotNull: *mut ::std::os::raw::c_int, + pPrimaryKey: + *mut ::std::os::raw::c_int, + pAutoinc: *mut ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_load_extension(db: *mut sqlite3, - zFile: *const ::libc::c_char, - zProc: *const ::libc::c_char, - pzErrMsg: *mut *mut ::libc::c_char) - -> ::libc::c_int; + zFile: *const ::std::os::raw::c_char, + zProc: *const ::std::os::raw::c_char, + pzErrMsg: *mut *mut ::std::os::raw::c_char) + -> ::std::os::raw::c_int; pub fn sqlite3_enable_load_extension(db: *mut sqlite3, - onoff: ::libc::c_int) - -> ::libc::c_int; + onoff: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_auto_extension(xEntryPoint: - ::std::option::Option ()>) - -> ::libc::c_int; + ::std::option::Option) + -> ::std::os::raw::c_int; pub fn sqlite3_cancel_auto_extension(xEntryPoint: - ::std::option::Option ()>) - -> ::libc::c_int; - pub fn sqlite3_reset_auto_extension() -> (); + ::std::option::Option) + -> ::std::os::raw::c_int; + pub fn sqlite3_reset_auto_extension(); pub fn sqlite3_create_module(db: *mut sqlite3, - zName: *const ::libc::c_char, + zName: *const ::std::os::raw::c_char, p: *const sqlite3_module, - pClientData: *mut ::libc::c_void) - -> ::libc::c_int; + pClientData: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; pub fn sqlite3_create_module_v2(db: *mut sqlite3, - zName: *const ::libc::c_char, + zName: *const ::std::os::raw::c_char, p: *const sqlite3_module, - pClientData: *mut ::libc::c_void, + pClientData: *mut ::std::os::raw::c_void, xDestroy: ::std::option::Option ()>) - -> ::libc::c_int; + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; pub fn sqlite3_declare_vtab(arg1: *mut sqlite3, - zSQL: *const ::libc::c_char) -> ::libc::c_int; + zSQL: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; pub fn sqlite3_overload_function(arg1: *mut sqlite3, - zFuncName: *const ::libc::c_char, - nArg: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_blob_open(arg1: *mut sqlite3, zDb: *const ::libc::c_char, - zTable: *const ::libc::c_char, - zColumn: *const ::libc::c_char, - iRow: sqlite3_int64, flags: ::libc::c_int, - ppBlob: *mut *mut sqlite3_blob) -> ::libc::c_int; + zFuncName: *const ::std::os::raw::c_char, + nArg: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_blob_open(arg1: *mut sqlite3, + zDb: *const ::std::os::raw::c_char, + zTable: *const ::std::os::raw::c_char, + zColumn: *const ::std::os::raw::c_char, + iRow: sqlite3_int64, + flags: ::std::os::raw::c_int, + ppBlob: *mut *mut sqlite3_blob) + -> ::std::os::raw::c_int; pub fn sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64) - -> ::libc::c_int; - pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::libc::c_int; - pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::libc::c_int; - pub fn sqlite3_blob_read(arg1: *mut sqlite3_blob, Z: *mut ::libc::c_void, - N: ::libc::c_int, iOffset: ::libc::c_int) - -> ::libc::c_int; + -> ::std::os::raw::c_int; + pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob) + -> ::std::os::raw::c_int; + pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) + -> ::std::os::raw::c_int; + pub fn sqlite3_blob_read(arg1: *mut sqlite3_blob, + Z: *mut ::std::os::raw::c_void, + N: ::std::os::raw::c_int, + iOffset: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_blob_write(arg1: *mut sqlite3_blob, - z: *const ::libc::c_void, n: ::libc::c_int, - iOffset: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_vfs_find(zVfsName: *const ::libc::c_char) + z: *const ::std::os::raw::c_void, + n: ::std::os::raw::c_int, + iOffset: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs; pub fn sqlite3_vfs_register(arg1: *mut sqlite3_vfs, - makeDflt: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::libc::c_int; - pub fn sqlite3_mutex_alloc(arg1: ::libc::c_int) -> *mut sqlite3_mutex; - pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex) -> (); - pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex) -> (); - pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::libc::c_int; - pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex) -> (); - pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::libc::c_int; - pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::libc::c_int; + makeDflt: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) + -> ::std::os::raw::c_int; + pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) + -> *mut sqlite3_mutex; + pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex); + pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex); + pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex) + -> ::std::os::raw::c_int; + pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex); + pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex) + -> ::std::os::raw::c_int; + pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) + -> ::std::os::raw::c_int; pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex; pub fn sqlite3_file_control(arg1: *mut sqlite3, - zDbName: *const ::libc::c_char, - op: ::libc::c_int, arg2: *mut ::libc::c_void) - -> ::libc::c_int; - pub fn sqlite3_test_control(op: ::libc::c_int, ...) -> ::libc::c_int; - pub fn sqlite3_status(op: ::libc::c_int, pCurrent: *mut ::libc::c_int, - pHighwater: *mut ::libc::c_int, - resetFlag: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_status64(op: ::libc::c_int, pCurrent: *mut sqlite3_int64, + zDbName: *const ::std::os::raw::c_char, + op: ::std::os::raw::c_int, + arg2: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...) + -> ::std::os::raw::c_int; + pub fn sqlite3_status(op: ::std::os::raw::c_int, + pCurrent: *mut ::std::os::raw::c_int, + pHighwater: *mut ::std::os::raw::c_int, + resetFlag: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_status64(op: ::std::os::raw::c_int, + pCurrent: *mut sqlite3_int64, pHighwater: *mut sqlite3_int64, - resetFlag: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_db_status(arg1: *mut sqlite3, op: ::libc::c_int, - pCur: *mut ::libc::c_int, - pHiwtr: *mut ::libc::c_int, - resetFlg: ::libc::c_int) -> ::libc::c_int; - pub fn sqlite3_stmt_status(arg1: *mut sqlite3_stmt, op: ::libc::c_int, - resetFlg: ::libc::c_int) -> ::libc::c_int; + resetFlag: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_db_status(arg1: *mut sqlite3, op: ::std::os::raw::c_int, + pCur: *mut ::std::os::raw::c_int, + pHiwtr: *mut ::std::os::raw::c_int, + resetFlg: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_stmt_status(arg1: *mut sqlite3_stmt, + op: ::std::os::raw::c_int, + resetFlg: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_backup_init(pDest: *mut sqlite3, - zDestName: *const ::libc::c_char, + zDestName: *const ::std::os::raw::c_char, pSource: *mut sqlite3, - zSourceName: *const ::libc::c_char) + zSourceName: *const ::std::os::raw::c_char) -> *mut sqlite3_backup; - pub fn sqlite3_backup_step(p: *mut sqlite3_backup, nPage: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::libc::c_int; - pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::libc::c_int; - pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::libc::c_int; + pub fn sqlite3_backup_step(p: *mut sqlite3_backup, + nPage: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_backup_finish(p: *mut sqlite3_backup) + -> ::std::os::raw::c_int; + pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup) + -> ::std::os::raw::c_int; + pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup) + -> ::std::os::raw::c_int; pub fn sqlite3_unlock_notify(pBlocked: *mut sqlite3, xNotify: ::std::option::Option ()>, - pNotifyArg: *mut ::libc::c_void) - -> ::libc::c_int; - pub fn sqlite3_stricmp(arg1: *const ::libc::c_char, - arg2: *const ::libc::c_char) -> ::libc::c_int; - pub fn sqlite3_strnicmp(arg1: *const ::libc::c_char, - arg2: *const ::libc::c_char, arg3: ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_strglob(zGlob: *const ::libc::c_char, - zStr: *const ::libc::c_char) -> ::libc::c_int; - pub fn sqlite3_log(iErrCode: ::libc::c_int, - zFormat: *const ::libc::c_char, ...) -> (); + ::std::os::raw::c_int)>, + pNotifyArg: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_stricmp(arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_strnicmp(arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_strglob(zGlob: *const ::std::os::raw::c_char, + zStr: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; + pub fn sqlite3_strlike(zGlob: *const ::std::os::raw::c_char, + zStr: *const ::std::os::raw::c_char, + cEsc: ::std::os::raw::c_uint) + -> ::std::os::raw::c_int; + pub fn sqlite3_log(iErrCode: ::std::os::raw::c_int, + zFormat: *const ::std::os::raw::c_char, ...); pub fn sqlite3_wal_hook(arg1: *mut sqlite3, arg2: ::std::option::Option ::libc::c_int>, - arg3: *mut ::libc::c_void) -> *mut ::libc::c_void; - pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3, N: ::libc::c_int) - -> ::libc::c_int; + ::std::os::raw::c_int) + -> + ::std::os::raw::c_int>, + arg3: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3, + N: ::std::os::raw::c_int) + -> ::std::os::raw::c_int; pub fn sqlite3_wal_checkpoint(db: *mut sqlite3, - zDb: *const ::libc::c_char) - -> ::libc::c_int; + zDb: *const ::std::os::raw::c_char) + -> ::std::os::raw::c_int; pub fn sqlite3_wal_checkpoint_v2(db: *mut sqlite3, - zDb: *const ::libc::c_char, - eMode: ::libc::c_int, - pnLog: *mut ::libc::c_int, - pnCkpt: *mut ::libc::c_int) - -> ::libc::c_int; - pub fn sqlite3_vtab_config(arg1: *mut sqlite3, op: ::libc::c_int, ...) - -> ::libc::c_int; - pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::libc::c_int; + zDb: *const ::std::os::raw::c_char, + eMode: ::std::os::raw::c_int, + pnLog: *mut ::std::os::raw::c_int, + pnCkpt: *mut ::std::os::raw::c_int) + -> ::std::os::raw::c_int; + pub fn sqlite3_vtab_config(arg1: *mut sqlite3, + op: ::std::os::raw::c_int, ...) + -> ::std::os::raw::c_int; + pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) + -> ::std::os::raw::c_int; pub fn sqlite3_stmt_scanstatus(pStmt: *mut sqlite3_stmt, - idx: ::libc::c_int, - iScanStatusOp: ::libc::c_int, - pOut: *mut ::libc::c_void) - -> ::libc::c_int; - pub fn sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt) -> (); + idx: ::std::os::raw::c_int, + iScanStatusOp: ::std::os::raw::c_int, + pOut: *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; + pub fn sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt); + pub fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_preupdate_hook(db: *mut sqlite3, + xPreUpdate: + ::std::option::Option, + arg1: *mut ::std::os::raw::c_void) + -> *mut ::std::os::raw::c_void; + pub fn sqlite3_preupdate_old(arg1: *mut sqlite3, + arg2: ::std::os::raw::c_int, + arg3: *mut *mut sqlite3_value) + -> ::std::os::raw::c_int; + pub fn sqlite3_preupdate_count(arg1: *mut sqlite3) + -> ::std::os::raw::c_int; + pub fn sqlite3_preupdate_depth(arg1: *mut sqlite3) + -> ::std::os::raw::c_int; + pub fn sqlite3_preupdate_new(arg1: *mut sqlite3, + arg2: ::std::os::raw::c_int, + arg3: *mut *mut sqlite3_value) + -> ::std::os::raw::c_int; + pub fn sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_snapshot_get(db: *mut sqlite3, + zSchema: *const ::std::os::raw::c_char, + ppSnapshot: *mut *mut sqlite3_snapshot) + -> ::std::os::raw::c_int; + pub fn sqlite3_snapshot_open(db: *mut sqlite3, + zSchema: *const ::std::os::raw::c_char, + pSnapshot: *mut sqlite3_snapshot) + -> ::std::os::raw::c_int; + pub fn sqlite3_snapshot_free(arg1: *mut sqlite3_snapshot); + pub fn sqlite3_snapshot_cmp(p1: *mut sqlite3_snapshot, + p2: *mut sqlite3_snapshot) + -> ::std::os::raw::c_int; pub fn sqlite3_rtree_geometry_callback(db: *mut sqlite3, - zGeom: *const ::libc::c_char, + zGeom: + *const ::std::os::raw::c_char, xGeom: ::std::option::Option - ::libc::c_int>, - pContext: *mut ::libc::c_void) - -> ::libc::c_int; + ::std::os::raw::c_int>, + pContext: + *mut ::std::os::raw::c_void) + -> ::std::os::raw::c_int; pub fn sqlite3_rtree_query_callback(db: *mut sqlite3, - zQueryFunc: *const ::libc::c_char, + zQueryFunc: + *const ::std::os::raw::c_char, xQueryFunc: ::std::option::Option - ::libc::c_int>, - pContext: *mut ::libc::c_void, + ::std::os::raw::c_int>, + pContext: *mut ::std::os::raw::c_void, xDestructor: ::std::option::Option ()>) - -> ::libc::c_int; + *mut ::std::os::raw::c_void)>) + -> ::std::os::raw::c_int; }