From 70203f9ed687388d42e7eaf707073f6d2303fb3a Mon Sep 17 00:00:00 2001 From: Omar Ferrer Date: Sat, 8 Oct 2016 01:39:57 -0400 Subject: [PATCH] Changing binding from std::os::raw back to libc --- libsqlite3-sys/src/bindgen.rs | 1680 ++++++++++++++++----------------- 1 file changed, 840 insertions(+), 840 deletions(-) diff --git a/libsqlite3-sys/src/bindgen.rs b/libsqlite3-sys/src/bindgen.rs index 542e34b..812a393 100644 --- a/libsqlite3-sys/src/bindgen.rs +++ b/libsqlite3-sys/src/bindgen.rs @@ -9,19 +9,19 @@ 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 sqlite_int64 = ::libc::c_longlong; +pub type sqlite_uint64 = ::libc::c_ulonglong; pub type sqlite3_int64 = sqlite_int64; pub type sqlite3_uint64 = sqlite_uint64; pub type sqlite3_callback = ::std::option::Option ::std::os::raw::c_int>; + *mut *mut ::libc::c_char) + -> ::libc::c_int>; #[repr(C)] #[derive(Copy, Clone)] #[derive(Debug)] @@ -35,116 +35,116 @@ impl ::std::default::Default for sqlite3_file { #[derive(Copy, Clone)] #[derive(Debug)] pub struct sqlite3_io_methods { - pub iVersion: ::std::os::raw::c_int, + pub iVersion: ::libc::c_int, pub xClose: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xRead: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xWrite: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xTruncate: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xSync: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xFileSize: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xLock: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xUnlock: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xCheckReservedLock: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, pub xFileControl: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, pub xSectorSize: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xDeviceCharacteristics: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, pub xShmMap: ::std::option::Option ::std::os::raw::c_int>, + *mut *mut ::libc::c_void) + -> ::libc::c_int>, pub xShmLock: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xShmBarrier: ::std::option::Option, pub xShmUnmap: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xFetch: ::std::option::Option ::std::os::raw::c_int>, + *mut *mut ::libc::c_void) + -> ::libc::c_int>, pub xUnfetch: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, } impl ::std::default::Default for sqlite3_io_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -155,124 +155,124 @@ pub type sqlite3_syscall_ptr = ::std::option::Option; #[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 iVersion: ::libc::c_int, + pub szOsFile: ::libc::c_int, + pub mxPathname: ::libc::c_int, pub pNext: *mut sqlite3_vfs, - pub zName: *const ::std::os::raw::c_char, - pub pAppData: *mut ::std::os::raw::c_void, + pub zName: *const ::libc::c_char, + pub pAppData: *mut ::libc::c_void, pub xOpen: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xDelete: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xAccess: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xFullPathname: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_char) + -> ::libc::c_int>, pub xDlOpen: ::std::option::Option *mut ::std::os::raw::c_void>, + *const ::libc::c_char) + -> *mut ::libc::c_void>, pub xDlError: ::std::option::Option, + *mut ::libc::c_char)>, pub xDlSym: ::std::option::Option ::std::option::Option>, + *const ::libc::c_char)>>, pub xDlClose: ::std::option::Option, + *mut ::libc::c_void)>, pub xRandomness: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_char) + -> ::libc::c_int>, pub xSleep: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xCurrentTime: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xGetLastError: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_char) + -> ::libc::c_int>, pub xCurrentTimeInt64: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, pub xSetSystemCall: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xGetSystemCall: ::std::option::Option sqlite3_syscall_ptr>, pub xNextSystemCall: ::std::option::Option - *const ::std::os::raw::c_char>, + *const ::libc::c_char>, } impl ::std::default::Default for sqlite3_vfs { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -282,27 +282,27 @@ impl ::std::default::Default for sqlite3_vfs { #[derive(Debug)] pub struct sqlite3_mem_methods { pub xMalloc: ::std::option::Option *mut ::std::os::raw::c_void>, + ::libc::c_int) + -> *mut ::libc::c_void>, pub xFree: ::std::option::Option, + *mut ::libc::c_void)>, pub xRealloc: ::std::option::Option *mut ::std::os::raw::c_void>, + ::libc::c_int) + -> *mut ::libc::c_void>, pub xSize: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, pub xRoundup: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xInit: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, pub xShutdown: ::std::option::Option, - pub pAppData: *mut ::std::os::raw::c_void, + *mut ::libc::c_void)>, + pub pAppData: *mut ::libc::c_void, } impl ::std::default::Default for sqlite3_mem_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -313,143 +313,143 @@ pub type sqlite3_value = Mem; pub enum sqlite3_context { } pub type sqlite3_destructor_type = ::std::option::Option; + *mut ::libc::c_void)>; #[repr(C)] #[derive(Copy, Clone)] #[derive(Debug)] pub struct sqlite3_module { - pub iVersion: ::std::os::raw::c_int, + pub iVersion: ::libc::c_int, pub xCreate: ::std::option::Option ::std::os::raw::c_int>, + *mut *mut ::libc::c_char) + -> ::libc::c_int>, pub xConnect: ::std::option::Option ::std::os::raw::c_int>, + *mut *mut ::libc::c_char) + -> ::libc::c_int>, pub xBestIndex: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xDisconnect: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xDestroy: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xOpen: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xClose: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xFilter: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xNext: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xEof: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xColumn: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xRowid: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xUpdate: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xBegin: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xSync: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xCommit: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xRollback: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xFindFunction: ::std::option::Option, ppArg: - *mut *mut ::std::os::raw::c_void) - -> ::std::os::raw::c_int>, + *mut *mut ::libc::c_void) + -> ::libc::c_int>, pub xRename: ::std::option::Option ::std::os::raw::c_int>, + *const ::libc::c_char) + -> ::libc::c_int>, pub xSavepoint: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xRelease: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xRollbackTo: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, } impl ::std::default::Default for sqlite3_module { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -458,18 +458,18 @@ impl ::std::default::Default for sqlite3_module { #[derive(Copy, Clone)] #[derive(Debug)] pub struct sqlite3_index_info { - pub nConstraint: ::std::os::raw::c_int, + pub nConstraint: ::libc::c_int, pub aConstraint: *mut sqlite3_index_constraint, - pub nOrderBy: ::std::os::raw::c_int, + pub nOrderBy: ::libc::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 idxNum: ::libc::c_int, + pub idxStr: *mut ::libc::c_char, + pub needToFreeIdxStr: ::libc::c_int, + pub orderByConsumed: ::libc::c_int, pub estimatedCost: f64, pub estimatedRows: sqlite3_int64, - pub idxFlags: ::std::os::raw::c_int, + pub idxFlags: ::libc::c_int, pub colUsed: sqlite3_uint64, } impl ::std::default::Default for sqlite3_index_info { @@ -479,10 +479,10 @@ impl ::std::default::Default for sqlite3_index_info { #[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, + pub iColumn: ::libc::c_int, + pub op: ::libc::c_uchar, + pub usable: ::libc::c_uchar, + pub iTermOffset: ::libc::c_int, } impl ::std::default::Default for sqlite3_index_constraint { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -491,8 +491,8 @@ impl ::std::default::Default for sqlite3_index_constraint { #[derive(Copy, Clone)] #[derive(Debug)] pub struct sqlite3_index_orderby { - pub iColumn: ::std::os::raw::c_int, - pub desc: ::std::os::raw::c_uchar, + pub iColumn: ::libc::c_int, + pub desc: ::libc::c_uchar, _bindgen_padding_0_: [u8; 3usize], } impl ::std::default::Default for sqlite3_index_orderby { @@ -502,8 +502,8 @@ impl ::std::default::Default for sqlite3_index_orderby { #[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, + pub argvIndex: ::libc::c_int, + pub omit: ::libc::c_uchar, _bindgen_padding_0_: [u8; 3usize], } impl ::std::default::Default for sqlite3_index_constraint_usage { @@ -514,8 +514,8 @@ impl ::std::default::Default for sqlite3_index_constraint_usage { #[derive(Debug)] pub struct sqlite3_vtab { pub pModule: *const sqlite3_module, - pub nRef: ::std::os::raw::c_int, - pub zErrMsg: *mut ::std::os::raw::c_char, + pub nRef: ::libc::c_int, + pub zErrMsg: *mut ::libc::c_char, } impl ::std::default::Default for sqlite3_vtab { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -535,11 +535,11 @@ pub enum sqlite3_blob { } #[derive(Debug)] pub struct sqlite3_mutex_methods { pub xMutexInit: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xMutexEnd: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xMutexAlloc: ::std::option::Option *mut sqlite3_mutex>, pub xMutexFree: ::std::option::Option, @@ -547,15 +547,15 @@ pub struct sqlite3_mutex_methods { *mut sqlite3_mutex)>, pub xMutexTry: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xMutexLeave: ::std::option::Option, pub xMutexHeld: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xMutexNotheld: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, } impl ::std::default::Default for sqlite3_mutex_methods { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -565,8 +565,8 @@ pub enum sqlite3_pcache { } #[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, + pub pBuf: *mut ::libc::c_void, + pub pExtra: *mut ::libc::c_void, } impl ::std::default::Default for sqlite3_pcache_page { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -575,52 +575,52 @@ impl ::std::default::Default for sqlite3_pcache_page { #[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 iVersion: ::libc::c_int, + pub pArg: *mut ::libc::c_void, pub xInit: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, pub xShutdown: ::std::option::Option, + *mut ::libc::c_void)>, pub xCreate: ::std::option::Option *mut sqlite3_pcache>, pub xCachesize: ::std::option::Option, + ::libc::c_int)>, pub xPagecount: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xFetch: ::std::option::Option *mut sqlite3_pcache_page>, pub xUnpin: ::std::option::Option, + ::libc::c_int)>, pub xRekey: ::std::option::Option, + ::libc::c_uint)>, pub xTruncate: ::std::option::Option, + ::libc::c_uint)>, pub xDestroy: ::std::option::Option, pub xShrink: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_void) + -> ::libc::c_int>, pub xShutdown: ::std::option::Option, + *mut ::libc::c_void)>, pub xCreate: ::std::option::Option *mut sqlite3_pcache>, pub xCachesize: ::std::option::Option, + ::libc::c_int)>, pub xPagecount: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xFetch: ::std::option::Option *mut ::std::os::raw::c_void>, + ::libc::c_int) + -> *mut ::libc::c_void>, pub xUnpin: ::std::option::Option, + ::libc::c_int)>, pub xRekey: ::std::option::Option, + ::libc::c_uint)>, pub xTruncate: ::std::option::Option, + ::libc::c_uint)>, pub xDestroy: ::std::option::Option, } @@ -689,12 +689,12 @@ pub type sqlite3_rtree_dbl = f64; #[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 pContext: *mut ::libc::c_void, + pub nParam: ::libc::c_int, pub aParam: *mut sqlite3_rtree_dbl, - pub pUser: *mut ::std::os::raw::c_void, + pub pUser: *mut ::libc::c_void, pub xDelUser: ::std::option::Option, + *mut ::libc::c_void)>, } impl ::std::default::Default for sqlite3_rtree_geometry { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -703,21 +703,21 @@ impl ::std::default::Default for sqlite3_rtree_geometry { #[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 pContext: *mut ::libc::c_void, + pub nParam: ::libc::c_int, pub aParam: *mut sqlite3_rtree_dbl, - pub pUser: *mut ::std::os::raw::c_void, + pub pUser: *mut ::libc::c_void, pub xDelUser: ::std::option::Option, + *mut ::libc::c_void)>, pub aCoord: *mut sqlite3_rtree_dbl, - 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 anQueue: *mut ::libc::c_uint, + pub nCoord: ::libc::c_int, + pub iLevel: ::libc::c_int, + pub mxLevel: ::libc::c_int, pub iRowid: sqlite3_int64, pub rParentScore: sqlite3_rtree_dbl, - pub eParentWithin: ::std::os::raw::c_int, - pub eWithin: ::std::os::raw::c_int, + pub eParentWithin: ::libc::c_int, + pub eWithin: ::libc::c_int, pub rScore: sqlite3_rtree_dbl, pub apSqlParam: *mut *mut sqlite3_value, } @@ -729,15 +729,15 @@ 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, + pub a: *const ::libc::c_uchar, + pub b: *const ::libc::c_uchar, } impl ::std::default::Default for Fts5PhraseIter { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -746,157 +746,157 @@ impl ::std::default::Default for Fts5PhraseIter { #[derive(Copy, Clone)] #[derive(Debug)] pub struct Fts5ExtensionApi { - pub iVersion: ::std::os::raw::c_int, + pub iVersion: ::libc::c_int, pub xUserData: ::std::option::Option *mut ::std::os::raw::c_void>, + -> *mut ::libc::c_void>, pub xColumnCount: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xRowCount: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xColumnTotalSize: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xTokenize: ::std::option::Option - ::std::os::raw::c_int>) - -> ::std::os::raw::c_int>, + ::libc::c_int>) + -> ::libc::c_int>, pub xPhraseCount: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xPhraseSize: ::std::option::Option ::std::os::raw::c_int>, + ::libc::c_int) + -> ::libc::c_int>, pub xInstCount: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xInst: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xRowid: ::std::option::Option sqlite3_int64>, pub xColumnText: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xColumnSize: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xQueryPhrase: ::std::option::Option - ::std::os::raw::c_int>) - -> ::std::os::raw::c_int>, + ::libc::c_int>) + -> ::libc::c_int>, pub xSetAuxdata: ::std::option::Option) - -> ::std::os::raw::c_int>, + *mut ::libc::c_void)>) + -> ::libc::c_int>, pub xGetAuxdata: ::std::option::Option - *mut ::std::os::raw::c_void>, + *mut ::libc::c_void>, pub xPhraseFirst: ::std::option::Option ::std::os::raw::c_int>, + *mut ::libc::c_int) + -> ::libc::c_int>, pub xPhraseNext: ::std::option::Option, + *mut ::libc::c_int)>, pub xPhraseFirstColumn: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, pub xPhraseNextColumn: ::std::option::Option, + *mut ::libc::c_int)>, } impl ::std::default::Default for Fts5ExtensionApi { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -907,42 +907,42 @@ pub enum Fts5Tokenizer { } #[derive(Debug)] pub struct fts5_tokenizer { pub xCreate: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xDelete: ::std::option::Option, pub xTokenize: ::std::option::Option - ::std::os::raw::c_int>) - -> ::std::os::raw::c_int>, + ::libc::c_int>) + -> ::libc::c_int>, } impl ::std::default::Default for fts5_tokenizer { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -951,40 +951,40 @@ impl ::std::default::Default for fts5_tokenizer { #[derive(Copy, Clone)] #[derive(Debug)] pub struct fts5_api { - pub iVersion: ::std::os::raw::c_int, + pub iVersion: ::libc::c_int, pub xCreateTokenizer: ::std::option::Option) - -> ::std::os::raw::c_int>, + *mut ::libc::c_void)>) + -> ::libc::c_int>, pub xFindTokenizer: ::std::option::Option ::std::os::raw::c_int>, + -> ::libc::c_int>, pub xCreateFunction: ::std::option::Option) - -> ::std::os::raw::c_int>, + *mut ::libc::c_void)>) + -> ::libc::c_int>, } impl ::std::default::Default for fts5_api { fn default() -> Self { unsafe { ::std::mem::zeroed() } } @@ -994,430 +994,430 @@ pub type __builtin_va_list = [__va_list_tag; 1usize]; #[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, + 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, } impl ::std::default::Default for __va_list_tag { fn default() -> Self { unsafe { ::std::mem::zeroed() } } } #[link(name = "sqlite3", kind = "dylib")] extern "C" { - 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; + pub static mut sqlite3_version: [::libc::c_char; 0usize]; + pub static mut sqlite3_temp_directory: *mut ::libc::c_char; + pub static mut sqlite3_data_directory: *mut ::libc::c_char; } #[link(name = "sqlite3", kind = "dylib")] extern "C" { - 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_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 ::std::os::raw::c_char, + sql: *const ::libc::c_char, callback: ::std::option::Option - ::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; + ::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: ::std::os::raw::c_int, ...) - -> ::std::os::raw::c_int; + op: ::libc::c_int, ...) + -> ::libc::c_int; pub fn sqlite3_extended_result_codes(arg1: *mut sqlite3, - onoff: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + onoff: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64; - 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_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 ::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_complete(sql: *const ::libc::c_char) + -> ::libc::c_int; + pub fn sqlite3_complete16(sql: *const ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_busy_handler(arg1: *mut sqlite3, arg2: ::std::option::Option - ::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; + ::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 ::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; + 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 ::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, + -> *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 ::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; + -> *mut ::libc::c_void; + pub fn sqlite3_free(arg1: *mut ::libc::c_void); + pub fn sqlite3_msize(arg1: *mut ::libc::c_void) -> sqlite3_uint64; pub fn sqlite3_memory_used() -> sqlite3_int64; - pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) + pub fn sqlite3_memory_highwater(resetFlag: ::libc::c_int) -> sqlite3_int64; - pub fn sqlite3_randomness(N: ::std::os::raw::c_int, - P: *mut ::std::os::raw::c_void); + pub fn sqlite3_randomness(N: ::libc::c_int, + P: *mut ::libc::c_void); pub fn sqlite3_set_authorizer(arg1: *mut sqlite3, xAuth: ::std::option::Option - ::std::os::raw::c_int>, - pUserData: *mut ::std::os::raw::c_void) - -> ::std::os::raw::c_int; + ::libc::c_int>, + pUserData: *mut ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_trace(arg1: *mut sqlite3, xTrace: ::std::option::Option, - arg2: *mut ::std::os::raw::c_void) - -> *mut ::std::os::raw::c_void; + *const ::libc::c_char)>, + arg2: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_profile(arg1: *mut sqlite3, xProfile: ::std::option::Option, - arg2: *mut ::std::os::raw::c_void) - -> *mut ::std::os::raw::c_void; + arg2: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_progress_handler(arg1: *mut sqlite3, - arg2: ::std::os::raw::c_int, + arg2: ::libc::c_int, arg3: ::std::option::Option - ::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, + ::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: ::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, + 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) -> ::std::os::raw::c_int; + pub fn sqlite3_errcode(db: *mut sqlite3) -> ::libc::c_int; pub fn sqlite3_extended_errcode(db: *mut sqlite3) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_errmsg(arg1: *mut sqlite3) - -> *const ::std::os::raw::c_char; + -> *const ::libc::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; + -> *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 ::std::os::raw::c_char, - nByte: ::std::os::raw::c_int, + zSql: *const ::libc::c_char, + nByte: ::libc::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + pzTail: *mut *const ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_prepare_v2(db: *mut sqlite3, - zSql: *const ::std::os::raw::c_char, - nByte: ::std::os::raw::c_int, + zSql: *const ::libc::c_char, + nByte: ::libc::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + pzTail: *mut *const ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_prepare16(db: *mut sqlite3, - zSql: *const ::std::os::raw::c_void, - nByte: ::std::os::raw::c_int, + zSql: *const ::libc::c_void, + nByte: ::libc::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::std::os::raw::c_void) - -> ::std::os::raw::c_int; + pzTail: *mut *const ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_prepare16_v2(db: *mut sqlite3, - zSql: *const ::std::os::raw::c_void, - nByte: ::std::os::raw::c_int, + zSql: *const ::libc::c_void, + nByte: ::libc::c_int, ppStmt: *mut *mut sqlite3_stmt, - pzTail: *mut *const ::std::os::raw::c_void) - -> ::std::os::raw::c_int; + pzTail: *mut *const ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) - -> *const ::std::os::raw::c_char; + -> *const ::libc::c_char; pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; + -> ::libc::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, + arg2: ::libc::c_int, + arg3: *const ::libc::c_void, + n: ::libc::c_int, arg4: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_bind_blob64(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int, - arg3: *const ::std::os::raw::c_void, + arg2: ::libc::c_int, + arg3: *const ::libc::c_void, arg4: sqlite3_uint64, arg5: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_bind_double(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int, arg3: f64) - -> ::std::os::raw::c_int; + arg2: ::libc::c_int, arg3: f64) + -> ::libc::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; + arg2: ::libc::c_int, + arg3: ::libc::c_int) + -> ::libc::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; + arg2: ::libc::c_int, + arg3: sqlite3_int64) -> ::libc::c_int; pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + arg2: ::libc::c_int) + -> ::libc::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, + arg2: ::libc::c_int, + arg3: *const ::libc::c_char, + arg4: ::libc::c_int, arg5: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::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, + arg2: ::libc::c_int, + arg3: *const ::libc::c_void, + arg4: ::libc::c_int, arg5: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_bind_text64(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int, - arg3: *const ::std::os::raw::c_char, + arg2: ::libc::c_int, + arg3: *const ::libc::c_char, arg4: sqlite3_uint64, arg5: ::std::option::Option, - encoding: ::std::os::raw::c_uchar) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>, + encoding: ::libc::c_uchar) + -> ::libc::c_int; pub fn sqlite3_bind_value(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int, + arg2: ::libc::c_int, arg3: *const sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::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; + arg2: ::libc::c_int, + n: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_bind_zeroblob64(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int, + arg2: ::libc::c_int, arg3: sqlite3_uint64) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + arg2: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt, - zName: *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + zName: *const ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt, - N: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + N: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt, - N: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + N: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_database_name(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + arg2: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_column_database_name16(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + arg2: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_table_name(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + arg2: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_column_table_name16(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + arg2: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_origin_name(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + arg2: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + arg2: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_decltype(arg1: *mut sqlite3_stmt, - arg2: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_char; + arg2: ::libc::c_int) + -> *const ::libc::c_char; pub fn sqlite3_column_decltype16(arg1: *mut sqlite3_stmt, - 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; + 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) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + iCol: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + iCol: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_column_bytes16(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + iCol: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) -> f64; + iCol: ::libc::c_int) -> f64; pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + iCol: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) -> sqlite3_int64; + iCol: ::libc::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; + iCol: ::libc::c_int) + -> *const ::libc::c_uchar; pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> *const ::std::os::raw::c_void; + iCol: ::libc::c_int) + -> *const ::libc::c_void; pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + iCol: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt, - iCol: ::std::os::raw::c_int) + iCol: ::libc::c_int) -> *mut sqlite3_value; 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; + -> ::libc::c_int; + pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::libc::c_int; pub fn sqlite3_create_function(db: *mut sqlite3, 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, + *const ::libc::c_char, + nArg: ::libc::c_int, + eTextRep: ::libc::c_int, + pApp: *mut ::libc::c_void, xFunc: ::std::option::Option, xStep: ::std::option::Option, xFinal: ::std::option::Option) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_create_function16(db: *mut sqlite3, 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, + *const ::libc::c_void, + nArg: ::libc::c_int, + eTextRep: ::libc::c_int, + pApp: *mut ::libc::c_void, xFunc: ::std::option::Option, xStep: ::std::option::Option, xFinal: ::std::option::Option) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_create_function_v2(db: *mut sqlite3, 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, + *const ::libc::c_char, + nArg: ::libc::c_int, + eTextRep: ::libc::c_int, + pApp: *mut ::libc::c_void, xFunc: ::std::option::Option, xStep: ::std::option::Option, xFinal: @@ -1425,533 +1425,533 @@ extern "C" { *mut sqlite3_context)>, xDestroy: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context) - -> ::std::os::raw::c_int; - pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; + -> ::libc::c_int; + pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::libc::c_int; pub fn sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt) - -> ::std::os::raw::c_int; - pub fn sqlite3_global_recover() -> ::std::os::raw::c_int; + -> ::libc::c_int; + pub fn sqlite3_global_recover() -> ::libc::c_int; pub fn sqlite3_thread_cleanup(); pub fn sqlite3_memory_alarm(arg1: ::std::option::Option, - arg2: *mut ::std::os::raw::c_void, - arg3: sqlite3_int64) -> ::std::os::raw::c_int; + ::libc::c_int)>, + arg2: *mut ::libc::c_void, + arg3: sqlite3_int64) -> ::libc::c_int; pub fn sqlite3_value_blob(arg1: *mut sqlite3_value) - -> *const ::std::os::raw::c_void; + -> *const ::libc::c_void; pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::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; + -> ::libc::c_int; pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64; pub fn sqlite3_value_text(arg1: *mut sqlite3_value) - -> *const ::std::os::raw::c_uchar; + -> *const ::libc::c_uchar; pub fn sqlite3_value_text16(arg1: *mut sqlite3_value) - -> *const ::std::os::raw::c_void; + -> *const ::libc::c_void; pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value) - -> *const ::std::os::raw::c_void; + -> *const ::libc::c_void; pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value) - -> *const ::std::os::raw::c_void; + -> *const ::libc::c_void; pub fn sqlite3_value_type(arg1: *mut sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_value_subtype(arg1: *mut sqlite3_value) - -> ::std::os::raw::c_uint; + -> ::libc::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: ::std::os::raw::c_int) - -> *mut ::std::os::raw::c_void; + nBytes: ::libc::c_int) + -> *mut ::libc::c_void; pub fn sqlite3_user_data(arg1: *mut sqlite3_context) - -> *mut ::std::os::raw::c_void; + -> *mut ::libc::c_void; pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite3; pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context, - N: ::std::os::raw::c_int) - -> *mut ::std::os::raw::c_void; + N: ::libc::c_int) + -> *mut ::libc::c_void; pub fn sqlite3_set_auxdata(arg1: *mut sqlite3_context, - N: ::std::os::raw::c_int, - arg2: *mut ::std::os::raw::c_void, + N: ::libc::c_int, + arg2: *mut ::libc::c_void, arg3: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_blob(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, + arg2: *const ::libc::c_void, + arg3: ::libc::c_int, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_blob64(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, + arg2: *const ::libc::c_void, arg3: sqlite3_uint64, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64); pub fn sqlite3_result_error(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int); + arg2: *const ::libc::c_char, + arg3: ::libc::c_int); pub fn sqlite3_result_error16(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int); + 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); pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context, - arg2: ::std::os::raw::c_int); + arg2: ::libc::c_int); pub fn sqlite3_result_int(arg1: *mut sqlite3_context, - arg2: ::std::os::raw::c_int); + arg2: ::libc::c_int); pub fn sqlite3_result_int64(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 ::std::os::raw::c_char, - arg3: ::std::os::raw::c_int, + arg2: *const ::libc::c_char, + arg3: ::libc::c_int, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_text64(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_char, + arg2: *const ::libc::c_char, arg3: sqlite3_uint64, arg4: ::std::option::Option, - encoding: ::std::os::raw::c_uchar); + *mut ::libc::c_void)>, + encoding: ::libc::c_uchar); pub fn sqlite3_result_text16(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, + arg2: *const ::libc::c_void, + arg3: ::libc::c_int, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_text16le(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, + arg2: *const ::libc::c_void, + arg3: ::libc::c_int, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_text16be(arg1: *mut sqlite3_context, - arg2: *const ::std::os::raw::c_void, - arg3: ::std::os::raw::c_int, + arg2: *const ::libc::c_void, + arg3: ::libc::c_int, arg4: ::std::option::Option); + *mut ::libc::c_void)>); pub fn sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value); pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context, - n: ::std::os::raw::c_int); + n: ::libc::c_int); pub fn sqlite3_result_zeroblob64(arg1: *mut sqlite3_context, n: sqlite3_uint64) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_result_subtype(arg1: *mut sqlite3_context, - arg2: ::std::os::raw::c_uint); + arg2: ::libc::c_uint); pub fn sqlite3_create_collation(arg1: *mut sqlite3, - zName: *const ::std::os::raw::c_char, - eTextRep: ::std::os::raw::c_int, - pArg: *mut ::std::os::raw::c_void, + zName: *const ::libc::c_char, + eTextRep: ::libc::c_int, + pArg: *mut ::libc::c_void, xCompare: ::std::option::Option - ::std::os::raw::c_int>) - -> ::std::os::raw::c_int; + ::libc::c_int>) + -> ::libc::c_int; pub fn sqlite3_create_collation_v2(arg1: *mut sqlite3, - zName: *const ::std::os::raw::c_char, - eTextRep: ::std::os::raw::c_int, - pArg: *mut ::std::os::raw::c_void, + zName: *const ::libc::c_char, + eTextRep: ::libc::c_int, + pArg: *mut ::libc::c_void, xCompare: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, xDestroy: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_create_collation16(arg1: *mut sqlite3, - zName: *const ::std::os::raw::c_void, - eTextRep: ::std::os::raw::c_int, - pArg: *mut ::std::os::raw::c_void, + zName: *const ::libc::c_void, + eTextRep: ::libc::c_int, + pArg: *mut ::libc::c_void, xCompare: ::std::option::Option - ::std::os::raw::c_int>) - -> ::std::os::raw::c_int; + ::libc::c_int>) + -> ::libc::c_int; pub fn sqlite3_collation_needed(arg1: *mut sqlite3, - arg2: *mut ::std::os::raw::c_void, + arg2: *mut ::libc::c_void, arg3: ::std::option::Option) - -> ::std::os::raw::c_int; + *const ::libc::c_char)>) + -> ::libc::c_int; pub fn sqlite3_collation_needed16(arg1: *mut sqlite3, - arg2: *mut ::std::os::raw::c_void, + arg2: *mut ::libc::c_void, arg3: ::std::option::Option) - -> ::std::os::raw::c_int; - pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + *const ::libc::c_void)>) + -> ::libc::c_int; + pub fn sqlite3_sleep(arg1: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_get_autocommit(arg1: *mut sqlite3) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3; pub fn sqlite3_db_filename(db: *mut sqlite3, - zDbName: *const ::std::os::raw::c_char) - -> *const ::std::os::raw::c_char; + zDbName: *const ::libc::c_char) + -> *const ::libc::c_char; pub fn sqlite3_db_readonly(db: *mut sqlite3, - zDbName: *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + zDbName: *const ::libc::c_char) + -> ::libc::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 - ::std::os::raw::c_int>, - arg3: *mut ::std::os::raw::c_void) - -> *mut ::std::os::raw::c_void; + ::libc::c_int>, + arg3: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_rollback_hook(arg1: *mut sqlite3, arg2: ::std::option::Option, - arg3: *mut ::std::os::raw::c_void) - -> *mut ::std::os::raw::c_void; + *mut ::libc::c_void)>, + arg3: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_update_hook(arg1: *mut sqlite3, arg2: ::std::option::Option, - 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; + 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) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64; - pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int); + pub fn sqlite3_soft_heap_limit(N: ::libc::c_int); pub fn sqlite3_table_column_metadata(db: *mut sqlite3, zDbName: - *const ::std::os::raw::c_char, + *const ::libc::c_char, zTableName: - *const ::std::os::raw::c_char, + *const ::libc::c_char, zColumnName: - *const ::std::os::raw::c_char, + *const ::libc::c_char, pzDataType: - *mut *const ::std::os::raw::c_char, + *mut *const ::libc::c_char, pzCollSeq: - *mut *const ::std::os::raw::c_char, - pNotNull: *mut ::std::os::raw::c_int, + *mut *const ::libc::c_char, + pNotNull: *mut ::libc::c_int, pPrimaryKey: - *mut ::std::os::raw::c_int, - pAutoinc: *mut ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + *mut ::libc::c_int, + pAutoinc: *mut ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_load_extension(db: *mut sqlite3, - 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; + zFile: *const ::libc::c_char, + zProc: *const ::libc::c_char, + pzErrMsg: *mut *mut ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_enable_load_extension(db: *mut sqlite3, - onoff: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + onoff: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_auto_extension(xEntryPoint: ::std::option::Option) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_cancel_auto_extension(xEntryPoint: ::std::option::Option) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_reset_auto_extension(); pub fn sqlite3_create_module(db: *mut sqlite3, - zName: *const ::std::os::raw::c_char, + zName: *const ::libc::c_char, p: *const sqlite3_module, - pClientData: *mut ::std::os::raw::c_void) - -> ::std::os::raw::c_int; + pClientData: *mut ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_create_module_v2(db: *mut sqlite3, - zName: *const ::std::os::raw::c_char, + zName: *const ::libc::c_char, p: *const sqlite3_module, - pClientData: *mut ::std::os::raw::c_void, + pClientData: *mut ::libc::c_void, xDestroy: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; pub fn sqlite3_declare_vtab(arg1: *mut sqlite3, - zSQL: *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + zSQL: *const ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_overload_function(arg1: *mut sqlite3, - zFuncName: *const ::std::os::raw::c_char, - nArg: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + zFuncName: *const ::libc::c_char, + nArg: ::libc::c_int) + -> ::libc::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, + zDb: *const ::libc::c_char, + zTable: *const ::libc::c_char, + zColumn: *const ::libc::c_char, iRow: sqlite3_int64, - flags: ::std::os::raw::c_int, + flags: ::libc::c_int, ppBlob: *mut *mut sqlite3_blob) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) - -> ::std::os::raw::c_int; + -> ::libc::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; + Z: *mut ::libc::c_void, + N: ::libc::c_int, + iOffset: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_blob_write(arg1: *mut sqlite3_blob, - 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) + 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) -> *mut sqlite3_vfs; pub fn sqlite3_vfs_register(arg1: *mut sqlite3_vfs, - makeDflt: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + makeDflt: ::libc::c_int) + -> ::libc::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) + -> ::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) - -> ::std::os::raw::c_int; + -> ::libc::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; + -> ::libc::c_int; pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex; pub fn sqlite3_file_control(arg1: *mut sqlite3, - 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, + 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, pHighwater: *mut sqlite3_int64, - 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; + 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: ::std::os::raw::c_int, - resetFlg: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + op: ::libc::c_int, + resetFlg: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_backup_init(pDest: *mut sqlite3, - zDestName: *const ::std::os::raw::c_char, + zDestName: *const ::libc::c_char, pSource: *mut sqlite3, - zSourceName: *const ::std::os::raw::c_char) + zSourceName: *const ::libc::c_char) -> *mut sqlite3_backup; pub fn sqlite3_backup_step(p: *mut sqlite3_backup, - nPage: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + nPage: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_backup_finish(p: *mut sqlite3_backup) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_unlock_notify(pBlocked: *mut sqlite3, xNotify: ::std::option::Option, - 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, ...); + ::libc::c_int)>, + 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_strlike(zGlob: *const ::libc::c_char, + zStr: *const ::libc::c_char, + cEsc: ::libc::c_uint) + -> ::libc::c_int; + pub fn sqlite3_log(iErrCode: ::libc::c_int, + zFormat: *const ::libc::c_char, ...); pub fn sqlite3_wal_hook(arg1: *mut sqlite3, arg2: ::std::option::Option - ::std::os::raw::c_int>, - arg3: *mut ::std::os::raw::c_void) - -> *mut ::std::os::raw::c_void; + ::libc::c_int>, + arg3: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3, - N: ::std::os::raw::c_int) - -> ::std::os::raw::c_int; + N: ::libc::c_int) + -> ::libc::c_int; pub fn sqlite3_wal_checkpoint(db: *mut sqlite3, - zDb: *const ::std::os::raw::c_char) - -> ::std::os::raw::c_int; + zDb: *const ::libc::c_char) + -> ::libc::c_int; pub fn sqlite3_wal_checkpoint_v2(db: *mut sqlite3, - 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; + 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: ::std::os::raw::c_int, ...) - -> ::std::os::raw::c_int; + op: ::libc::c_int, ...) + -> ::libc::c_int; pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_stmt_scanstatus(pStmt: *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; + 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); - pub fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int; + pub fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::libc::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; + arg1: *mut ::libc::c_void) + -> *mut ::libc::c_void; pub fn sqlite3_preupdate_old(arg1: *mut sqlite3, - arg2: ::std::os::raw::c_int, + arg2: ::libc::c_int, arg3: *mut *mut sqlite3_value) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_preupdate_count(arg1: *mut sqlite3) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_preupdate_depth(arg1: *mut sqlite3) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_preupdate_new(arg1: *mut sqlite3, - arg2: ::std::os::raw::c_int, + arg2: ::libc::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; + -> ::libc::c_int; + pub fn sqlite3_system_errno(arg1: *mut sqlite3) -> ::libc::c_int; pub fn sqlite3_snapshot_get(db: *mut sqlite3, - zSchema: *const ::std::os::raw::c_char, + zSchema: *const ::libc::c_char, ppSnapshot: *mut *mut sqlite3_snapshot) - -> ::std::os::raw::c_int; + -> ::libc::c_int; pub fn sqlite3_snapshot_open(db: *mut sqlite3, - zSchema: *const ::std::os::raw::c_char, + zSchema: *const ::libc::c_char, pSnapshot: *mut sqlite3_snapshot) - -> ::std::os::raw::c_int; + -> ::libc::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; + -> ::libc::c_int; pub fn sqlite3_rtree_geometry_callback(db: *mut sqlite3, zGeom: - *const ::std::os::raw::c_char, + *const ::libc::c_char, xGeom: ::std::option::Option - ::std::os::raw::c_int>, + ::libc::c_int>, pContext: - *mut ::std::os::raw::c_void) - -> ::std::os::raw::c_int; + *mut ::libc::c_void) + -> ::libc::c_int; pub fn sqlite3_rtree_query_callback(db: *mut sqlite3, zQueryFunc: - *const ::std::os::raw::c_char, + *const ::libc::c_char, xQueryFunc: ::std::option::Option - ::std::os::raw::c_int>, - pContext: *mut ::std::os::raw::c_void, + ::libc::c_int>, + pContext: *mut ::libc::c_void, xDestructor: ::std::option::Option) - -> ::std::os::raw::c_int; + *mut ::libc::c_void)>) + -> ::libc::c_int; }