1 /* automatically generated by rust-bindgen 0.69.4 */ 2 3 extern "C" { sqlite3_auto_extension( xEntryPoint: ::std::option::Option< unsafe extern "C" fn( db: *mut sqlite3, pzErrMsg: *mut *mut ::std::os::raw::c_char, _: *const sqlite3_api_routines, ) -> ::std::os::raw::c_int, >, ) -> ::std::os::raw::c_int4 pub fn sqlite3_auto_extension( 5 xEntryPoint: ::std::option::Option< 6 unsafe extern "C" fn( 7 db: *mut sqlite3, 8 pzErrMsg: *mut *mut ::std::os::raw::c_char, 9 _: *const sqlite3_api_routines, 10 ) -> ::std::os::raw::c_int, 11 >, 12 ) -> ::std::os::raw::c_int; 13 } 14 extern "C" { sqlite3_cancel_auto_extension( xEntryPoint: ::std::option::Option< unsafe extern "C" fn( db: *mut sqlite3, pzErrMsg: *mut *mut ::std::os::raw::c_char, _: *const sqlite3_api_routines, ) -> ::std::os::raw::c_int, >, ) -> ::std::os::raw::c_int15 pub fn sqlite3_cancel_auto_extension( 16 xEntryPoint: ::std::option::Option< 17 unsafe extern "C" fn( 18 db: *mut sqlite3, 19 pzErrMsg: *mut *mut ::std::os::raw::c_char, 20 _: *const sqlite3_api_routines, 21 ) -> ::std::os::raw::c_int, 22 >, 23 ) -> ::std::os::raw::c_int; 24 } 25 26 pub const SQLITE_VERSION: &[u8; 7] = b"3.46.0\0"; 27 pub const SQLITE_VERSION_NUMBER: i32 = 3046000; 28 pub const SQLITE_SOURCE_ID: &[u8; 85] = 29 b"2024-05-23 13:25:27 96c92aba00c8375bc32fafcdf12429c58bd8aabfcadab6683e35bbb9cdebf19e\0"; 30 pub const SQLITE_OK: i32 = 0; 31 pub const SQLITE_ERROR: i32 = 1; 32 pub const SQLITE_INTERNAL: i32 = 2; 33 pub const SQLITE_PERM: i32 = 3; 34 pub const SQLITE_ABORT: i32 = 4; 35 pub const SQLITE_BUSY: i32 = 5; 36 pub const SQLITE_LOCKED: i32 = 6; 37 pub const SQLITE_NOMEM: i32 = 7; 38 pub const SQLITE_READONLY: i32 = 8; 39 pub const SQLITE_INTERRUPT: i32 = 9; 40 pub const SQLITE_IOERR: i32 = 10; 41 pub const SQLITE_CORRUPT: i32 = 11; 42 pub const SQLITE_NOTFOUND: i32 = 12; 43 pub const SQLITE_FULL: i32 = 13; 44 pub const SQLITE_CANTOPEN: i32 = 14; 45 pub const SQLITE_PROTOCOL: i32 = 15; 46 pub const SQLITE_EMPTY: i32 = 16; 47 pub const SQLITE_SCHEMA: i32 = 17; 48 pub const SQLITE_TOOBIG: i32 = 18; 49 pub const SQLITE_CONSTRAINT: i32 = 19; 50 pub const SQLITE_MISMATCH: i32 = 20; 51 pub const SQLITE_MISUSE: i32 = 21; 52 pub const SQLITE_NOLFS: i32 = 22; 53 pub const SQLITE_AUTH: i32 = 23; 54 pub const SQLITE_FORMAT: i32 = 24; 55 pub const SQLITE_RANGE: i32 = 25; 56 pub const SQLITE_NOTADB: i32 = 26; 57 pub const SQLITE_NOTICE: i32 = 27; 58 pub const SQLITE_WARNING: i32 = 28; 59 pub const SQLITE_ROW: i32 = 100; 60 pub const SQLITE_DONE: i32 = 101; 61 pub const SQLITE_ERROR_MISSING_COLLSEQ: i32 = 257; 62 pub const SQLITE_ERROR_RETRY: i32 = 513; 63 pub const SQLITE_ERROR_SNAPSHOT: i32 = 769; 64 pub const SQLITE_IOERR_READ: i32 = 266; 65 pub const SQLITE_IOERR_SHORT_READ: i32 = 522; 66 pub const SQLITE_IOERR_WRITE: i32 = 778; 67 pub const SQLITE_IOERR_FSYNC: i32 = 1034; 68 pub const SQLITE_IOERR_DIR_FSYNC: i32 = 1290; 69 pub const SQLITE_IOERR_TRUNCATE: i32 = 1546; 70 pub const SQLITE_IOERR_FSTAT: i32 = 1802; 71 pub const SQLITE_IOERR_UNLOCK: i32 = 2058; 72 pub const SQLITE_IOERR_RDLOCK: i32 = 2314; 73 pub const SQLITE_IOERR_DELETE: i32 = 2570; 74 pub const SQLITE_IOERR_BLOCKED: i32 = 2826; 75 pub const SQLITE_IOERR_NOMEM: i32 = 3082; 76 pub const SQLITE_IOERR_ACCESS: i32 = 3338; 77 pub const SQLITE_IOERR_CHECKRESERVEDLOCK: i32 = 3594; 78 pub const SQLITE_IOERR_LOCK: i32 = 3850; 79 pub const SQLITE_IOERR_CLOSE: i32 = 4106; 80 pub const SQLITE_IOERR_DIR_CLOSE: i32 = 4362; 81 pub const SQLITE_IOERR_SHMOPEN: i32 = 4618; 82 pub const SQLITE_IOERR_SHMSIZE: i32 = 4874; 83 pub const SQLITE_IOERR_SHMLOCK: i32 = 5130; 84 pub const SQLITE_IOERR_SHMMAP: i32 = 5386; 85 pub const SQLITE_IOERR_SEEK: i32 = 5642; 86 pub const SQLITE_IOERR_DELETE_NOENT: i32 = 5898; 87 pub const SQLITE_IOERR_MMAP: i32 = 6154; 88 pub const SQLITE_IOERR_GETTEMPPATH: i32 = 6410; 89 pub const SQLITE_IOERR_CONVPATH: i32 = 6666; 90 pub const SQLITE_IOERR_VNODE: i32 = 6922; 91 pub const SQLITE_IOERR_AUTH: i32 = 7178; 92 pub const SQLITE_IOERR_BEGIN_ATOMIC: i32 = 7434; 93 pub const SQLITE_IOERR_COMMIT_ATOMIC: i32 = 7690; 94 pub const SQLITE_IOERR_ROLLBACK_ATOMIC: i32 = 7946; 95 pub const SQLITE_IOERR_DATA: i32 = 8202; 96 pub const SQLITE_IOERR_CORRUPTFS: i32 = 8458; 97 pub const SQLITE_IOERR_IN_PAGE: i32 = 8714; 98 pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262; 99 pub const SQLITE_LOCKED_VTAB: i32 = 518; 100 pub const SQLITE_BUSY_RECOVERY: i32 = 261; 101 pub const SQLITE_BUSY_SNAPSHOT: i32 = 517; 102 pub const SQLITE_BUSY_TIMEOUT: i32 = 773; 103 pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270; 104 pub const SQLITE_CANTOPEN_ISDIR: i32 = 526; 105 pub const SQLITE_CANTOPEN_FULLPATH: i32 = 782; 106 pub const SQLITE_CANTOPEN_CONVPATH: i32 = 1038; 107 pub const SQLITE_CANTOPEN_DIRTYWAL: i32 = 1294; 108 pub const SQLITE_CANTOPEN_SYMLINK: i32 = 1550; 109 pub const SQLITE_CORRUPT_VTAB: i32 = 267; 110 pub const SQLITE_CORRUPT_SEQUENCE: i32 = 523; 111 pub const SQLITE_CORRUPT_INDEX: i32 = 779; 112 pub const SQLITE_READONLY_RECOVERY: i32 = 264; 113 pub const SQLITE_READONLY_CANTLOCK: i32 = 520; 114 pub const SQLITE_READONLY_ROLLBACK: i32 = 776; 115 pub const SQLITE_READONLY_DBMOVED: i32 = 1032; 116 pub const SQLITE_READONLY_CANTINIT: i32 = 1288; 117 pub const SQLITE_READONLY_DIRECTORY: i32 = 1544; 118 pub const SQLITE_ABORT_ROLLBACK: i32 = 516; 119 pub const SQLITE_CONSTRAINT_CHECK: i32 = 275; 120 pub const SQLITE_CONSTRAINT_COMMITHOOK: i32 = 531; 121 pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787; 122 pub const SQLITE_CONSTRAINT_FUNCTION: i32 = 1043; 123 pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299; 124 pub const SQLITE_CONSTRAINT_PRIMARYKEY: i32 = 1555; 125 pub const SQLITE_CONSTRAINT_TRIGGER: i32 = 1811; 126 pub const SQLITE_CONSTRAINT_UNIQUE: i32 = 2067; 127 pub const SQLITE_CONSTRAINT_VTAB: i32 = 2323; 128 pub const SQLITE_CONSTRAINT_ROWID: i32 = 2579; 129 pub const SQLITE_CONSTRAINT_PINNED: i32 = 2835; 130 pub const SQLITE_CONSTRAINT_DATATYPE: i32 = 3091; 131 pub const SQLITE_NOTICE_RECOVER_WAL: i32 = 283; 132 pub const SQLITE_NOTICE_RECOVER_ROLLBACK: i32 = 539; 133 pub const SQLITE_NOTICE_RBU: i32 = 795; 134 pub const SQLITE_WARNING_AUTOINDEX: i32 = 284; 135 pub const SQLITE_AUTH_USER: i32 = 279; 136 pub const SQLITE_OK_LOAD_PERMANENTLY: i32 = 256; 137 pub const SQLITE_OK_SYMLINK: i32 = 512; 138 pub const SQLITE_OPEN_READONLY: i32 = 1; 139 pub const SQLITE_OPEN_READWRITE: i32 = 2; 140 pub const SQLITE_OPEN_CREATE: i32 = 4; 141 pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8; 142 pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16; 143 pub const SQLITE_OPEN_AUTOPROXY: i32 = 32; 144 pub const SQLITE_OPEN_URI: i32 = 64; 145 pub const SQLITE_OPEN_MEMORY: i32 = 128; 146 pub const SQLITE_OPEN_MAIN_DB: i32 = 256; 147 pub const SQLITE_OPEN_TEMP_DB: i32 = 512; 148 pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024; 149 pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048; 150 pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096; 151 pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192; 152 pub const SQLITE_OPEN_SUPER_JOURNAL: i32 = 16384; 153 pub const SQLITE_OPEN_NOMUTEX: i32 = 32768; 154 pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536; 155 pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072; 156 pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144; 157 pub const SQLITE_OPEN_WAL: i32 = 524288; 158 pub const SQLITE_OPEN_NOFOLLOW: i32 = 16777216; 159 pub const SQLITE_OPEN_EXRESCODE: i32 = 33554432; 160 pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384; 161 pub const SQLITE_IOCAP_ATOMIC: i32 = 1; 162 pub const SQLITE_IOCAP_ATOMIC512: i32 = 2; 163 pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4; 164 pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8; 165 pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16; 166 pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32; 167 pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64; 168 pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128; 169 pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256; 170 pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512; 171 pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024; 172 pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048; 173 pub const SQLITE_IOCAP_POWERSAFE_OVERWRITE: i32 = 4096; 174 pub const SQLITE_IOCAP_IMMUTABLE: i32 = 8192; 175 pub const SQLITE_IOCAP_BATCH_ATOMIC: i32 = 16384; 176 pub const SQLITE_LOCK_NONE: i32 = 0; 177 pub const SQLITE_LOCK_SHARED: i32 = 1; 178 pub const SQLITE_LOCK_RESERVED: i32 = 2; 179 pub const SQLITE_LOCK_PENDING: i32 = 3; 180 pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4; 181 pub const SQLITE_SYNC_NORMAL: i32 = 2; 182 pub const SQLITE_SYNC_FULL: i32 = 3; 183 pub const SQLITE_SYNC_DATAONLY: i32 = 16; 184 pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1; 185 pub const SQLITE_FCNTL_GET_LOCKPROXYFILE: i32 = 2; 186 pub const SQLITE_FCNTL_SET_LOCKPROXYFILE: i32 = 3; 187 pub const SQLITE_FCNTL_LAST_ERRNO: i32 = 4; 188 pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5; 189 pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6; 190 pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7; 191 pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8; 192 pub const SQLITE_FCNTL_WIN32_AV_RETRY: i32 = 9; 193 pub const SQLITE_FCNTL_PERSIST_WAL: i32 = 10; 194 pub const SQLITE_FCNTL_OVERWRITE: i32 = 11; 195 pub const SQLITE_FCNTL_VFSNAME: i32 = 12; 196 pub const SQLITE_FCNTL_POWERSAFE_OVERWRITE: i32 = 13; 197 pub const SQLITE_FCNTL_PRAGMA: i32 = 14; 198 pub const SQLITE_FCNTL_BUSYHANDLER: i32 = 15; 199 pub const SQLITE_FCNTL_TEMPFILENAME: i32 = 16; 200 pub const SQLITE_FCNTL_MMAP_SIZE: i32 = 18; 201 pub const SQLITE_FCNTL_TRACE: i32 = 19; 202 pub const SQLITE_FCNTL_HAS_MOVED: i32 = 20; 203 pub const SQLITE_FCNTL_SYNC: i32 = 21; 204 pub const SQLITE_FCNTL_COMMIT_PHASETWO: i32 = 22; 205 pub const SQLITE_FCNTL_WIN32_SET_HANDLE: i32 = 23; 206 pub const SQLITE_FCNTL_WAL_BLOCK: i32 = 24; 207 pub const SQLITE_FCNTL_ZIPVFS: i32 = 25; 208 pub const SQLITE_FCNTL_RBU: i32 = 26; 209 pub const SQLITE_FCNTL_VFS_POINTER: i32 = 27; 210 pub const SQLITE_FCNTL_JOURNAL_POINTER: i32 = 28; 211 pub const SQLITE_FCNTL_WIN32_GET_HANDLE: i32 = 29; 212 pub const SQLITE_FCNTL_PDB: i32 = 30; 213 pub const SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: i32 = 31; 214 pub const SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: i32 = 32; 215 pub const SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: i32 = 33; 216 pub const SQLITE_FCNTL_LOCK_TIMEOUT: i32 = 34; 217 pub const SQLITE_FCNTL_DATA_VERSION: i32 = 35; 218 pub const SQLITE_FCNTL_SIZE_LIMIT: i32 = 36; 219 pub const SQLITE_FCNTL_CKPT_DONE: i32 = 37; 220 pub const SQLITE_FCNTL_RESERVE_BYTES: i32 = 38; 221 pub const SQLITE_FCNTL_CKPT_START: i32 = 39; 222 pub const SQLITE_FCNTL_EXTERNAL_READER: i32 = 40; 223 pub const SQLITE_FCNTL_CKSM_FILE: i32 = 41; 224 pub const SQLITE_FCNTL_RESET_CACHE: i32 = 42; 225 pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2; 226 pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3; 227 pub const SQLITE_LAST_ERRNO: i32 = 4; 228 pub const SQLITE_ACCESS_EXISTS: i32 = 0; 229 pub const SQLITE_ACCESS_READWRITE: i32 = 1; 230 pub const SQLITE_ACCESS_READ: i32 = 2; 231 pub const SQLITE_SHM_UNLOCK: i32 = 1; 232 pub const SQLITE_SHM_LOCK: i32 = 2; 233 pub const SQLITE_SHM_SHARED: i32 = 4; 234 pub const SQLITE_SHM_EXCLUSIVE: i32 = 8; 235 pub const SQLITE_SHM_NLOCK: i32 = 8; 236 pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1; 237 pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2; 238 pub const SQLITE_CONFIG_SERIALIZED: i32 = 3; 239 pub const SQLITE_CONFIG_MALLOC: i32 = 4; 240 pub const SQLITE_CONFIG_GETMALLOC: i32 = 5; 241 pub const SQLITE_CONFIG_SCRATCH: i32 = 6; 242 pub const SQLITE_CONFIG_PAGECACHE: i32 = 7; 243 pub const SQLITE_CONFIG_HEAP: i32 = 8; 244 pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9; 245 pub const SQLITE_CONFIG_MUTEX: i32 = 10; 246 pub const SQLITE_CONFIG_GETMUTEX: i32 = 11; 247 pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13; 248 pub const SQLITE_CONFIG_PCACHE: i32 = 14; 249 pub const SQLITE_CONFIG_GETPCACHE: i32 = 15; 250 pub const SQLITE_CONFIG_LOG: i32 = 16; 251 pub const SQLITE_CONFIG_URI: i32 = 17; 252 pub const SQLITE_CONFIG_PCACHE2: i32 = 18; 253 pub const SQLITE_CONFIG_GETPCACHE2: i32 = 19; 254 pub const SQLITE_CONFIG_COVERING_INDEX_SCAN: i32 = 20; 255 pub const SQLITE_CONFIG_SQLLOG: i32 = 21; 256 pub const SQLITE_CONFIG_MMAP_SIZE: i32 = 22; 257 pub const SQLITE_CONFIG_WIN32_HEAPSIZE: i32 = 23; 258 pub const SQLITE_CONFIG_PCACHE_HDRSZ: i32 = 24; 259 pub const SQLITE_CONFIG_PMASZ: i32 = 25; 260 pub const SQLITE_CONFIG_STMTJRNL_SPILL: i32 = 26; 261 pub const SQLITE_CONFIG_SMALL_MALLOC: i32 = 27; 262 pub const SQLITE_CONFIG_SORTERREF_SIZE: i32 = 28; 263 pub const SQLITE_CONFIG_MEMDB_MAXSIZE: i32 = 29; 264 pub const SQLITE_CONFIG_ROWID_IN_VIEW: i32 = 30; 265 pub const SQLITE_DBCONFIG_MAINDBNAME: i32 = 1000; 266 pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001; 267 pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002; 268 pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003; 269 pub const SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER: i32 = 1004; 270 pub const SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: i32 = 1005; 271 pub const SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE: i32 = 1006; 272 pub const SQLITE_DBCONFIG_ENABLE_QPSG: i32 = 1007; 273 pub const SQLITE_DBCONFIG_TRIGGER_EQP: i32 = 1008; 274 pub const SQLITE_DBCONFIG_RESET_DATABASE: i32 = 1009; 275 pub const SQLITE_DBCONFIG_DEFENSIVE: i32 = 1010; 276 pub const SQLITE_DBCONFIG_WRITABLE_SCHEMA: i32 = 1011; 277 pub const SQLITE_DBCONFIG_LEGACY_ALTER_TABLE: i32 = 1012; 278 pub const SQLITE_DBCONFIG_DQS_DML: i32 = 1013; 279 pub const SQLITE_DBCONFIG_DQS_DDL: i32 = 1014; 280 pub const SQLITE_DBCONFIG_ENABLE_VIEW: i32 = 1015; 281 pub const SQLITE_DBCONFIG_LEGACY_FILE_FORMAT: i32 = 1016; 282 pub const SQLITE_DBCONFIG_TRUSTED_SCHEMA: i32 = 1017; 283 pub const SQLITE_DBCONFIG_STMT_SCANSTATUS: i32 = 1018; 284 pub const SQLITE_DBCONFIG_REVERSE_SCANORDER: i32 = 1019; 285 pub const SQLITE_DBCONFIG_MAX: i32 = 1019; 286 pub const SQLITE_DENY: i32 = 1; 287 pub const SQLITE_IGNORE: i32 = 2; 288 pub const SQLITE_CREATE_INDEX: i32 = 1; 289 pub const SQLITE_CREATE_TABLE: i32 = 2; 290 pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3; 291 pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4; 292 pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5; 293 pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6; 294 pub const SQLITE_CREATE_TRIGGER: i32 = 7; 295 pub const SQLITE_CREATE_VIEW: i32 = 8; 296 pub const SQLITE_DELETE: i32 = 9; 297 pub const SQLITE_DROP_INDEX: i32 = 10; 298 pub const SQLITE_DROP_TABLE: i32 = 11; 299 pub const SQLITE_DROP_TEMP_INDEX: i32 = 12; 300 pub const SQLITE_DROP_TEMP_TABLE: i32 = 13; 301 pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14; 302 pub const SQLITE_DROP_TEMP_VIEW: i32 = 15; 303 pub const SQLITE_DROP_TRIGGER: i32 = 16; 304 pub const SQLITE_DROP_VIEW: i32 = 17; 305 pub const SQLITE_INSERT: i32 = 18; 306 pub const SQLITE_PRAGMA: i32 = 19; 307 pub const SQLITE_READ: i32 = 20; 308 pub const SQLITE_SELECT: i32 = 21; 309 pub const SQLITE_TRANSACTION: i32 = 22; 310 pub const SQLITE_UPDATE: i32 = 23; 311 pub const SQLITE_ATTACH: i32 = 24; 312 pub const SQLITE_DETACH: i32 = 25; 313 pub const SQLITE_ALTER_TABLE: i32 = 26; 314 pub const SQLITE_REINDEX: i32 = 27; 315 pub const SQLITE_ANALYZE: i32 = 28; 316 pub const SQLITE_CREATE_VTABLE: i32 = 29; 317 pub const SQLITE_DROP_VTABLE: i32 = 30; 318 pub const SQLITE_FUNCTION: i32 = 31; 319 pub const SQLITE_SAVEPOINT: i32 = 32; 320 pub const SQLITE_COPY: i32 = 0; 321 pub const SQLITE_RECURSIVE: i32 = 33; 322 pub const SQLITE_TRACE_STMT: i32 = 1; 323 pub const SQLITE_TRACE_PROFILE: i32 = 2; 324 pub const SQLITE_TRACE_ROW: i32 = 4; 325 pub const SQLITE_TRACE_CLOSE: i32 = 8; 326 pub const SQLITE_LIMIT_LENGTH: i32 = 0; 327 pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1; 328 pub const SQLITE_LIMIT_COLUMN: i32 = 2; 329 pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3; 330 pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4; 331 pub const SQLITE_LIMIT_VDBE_OP: i32 = 5; 332 pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6; 333 pub const SQLITE_LIMIT_ATTACHED: i32 = 7; 334 pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8; 335 pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9; 336 pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10; 337 pub const SQLITE_LIMIT_WORKER_THREADS: i32 = 11; 338 pub const SQLITE_PREPARE_PERSISTENT: ::std::os::raw::c_uint = 1; 339 pub const SQLITE_PREPARE_NORMALIZE: ::std::os::raw::c_uint = 2; 340 pub const SQLITE_PREPARE_NO_VTAB: ::std::os::raw::c_uint = 4; 341 pub const SQLITE_INTEGER: i32 = 1; 342 pub const SQLITE_FLOAT: i32 = 2; 343 pub const SQLITE_BLOB: i32 = 4; 344 pub const SQLITE_NULL: i32 = 5; 345 pub const SQLITE_TEXT: i32 = 3; 346 pub const SQLITE3_TEXT: i32 = 3; 347 pub const SQLITE_UTF8: i32 = 1; 348 pub const SQLITE_UTF16LE: i32 = 2; 349 pub const SQLITE_UTF16BE: i32 = 3; 350 pub const SQLITE_UTF16: i32 = 4; 351 pub const SQLITE_ANY: i32 = 5; 352 pub const SQLITE_UTF16_ALIGNED: i32 = 8; 353 pub const SQLITE_DETERMINISTIC: i32 = 2048; 354 pub const SQLITE_DIRECTONLY: i32 = 524288; 355 pub const SQLITE_SUBTYPE: i32 = 1048576; 356 pub const SQLITE_INNOCUOUS: i32 = 2097152; 357 pub const SQLITE_RESULT_SUBTYPE: i32 = 16777216; 358 pub const SQLITE_WIN32_DATA_DIRECTORY_TYPE: i32 = 1; 359 pub const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: i32 = 2; 360 pub const SQLITE_TXN_NONE: i32 = 0; 361 pub const SQLITE_TXN_READ: i32 = 1; 362 pub const SQLITE_TXN_WRITE: i32 = 2; 363 pub const SQLITE_INDEX_SCAN_UNIQUE: i32 = 1; 364 pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2; 365 pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4; 366 pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8; 367 pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16; 368 pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32; 369 pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64; 370 pub const SQLITE_INDEX_CONSTRAINT_LIKE: i32 = 65; 371 pub const SQLITE_INDEX_CONSTRAINT_GLOB: i32 = 66; 372 pub const SQLITE_INDEX_CONSTRAINT_REGEXP: i32 = 67; 373 pub const SQLITE_INDEX_CONSTRAINT_NE: i32 = 68; 374 pub const SQLITE_INDEX_CONSTRAINT_ISNOT: i32 = 69; 375 pub const SQLITE_INDEX_CONSTRAINT_ISNOTNULL: i32 = 70; 376 pub const SQLITE_INDEX_CONSTRAINT_ISNULL: i32 = 71; 377 pub const SQLITE_INDEX_CONSTRAINT_IS: i32 = 72; 378 pub const SQLITE_INDEX_CONSTRAINT_LIMIT: i32 = 73; 379 pub const SQLITE_INDEX_CONSTRAINT_OFFSET: i32 = 74; 380 pub const SQLITE_INDEX_CONSTRAINT_FUNCTION: i32 = 150; 381 pub const SQLITE_MUTEX_FAST: i32 = 0; 382 pub const SQLITE_MUTEX_RECURSIVE: i32 = 1; 383 pub const SQLITE_MUTEX_STATIC_MAIN: i32 = 2; 384 pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3; 385 pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4; 386 pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4; 387 pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5; 388 pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6; 389 pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7; 390 pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7; 391 pub const SQLITE_MUTEX_STATIC_APP1: i32 = 8; 392 pub const SQLITE_MUTEX_STATIC_APP2: i32 = 9; 393 pub const SQLITE_MUTEX_STATIC_APP3: i32 = 10; 394 pub const SQLITE_MUTEX_STATIC_VFS1: i32 = 11; 395 pub const SQLITE_MUTEX_STATIC_VFS2: i32 = 12; 396 pub const SQLITE_MUTEX_STATIC_VFS3: i32 = 13; 397 pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2; 398 pub const SQLITE_TESTCTRL_FIRST: i32 = 5; 399 pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5; 400 pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6; 401 pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7; 402 pub const SQLITE_TESTCTRL_FK_NO_ACTION: i32 = 7; 403 pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8; 404 pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9; 405 pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10; 406 pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11; 407 pub const SQLITE_TESTCTRL_ASSERT: i32 = 12; 408 pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13; 409 pub const SQLITE_TESTCTRL_RESERVE: i32 = 14; 410 pub const SQLITE_TESTCTRL_JSON_SELFCHECK: i32 = 14; 411 pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15; 412 pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16; 413 pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17; 414 pub const SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: i32 = 17; 415 pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 18; 416 pub const SQLITE_TESTCTRL_EXPLAIN_STMT: i32 = 19; 417 pub const SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: i32 = 19; 418 pub const SQLITE_TESTCTRL_NEVER_CORRUPT: i32 = 20; 419 pub const SQLITE_TESTCTRL_VDBE_COVERAGE: i32 = 21; 420 pub const SQLITE_TESTCTRL_BYTEORDER: i32 = 22; 421 pub const SQLITE_TESTCTRL_ISINIT: i32 = 23; 422 pub const SQLITE_TESTCTRL_SORTER_MMAP: i32 = 24; 423 pub const SQLITE_TESTCTRL_IMPOSTER: i32 = 25; 424 pub const SQLITE_TESTCTRL_PARSER_COVERAGE: i32 = 26; 425 pub const SQLITE_TESTCTRL_RESULT_INTREAL: i32 = 27; 426 pub const SQLITE_TESTCTRL_PRNG_SEED: i32 = 28; 427 pub const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: i32 = 29; 428 pub const SQLITE_TESTCTRL_SEEK_COUNT: i32 = 30; 429 pub const SQLITE_TESTCTRL_TRACEFLAGS: i32 = 31; 430 pub const SQLITE_TESTCTRL_TUNE: i32 = 32; 431 pub const SQLITE_TESTCTRL_LOGEST: i32 = 33; 432 pub const SQLITE_TESTCTRL_USELONGDOUBLE: i32 = 34; 433 pub const SQLITE_TESTCTRL_LAST: i32 = 34; 434 pub const SQLITE_STATUS_MEMORY_USED: i32 = 0; 435 pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1; 436 pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2; 437 pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3; 438 pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4; 439 pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5; 440 pub const SQLITE_STATUS_PARSER_STACK: i32 = 6; 441 pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7; 442 pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8; 443 pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9; 444 pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0; 445 pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1; 446 pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2; 447 pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3; 448 pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4; 449 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5; 450 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6; 451 pub const SQLITE_DBSTATUS_CACHE_HIT: i32 = 7; 452 pub const SQLITE_DBSTATUS_CACHE_MISS: i32 = 8; 453 pub const SQLITE_DBSTATUS_CACHE_WRITE: i32 = 9; 454 pub const SQLITE_DBSTATUS_DEFERRED_FKS: i32 = 10; 455 pub const SQLITE_DBSTATUS_CACHE_USED_SHARED: i32 = 11; 456 pub const SQLITE_DBSTATUS_CACHE_SPILL: i32 = 12; 457 pub const SQLITE_DBSTATUS_MAX: i32 = 12; 458 pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1; 459 pub const SQLITE_STMTSTATUS_SORT: i32 = 2; 460 pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3; 461 pub const SQLITE_STMTSTATUS_VM_STEP: i32 = 4; 462 pub const SQLITE_STMTSTATUS_REPREPARE: i32 = 5; 463 pub const SQLITE_STMTSTATUS_RUN: i32 = 6; 464 pub const SQLITE_STMTSTATUS_FILTER_MISS: i32 = 7; 465 pub const SQLITE_STMTSTATUS_FILTER_HIT: i32 = 8; 466 pub const SQLITE_STMTSTATUS_MEMUSED: i32 = 99; 467 pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0; 468 pub const SQLITE_CHECKPOINT_FULL: i32 = 1; 469 pub const SQLITE_CHECKPOINT_RESTART: i32 = 2; 470 pub const SQLITE_CHECKPOINT_TRUNCATE: i32 = 3; 471 pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1; 472 pub const SQLITE_VTAB_INNOCUOUS: i32 = 2; 473 pub const SQLITE_VTAB_DIRECTONLY: i32 = 3; 474 pub const SQLITE_VTAB_USES_ALL_SCHEMAS: i32 = 4; 475 pub const SQLITE_ROLLBACK: i32 = 1; 476 pub const SQLITE_FAIL: i32 = 3; 477 pub const SQLITE_REPLACE: i32 = 5; 478 pub const SQLITE_SCANSTAT_NLOOP: i32 = 0; 479 pub const SQLITE_SCANSTAT_NVISIT: i32 = 1; 480 pub const SQLITE_SCANSTAT_EST: i32 = 2; 481 pub const SQLITE_SCANSTAT_NAME: i32 = 3; 482 pub const SQLITE_SCANSTAT_EXPLAIN: i32 = 4; 483 pub const SQLITE_SCANSTAT_SELECTID: i32 = 5; 484 pub const SQLITE_SCANSTAT_PARENTID: i32 = 6; 485 pub const SQLITE_SCANSTAT_NCYCLE: i32 = 7; 486 pub const SQLITE_SCANSTAT_COMPLEX: i32 = 1; 487 pub const SQLITE_SERIALIZE_NOCOPY: ::std::os::raw::c_uint = 1; 488 pub const SQLITE_DESERIALIZE_FREEONCLOSE: ::std::os::raw::c_uint = 1; 489 pub const SQLITE_DESERIALIZE_RESIZEABLE: ::std::os::raw::c_uint = 2; 490 pub const SQLITE_DESERIALIZE_READONLY: ::std::os::raw::c_uint = 4; 491 pub const NOT_WITHIN: i32 = 0; 492 pub const PARTLY_WITHIN: i32 = 1; 493 pub const FULLY_WITHIN: i32 = 2; 494 pub const SQLITE_SESSION_OBJCONFIG_SIZE: i32 = 1; 495 pub const SQLITE_SESSION_OBJCONFIG_ROWID: i32 = 2; 496 pub const SQLITE_CHANGESETSTART_INVERT: i32 = 2; 497 pub const SQLITE_CHANGESETAPPLY_NOSAVEPOINT: i32 = 1; 498 pub const SQLITE_CHANGESETAPPLY_INVERT: i32 = 2; 499 pub const SQLITE_CHANGESETAPPLY_IGNORENOOP: i32 = 4; 500 pub const SQLITE_CHANGESETAPPLY_FKNOACTION: i32 = 8; 501 pub const SQLITE_CHANGESET_DATA: i32 = 1; 502 pub const SQLITE_CHANGESET_NOTFOUND: i32 = 2; 503 pub const SQLITE_CHANGESET_CONFLICT: i32 = 3; 504 pub const SQLITE_CHANGESET_CONSTRAINT: i32 = 4; 505 pub const SQLITE_CHANGESET_FOREIGN_KEY: i32 = 5; 506 pub const SQLITE_CHANGESET_OMIT: i32 = 0; 507 pub const SQLITE_CHANGESET_REPLACE: i32 = 1; 508 pub const SQLITE_CHANGESET_ABORT: i32 = 2; 509 pub const SQLITE_SESSION_CONFIG_STRMSIZE: i32 = 1; 510 pub const FTS5_TOKENIZE_QUERY: i32 = 1; 511 pub const FTS5_TOKENIZE_PREFIX: i32 = 2; 512 pub const FTS5_TOKENIZE_DOCUMENT: i32 = 4; 513 pub const FTS5_TOKENIZE_AUX: i32 = 8; 514 pub const FTS5_TOKEN_COLOCATED: i32 = 1; 515 extern "C" { 516 pub static sqlite3_version: [::std::os::raw::c_char; 0usize]; 517 } 518 extern "C" { sqlite3_libversion() -> *const ::std::os::raw::c_char519 pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char; 520 } 521 extern "C" { sqlite3_sourceid() -> *const ::std::os::raw::c_char522 pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char; 523 } 524 extern "C" { sqlite3_libversion_number() -> ::std::os::raw::c_int525 pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int; 526 } 527 extern "C" { sqlite3_compileoption_used( zOptName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int528 pub fn sqlite3_compileoption_used( 529 zOptName: *const ::std::os::raw::c_char, 530 ) -> ::std::os::raw::c_int; 531 } 532 extern "C" { sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char533 pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; 534 } 535 extern "C" { sqlite3_threadsafe() -> ::std::os::raw::c_int536 pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int; 537 } 538 #[repr(C)] 539 #[derive(Debug, Copy, Clone)] 540 pub struct sqlite3 { 541 _unused: [u8; 0], 542 } 543 pub type sqlite_int64 = ::std::os::raw::c_longlong; 544 pub type sqlite_uint64 = ::std::os::raw::c_ulonglong; 545 pub type sqlite3_int64 = sqlite_int64; 546 pub type sqlite3_uint64 = sqlite_uint64; 547 extern "C" { sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int548 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 549 } 550 pub type sqlite3_callback = ::std::option::Option< 551 unsafe extern "C" fn( 552 arg1: *mut ::std::os::raw::c_void, 553 arg2: ::std::os::raw::c_int, 554 arg3: *mut *mut ::std::os::raw::c_char, 555 arg4: *mut *mut ::std::os::raw::c_char, 556 ) -> ::std::os::raw::c_int, 557 >; 558 extern "C" { sqlite3_exec( arg1: *mut sqlite3, sql: *const ::std::os::raw::c_char, callback: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: *mut *mut ::std::os::raw::c_char, arg4: *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_int559 pub fn sqlite3_exec( 560 arg1: *mut sqlite3, 561 sql: *const ::std::os::raw::c_char, 562 callback: ::std::option::Option< 563 unsafe extern "C" fn( 564 arg1: *mut ::std::os::raw::c_void, 565 arg2: ::std::os::raw::c_int, 566 arg3: *mut *mut ::std::os::raw::c_char, 567 arg4: *mut *mut ::std::os::raw::c_char, 568 ) -> ::std::os::raw::c_int, 569 >, 570 arg2: *mut ::std::os::raw::c_void, 571 errmsg: *mut *mut ::std::os::raw::c_char, 572 ) -> ::std::os::raw::c_int; 573 } 574 #[repr(C)] 575 #[derive(Debug, Copy, Clone)] 576 pub struct sqlite3_file { 577 pub pMethods: *const sqlite3_io_methods, 578 } 579 #[repr(C)] 580 #[derive(Debug, Copy, Clone)] 581 pub struct sqlite3_io_methods { 582 pub iVersion: ::std::os::raw::c_int, 583 pub xClose: ::std::option::Option< 584 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int, 585 >, 586 pub xRead: ::std::option::Option< 587 unsafe extern "C" fn( 588 arg1: *mut sqlite3_file, 589 arg2: *mut ::std::os::raw::c_void, 590 iAmt: ::std::os::raw::c_int, 591 iOfst: sqlite3_int64, 592 ) -> ::std::os::raw::c_int, 593 >, 594 pub xWrite: ::std::option::Option< 595 unsafe extern "C" fn( 596 arg1: *mut sqlite3_file, 597 arg2: *const ::std::os::raw::c_void, 598 iAmt: ::std::os::raw::c_int, 599 iOfst: sqlite3_int64, 600 ) -> ::std::os::raw::c_int, 601 >, 602 pub xTruncate: ::std::option::Option< 603 unsafe extern "C" fn(arg1: *mut sqlite3_file, size: sqlite3_int64) -> ::std::os::raw::c_int, 604 >, 605 pub xSync: ::std::option::Option< 606 unsafe extern "C" fn( 607 arg1: *mut sqlite3_file, 608 flags: ::std::os::raw::c_int, 609 ) -> ::std::os::raw::c_int, 610 >, 611 pub xFileSize: ::std::option::Option< 612 unsafe extern "C" fn( 613 arg1: *mut sqlite3_file, 614 pSize: *mut sqlite3_int64, 615 ) -> ::std::os::raw::c_int, 616 >, 617 pub xLock: ::std::option::Option< 618 unsafe extern "C" fn( 619 arg1: *mut sqlite3_file, 620 arg2: ::std::os::raw::c_int, 621 ) -> ::std::os::raw::c_int, 622 >, 623 pub xUnlock: ::std::option::Option< 624 unsafe extern "C" fn( 625 arg1: *mut sqlite3_file, 626 arg2: ::std::os::raw::c_int, 627 ) -> ::std::os::raw::c_int, 628 >, 629 pub xCheckReservedLock: ::std::option::Option< 630 unsafe extern "C" fn( 631 arg1: *mut sqlite3_file, 632 pResOut: *mut ::std::os::raw::c_int, 633 ) -> ::std::os::raw::c_int, 634 >, 635 pub xFileControl: ::std::option::Option< 636 unsafe extern "C" fn( 637 arg1: *mut sqlite3_file, 638 op: ::std::os::raw::c_int, 639 pArg: *mut ::std::os::raw::c_void, 640 ) -> ::std::os::raw::c_int, 641 >, 642 pub xSectorSize: ::std::option::Option< 643 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int, 644 >, 645 pub xDeviceCharacteristics: ::std::option::Option< 646 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int, 647 >, 648 pub xShmMap: ::std::option::Option< 649 unsafe extern "C" fn( 650 arg1: *mut sqlite3_file, 651 iPg: ::std::os::raw::c_int, 652 pgsz: ::std::os::raw::c_int, 653 arg2: ::std::os::raw::c_int, 654 arg3: *mut *mut ::std::os::raw::c_void, 655 ) -> ::std::os::raw::c_int, 656 >, 657 pub xShmLock: ::std::option::Option< 658 unsafe extern "C" fn( 659 arg1: *mut sqlite3_file, 660 offset: ::std::os::raw::c_int, 661 n: ::std::os::raw::c_int, 662 flags: ::std::os::raw::c_int, 663 ) -> ::std::os::raw::c_int, 664 >, 665 pub xShmBarrier: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_file)>, 666 pub xShmUnmap: ::std::option::Option< 667 unsafe extern "C" fn( 668 arg1: *mut sqlite3_file, 669 deleteFlag: ::std::os::raw::c_int, 670 ) -> ::std::os::raw::c_int, 671 >, 672 pub xFetch: ::std::option::Option< 673 unsafe extern "C" fn( 674 arg1: *mut sqlite3_file, 675 iOfst: sqlite3_int64, 676 iAmt: ::std::os::raw::c_int, 677 pp: *mut *mut ::std::os::raw::c_void, 678 ) -> ::std::os::raw::c_int, 679 >, 680 pub xUnfetch: ::std::option::Option< 681 unsafe extern "C" fn( 682 arg1: *mut sqlite3_file, 683 iOfst: sqlite3_int64, 684 p: *mut ::std::os::raw::c_void, 685 ) -> ::std::os::raw::c_int, 686 >, 687 } 688 #[repr(C)] 689 #[derive(Debug, Copy, Clone)] 690 pub struct sqlite3_mutex { 691 _unused: [u8; 0], 692 } 693 #[repr(C)] 694 #[derive(Debug, Copy, Clone)] 695 pub struct sqlite3_api_routines { 696 _unused: [u8; 0], 697 } 698 pub type sqlite3_filename = *const ::std::os::raw::c_char; 699 pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>; 700 #[repr(C)] 701 #[derive(Debug, Copy, Clone)] 702 pub struct sqlite3_vfs { 703 pub iVersion: ::std::os::raw::c_int, 704 pub szOsFile: ::std::os::raw::c_int, 705 pub mxPathname: ::std::os::raw::c_int, 706 pub pNext: *mut sqlite3_vfs, 707 pub zName: *const ::std::os::raw::c_char, 708 pub pAppData: *mut ::std::os::raw::c_void, 709 pub xOpen: ::std::option::Option< 710 unsafe extern "C" fn( 711 arg1: *mut sqlite3_vfs, 712 zName: sqlite3_filename, 713 arg2: *mut sqlite3_file, 714 flags: ::std::os::raw::c_int, 715 pOutFlags: *mut ::std::os::raw::c_int, 716 ) -> ::std::os::raw::c_int, 717 >, 718 pub xDelete: ::std::option::Option< 719 unsafe extern "C" fn( 720 arg1: *mut sqlite3_vfs, 721 zName: *const ::std::os::raw::c_char, 722 syncDir: ::std::os::raw::c_int, 723 ) -> ::std::os::raw::c_int, 724 >, 725 pub xAccess: ::std::option::Option< 726 unsafe extern "C" fn( 727 arg1: *mut sqlite3_vfs, 728 zName: *const ::std::os::raw::c_char, 729 flags: ::std::os::raw::c_int, 730 pResOut: *mut ::std::os::raw::c_int, 731 ) -> ::std::os::raw::c_int, 732 >, 733 pub xFullPathname: ::std::option::Option< 734 unsafe extern "C" fn( 735 arg1: *mut sqlite3_vfs, 736 zName: *const ::std::os::raw::c_char, 737 nOut: ::std::os::raw::c_int, 738 zOut: *mut ::std::os::raw::c_char, 739 ) -> ::std::os::raw::c_int, 740 >, 741 pub xDlOpen: ::std::option::Option< 742 unsafe extern "C" fn( 743 arg1: *mut sqlite3_vfs, 744 zFilename: *const ::std::os::raw::c_char, 745 ) -> *mut ::std::os::raw::c_void, 746 >, 747 pub xDlError: ::std::option::Option< 748 unsafe extern "C" fn( 749 arg1: *mut sqlite3_vfs, 750 nByte: ::std::os::raw::c_int, 751 zErrMsg: *mut ::std::os::raw::c_char, 752 ), 753 >, 754 pub xDlSym: ::std::option::Option< 755 unsafe extern "C" fn( 756 arg1: *mut sqlite3_vfs, 757 arg2: *mut ::std::os::raw::c_void, 758 zSymbol: *const ::std::os::raw::c_char, 759 ) -> ::std::option::Option< 760 unsafe extern "C" fn( 761 arg1: *mut sqlite3_vfs, 762 arg2: *mut ::std::os::raw::c_void, 763 zSymbol: *const ::std::os::raw::c_char, 764 ), 765 >, 766 >, 767 pub xDlClose: ::std::option::Option< 768 unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut ::std::os::raw::c_void), 769 >, 770 pub xRandomness: ::std::option::Option< 771 unsafe extern "C" fn( 772 arg1: *mut sqlite3_vfs, 773 nByte: ::std::os::raw::c_int, 774 zOut: *mut ::std::os::raw::c_char, 775 ) -> ::std::os::raw::c_int, 776 >, 777 pub xSleep: ::std::option::Option< 778 unsafe extern "C" fn( 779 arg1: *mut sqlite3_vfs, 780 microseconds: ::std::os::raw::c_int, 781 ) -> ::std::os::raw::c_int, 782 >, 783 pub xCurrentTime: ::std::option::Option< 784 unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut f64) -> ::std::os::raw::c_int, 785 >, 786 pub xGetLastError: ::std::option::Option< 787 unsafe extern "C" fn( 788 arg1: *mut sqlite3_vfs, 789 arg2: ::std::os::raw::c_int, 790 arg3: *mut ::std::os::raw::c_char, 791 ) -> ::std::os::raw::c_int, 792 >, 793 pub xCurrentTimeInt64: ::std::option::Option< 794 unsafe extern "C" fn( 795 arg1: *mut sqlite3_vfs, 796 arg2: *mut sqlite3_int64, 797 ) -> ::std::os::raw::c_int, 798 >, 799 pub xSetSystemCall: ::std::option::Option< 800 unsafe extern "C" fn( 801 arg1: *mut sqlite3_vfs, 802 zName: *const ::std::os::raw::c_char, 803 arg2: sqlite3_syscall_ptr, 804 ) -> ::std::os::raw::c_int, 805 >, 806 pub xGetSystemCall: ::std::option::Option< 807 unsafe extern "C" fn( 808 arg1: *mut sqlite3_vfs, 809 zName: *const ::std::os::raw::c_char, 810 ) -> sqlite3_syscall_ptr, 811 >, 812 pub xNextSystemCall: ::std::option::Option< 813 unsafe extern "C" fn( 814 arg1: *mut sqlite3_vfs, 815 zName: *const ::std::os::raw::c_char, 816 ) -> *const ::std::os::raw::c_char, 817 >, 818 } 819 extern "C" { sqlite3_initialize() -> ::std::os::raw::c_int820 pub fn sqlite3_initialize() -> ::std::os::raw::c_int; 821 } 822 extern "C" { sqlite3_shutdown() -> ::std::os::raw::c_int823 pub fn sqlite3_shutdown() -> ::std::os::raw::c_int; 824 } 825 extern "C" { sqlite3_os_init() -> ::std::os::raw::c_int826 pub fn sqlite3_os_init() -> ::std::os::raw::c_int; 827 } 828 extern "C" { sqlite3_os_end() -> ::std::os::raw::c_int829 pub fn sqlite3_os_end() -> ::std::os::raw::c_int; 830 } 831 extern "C" { sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int832 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; 833 } 834 extern "C" { sqlite3_db_config( arg1: *mut sqlite3, op: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int835 pub fn sqlite3_db_config( 836 arg1: *mut sqlite3, 837 op: ::std::os::raw::c_int, 838 ... 839 ) -> ::std::os::raw::c_int; 840 } 841 #[repr(C)] 842 #[derive(Debug, Copy, Clone)] 843 pub struct sqlite3_mem_methods { 844 pub xMalloc: ::std::option::Option< 845 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void, 846 >, 847 pub xFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 848 pub xRealloc: ::std::option::Option< 849 unsafe extern "C" fn( 850 arg1: *mut ::std::os::raw::c_void, 851 arg2: ::std::os::raw::c_int, 852 ) -> *mut ::std::os::raw::c_void, 853 >, 854 pub xSize: ::std::option::Option< 855 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 856 >, 857 pub xRoundup: ::std::option::Option< 858 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int, 859 >, 860 pub xInit: ::std::option::Option< 861 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 862 >, 863 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 864 pub pAppData: *mut ::std::os::raw::c_void, 865 } 866 extern "C" { sqlite3_extended_result_codes( arg1: *mut sqlite3, onoff: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int867 pub fn sqlite3_extended_result_codes( 868 arg1: *mut sqlite3, 869 onoff: ::std::os::raw::c_int, 870 ) -> ::std::os::raw::c_int; 871 } 872 extern "C" { sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64873 pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64; 874 } 875 extern "C" { sqlite3_set_last_insert_rowid(arg1: *mut sqlite3, arg2: sqlite3_int64)876 pub fn sqlite3_set_last_insert_rowid(arg1: *mut sqlite3, arg2: sqlite3_int64); 877 } 878 extern "C" { sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int879 pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 880 } 881 extern "C" { sqlite3_changes64(arg1: *mut sqlite3) -> sqlite3_int64882 pub fn sqlite3_changes64(arg1: *mut sqlite3) -> sqlite3_int64; 883 } 884 extern "C" { sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int885 pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 886 } 887 extern "C" { sqlite3_total_changes64(arg1: *mut sqlite3) -> sqlite3_int64888 pub fn sqlite3_total_changes64(arg1: *mut sqlite3) -> sqlite3_int64; 889 } 890 extern "C" { sqlite3_interrupt(arg1: *mut sqlite3)891 pub fn sqlite3_interrupt(arg1: *mut sqlite3); 892 } 893 extern "C" { sqlite3_is_interrupted(arg1: *mut sqlite3) -> ::std::os::raw::c_int894 pub fn sqlite3_is_interrupted(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 895 } 896 extern "C" { sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int897 pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int; 898 } 899 extern "C" { sqlite3_busy_handler( arg1: *mut sqlite3, arg2: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg3: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int900 pub fn sqlite3_busy_handler( 901 arg1: *mut sqlite3, 902 arg2: ::std::option::Option< 903 unsafe extern "C" fn( 904 arg1: *mut ::std::os::raw::c_void, 905 arg2: ::std::os::raw::c_int, 906 ) -> ::std::os::raw::c_int, 907 >, 908 arg3: *mut ::std::os::raw::c_void, 909 ) -> ::std::os::raw::c_int; 910 } 911 extern "C" { sqlite3_busy_timeout( arg1: *mut sqlite3, ms: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int912 pub fn sqlite3_busy_timeout( 913 arg1: *mut sqlite3, 914 ms: ::std::os::raw::c_int, 915 ) -> ::std::os::raw::c_int; 916 } 917 extern "C" { 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_int918 pub fn sqlite3_get_table( 919 db: *mut sqlite3, 920 zSql: *const ::std::os::raw::c_char, 921 pazResult: *mut *mut *mut ::std::os::raw::c_char, 922 pnRow: *mut ::std::os::raw::c_int, 923 pnColumn: *mut ::std::os::raw::c_int, 924 pzErrmsg: *mut *mut ::std::os::raw::c_char, 925 ) -> ::std::os::raw::c_int; 926 } 927 extern "C" { sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char)928 pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char); 929 } 930 extern "C" { sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) -> *mut ::std::os::raw::c_char931 pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) 932 -> *mut ::std::os::raw::c_char; 933 } 934 extern "C" { 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_char935 pub fn sqlite3_snprintf( 936 arg1: ::std::os::raw::c_int, 937 arg2: *mut ::std::os::raw::c_char, 938 arg3: *const ::std::os::raw::c_char, 939 ... 940 ) -> *mut ::std::os::raw::c_char; 941 } 942 extern "C" { sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void943 pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void; 944 } 945 extern "C" { sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void946 pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void; 947 } 948 extern "C" { sqlite3_realloc( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void949 pub fn sqlite3_realloc( 950 arg1: *mut ::std::os::raw::c_void, 951 arg2: ::std::os::raw::c_int, 952 ) -> *mut ::std::os::raw::c_void; 953 } 954 extern "C" { sqlite3_realloc64( arg1: *mut ::std::os::raw::c_void, arg2: sqlite3_uint64, ) -> *mut ::std::os::raw::c_void955 pub fn sqlite3_realloc64( 956 arg1: *mut ::std::os::raw::c_void, 957 arg2: sqlite3_uint64, 958 ) -> *mut ::std::os::raw::c_void; 959 } 960 extern "C" { sqlite3_free(arg1: *mut ::std::os::raw::c_void)961 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void); 962 } 963 extern "C" { sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64964 pub fn sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64; 965 } 966 extern "C" { sqlite3_memory_used() -> sqlite3_int64967 pub fn sqlite3_memory_used() -> sqlite3_int64; 968 } 969 extern "C" { sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64970 pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64; 971 } 972 extern "C" { sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void)973 pub fn sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void); 974 } 975 extern "C" { sqlite3_set_authorizer( arg1: *mut sqlite3, xAuth: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, arg4: *const ::std::os::raw::c_char, arg5: *const ::std::os::raw::c_char, arg6: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, pUserData: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int976 pub fn sqlite3_set_authorizer( 977 arg1: *mut sqlite3, 978 xAuth: ::std::option::Option< 979 unsafe extern "C" fn( 980 arg1: *mut ::std::os::raw::c_void, 981 arg2: ::std::os::raw::c_int, 982 arg3: *const ::std::os::raw::c_char, 983 arg4: *const ::std::os::raw::c_char, 984 arg5: *const ::std::os::raw::c_char, 985 arg6: *const ::std::os::raw::c_char, 986 ) -> ::std::os::raw::c_int, 987 >, 988 pUserData: *mut ::std::os::raw::c_void, 989 ) -> ::std::os::raw::c_int; 990 } 991 extern "C" { sqlite3_trace( arg1: *mut sqlite3, xTrace: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, ), >, arg2: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void992 pub fn sqlite3_trace( 993 arg1: *mut sqlite3, 994 xTrace: ::std::option::Option< 995 unsafe extern "C" fn( 996 arg1: *mut ::std::os::raw::c_void, 997 arg2: *const ::std::os::raw::c_char, 998 ), 999 >, 1000 arg2: *mut ::std::os::raw::c_void, 1001 ) -> *mut ::std::os::raw::c_void; 1002 } 1003 extern "C" { sqlite3_profile( arg1: *mut sqlite3, xProfile: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_uint64, ), >, arg2: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void1004 pub fn sqlite3_profile( 1005 arg1: *mut sqlite3, 1006 xProfile: ::std::option::Option< 1007 unsafe extern "C" fn( 1008 arg1: *mut ::std::os::raw::c_void, 1009 arg2: *const ::std::os::raw::c_char, 1010 arg3: sqlite3_uint64, 1011 ), 1012 >, 1013 arg2: *mut ::std::os::raw::c_void, 1014 ) -> *mut ::std::os::raw::c_void; 1015 } 1016 extern "C" { sqlite3_trace_v2( arg1: *mut sqlite3, uMask: ::std::os::raw::c_uint, xCallback: ::std::option::Option< unsafe extern "C" fn( arg1: ::std::os::raw::c_uint, arg2: *mut ::std::os::raw::c_void, arg3: *mut ::std::os::raw::c_void, arg4: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int1017 pub fn sqlite3_trace_v2( 1018 arg1: *mut sqlite3, 1019 uMask: ::std::os::raw::c_uint, 1020 xCallback: ::std::option::Option< 1021 unsafe extern "C" fn( 1022 arg1: ::std::os::raw::c_uint, 1023 arg2: *mut ::std::os::raw::c_void, 1024 arg3: *mut ::std::os::raw::c_void, 1025 arg4: *mut ::std::os::raw::c_void, 1026 ) -> ::std::os::raw::c_int, 1027 >, 1028 pCtx: *mut ::std::os::raw::c_void, 1029 ) -> ::std::os::raw::c_int; 1030 } 1031 extern "C" { sqlite3_progress_handler( arg1: *mut sqlite3, arg2: ::std::os::raw::c_int, arg3: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, arg4: *mut ::std::os::raw::c_void, )1032 pub fn sqlite3_progress_handler( 1033 arg1: *mut sqlite3, 1034 arg2: ::std::os::raw::c_int, 1035 arg3: ::std::option::Option< 1036 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 1037 >, 1038 arg4: *mut ::std::os::raw::c_void, 1039 ); 1040 } 1041 extern "C" { sqlite3_open( filename: *const ::std::os::raw::c_char, ppDb: *mut *mut sqlite3, ) -> ::std::os::raw::c_int1042 pub fn sqlite3_open( 1043 filename: *const ::std::os::raw::c_char, 1044 ppDb: *mut *mut sqlite3, 1045 ) -> ::std::os::raw::c_int; 1046 } 1047 extern "C" { 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_int1048 pub fn sqlite3_open_v2( 1049 filename: *const ::std::os::raw::c_char, 1050 ppDb: *mut *mut sqlite3, 1051 flags: ::std::os::raw::c_int, 1052 zVfs: *const ::std::os::raw::c_char, 1053 ) -> ::std::os::raw::c_int; 1054 } 1055 extern "C" { sqlite3_uri_parameter( z: sqlite3_filename, zParam: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char1056 pub fn sqlite3_uri_parameter( 1057 z: sqlite3_filename, 1058 zParam: *const ::std::os::raw::c_char, 1059 ) -> *const ::std::os::raw::c_char; 1060 } 1061 extern "C" { sqlite3_uri_boolean( z: sqlite3_filename, zParam: *const ::std::os::raw::c_char, bDefault: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1062 pub fn sqlite3_uri_boolean( 1063 z: sqlite3_filename, 1064 zParam: *const ::std::os::raw::c_char, 1065 bDefault: ::std::os::raw::c_int, 1066 ) -> ::std::os::raw::c_int; 1067 } 1068 extern "C" { sqlite3_uri_int64( arg1: sqlite3_filename, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_int64, ) -> sqlite3_int641069 pub fn sqlite3_uri_int64( 1070 arg1: sqlite3_filename, 1071 arg2: *const ::std::os::raw::c_char, 1072 arg3: sqlite3_int64, 1073 ) -> sqlite3_int64; 1074 } 1075 extern "C" { sqlite3_uri_key( z: sqlite3_filename, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1076 pub fn sqlite3_uri_key( 1077 z: sqlite3_filename, 1078 N: ::std::os::raw::c_int, 1079 ) -> *const ::std::os::raw::c_char; 1080 } 1081 extern "C" { sqlite3_filename_database(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char1082 pub fn sqlite3_filename_database(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char; 1083 } 1084 extern "C" { sqlite3_filename_journal(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char1085 pub fn sqlite3_filename_journal(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char; 1086 } 1087 extern "C" { sqlite3_filename_wal(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char1088 pub fn sqlite3_filename_wal(arg1: sqlite3_filename) -> *const ::std::os::raw::c_char; 1089 } 1090 extern "C" { sqlite3_database_file_object(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_file1091 pub fn sqlite3_database_file_object(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_file; 1092 } 1093 extern "C" { sqlite3_create_filename( zDatabase: *const ::std::os::raw::c_char, zJournal: *const ::std::os::raw::c_char, zWal: *const ::std::os::raw::c_char, nParam: ::std::os::raw::c_int, azParam: *mut *const ::std::os::raw::c_char, ) -> sqlite3_filename1094 pub fn sqlite3_create_filename( 1095 zDatabase: *const ::std::os::raw::c_char, 1096 zJournal: *const ::std::os::raw::c_char, 1097 zWal: *const ::std::os::raw::c_char, 1098 nParam: ::std::os::raw::c_int, 1099 azParam: *mut *const ::std::os::raw::c_char, 1100 ) -> sqlite3_filename; 1101 } 1102 extern "C" { sqlite3_free_filename(arg1: sqlite3_filename)1103 pub fn sqlite3_free_filename(arg1: sqlite3_filename); 1104 } 1105 extern "C" { sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int1106 pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int; 1107 } 1108 extern "C" { sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int1109 pub fn sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int; 1110 } 1111 extern "C" { sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char1112 pub fn sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char; 1113 } 1114 extern "C" { sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1115 pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char; 1116 } 1117 extern "C" { sqlite3_error_offset(db: *mut sqlite3) -> ::std::os::raw::c_int1118 pub fn sqlite3_error_offset(db: *mut sqlite3) -> ::std::os::raw::c_int; 1119 } 1120 #[repr(C)] 1121 #[derive(Debug, Copy, Clone)] 1122 pub struct sqlite3_stmt { 1123 _unused: [u8; 0], 1124 } 1125 extern "C" { sqlite3_limit( arg1: *mut sqlite3, id: ::std::os::raw::c_int, newVal: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1126 pub fn sqlite3_limit( 1127 arg1: *mut sqlite3, 1128 id: ::std::os::raw::c_int, 1129 newVal: ::std::os::raw::c_int, 1130 ) -> ::std::os::raw::c_int; 1131 } 1132 extern "C" { 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 ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1133 pub fn sqlite3_prepare_v2( 1134 db: *mut sqlite3, 1135 zSql: *const ::std::os::raw::c_char, 1136 nByte: ::std::os::raw::c_int, 1137 ppStmt: *mut *mut sqlite3_stmt, 1138 pzTail: *mut *const ::std::os::raw::c_char, 1139 ) -> ::std::os::raw::c_int; 1140 } 1141 extern "C" { sqlite3_prepare_v3( db: *mut sqlite3, zSql: *const ::std::os::raw::c_char, nByte: ::std::os::raw::c_int, prepFlags: ::std::os::raw::c_uint, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1142 pub fn sqlite3_prepare_v3( 1143 db: *mut sqlite3, 1144 zSql: *const ::std::os::raw::c_char, 1145 nByte: ::std::os::raw::c_int, 1146 prepFlags: ::std::os::raw::c_uint, 1147 ppStmt: *mut *mut sqlite3_stmt, 1148 pzTail: *mut *const ::std::os::raw::c_char, 1149 ) -> ::std::os::raw::c_int; 1150 } 1151 extern "C" { sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char1152 pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char; 1153 } 1154 extern "C" { sqlite3_expanded_sql(pStmt: *mut sqlite3_stmt) -> *mut ::std::os::raw::c_char1155 pub fn sqlite3_expanded_sql(pStmt: *mut sqlite3_stmt) -> *mut ::std::os::raw::c_char; 1156 } 1157 extern "C" { sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1158 pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1159 } 1160 extern "C" { sqlite3_stmt_isexplain(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1161 pub fn sqlite3_stmt_isexplain(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1162 } 1163 extern "C" { sqlite3_stmt_explain( pStmt: *mut sqlite3_stmt, eMode: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1164 pub fn sqlite3_stmt_explain( 1165 pStmt: *mut sqlite3_stmt, 1166 eMode: ::std::os::raw::c_int, 1167 ) -> ::std::os::raw::c_int; 1168 } 1169 extern "C" { sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1170 pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1171 } 1172 #[repr(C)] 1173 #[derive(Debug, Copy, Clone)] 1174 pub struct sqlite3_value { 1175 _unused: [u8; 0], 1176 } 1177 #[repr(C)] 1178 #[derive(Debug, Copy, Clone)] 1179 pub struct sqlite3_context { 1180 _unused: [u8; 0], 1181 } 1182 extern "C" { 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<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1183 pub fn sqlite3_bind_blob( 1184 arg1: *mut sqlite3_stmt, 1185 arg2: ::std::os::raw::c_int, 1186 arg3: *const ::std::os::raw::c_void, 1187 n: ::std::os::raw::c_int, 1188 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1189 ) -> ::std::os::raw::c_int; 1190 } 1191 extern "C" { 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<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1192 pub fn sqlite3_bind_blob64( 1193 arg1: *mut sqlite3_stmt, 1194 arg2: ::std::os::raw::c_int, 1195 arg3: *const ::std::os::raw::c_void, 1196 arg4: sqlite3_uint64, 1197 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1198 ) -> ::std::os::raw::c_int; 1199 } 1200 extern "C" { sqlite3_bind_double( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: f64, ) -> ::std::os::raw::c_int1201 pub fn sqlite3_bind_double( 1202 arg1: *mut sqlite3_stmt, 1203 arg2: ::std::os::raw::c_int, 1204 arg3: f64, 1205 ) -> ::std::os::raw::c_int; 1206 } 1207 extern "C" { sqlite3_bind_int( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1208 pub fn sqlite3_bind_int( 1209 arg1: *mut sqlite3_stmt, 1210 arg2: ::std::os::raw::c_int, 1211 arg3: ::std::os::raw::c_int, 1212 ) -> ::std::os::raw::c_int; 1213 } 1214 extern "C" { sqlite3_bind_int64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_int64, ) -> ::std::os::raw::c_int1215 pub fn sqlite3_bind_int64( 1216 arg1: *mut sqlite3_stmt, 1217 arg2: ::std::os::raw::c_int, 1218 arg3: sqlite3_int64, 1219 ) -> ::std::os::raw::c_int; 1220 } 1221 extern "C" { sqlite3_bind_null( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1222 pub fn sqlite3_bind_null( 1223 arg1: *mut sqlite3_stmt, 1224 arg2: ::std::os::raw::c_int, 1225 ) -> ::std::os::raw::c_int; 1226 } 1227 extern "C" { 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<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1228 pub fn sqlite3_bind_text( 1229 arg1: *mut sqlite3_stmt, 1230 arg2: ::std::os::raw::c_int, 1231 arg3: *const ::std::os::raw::c_char, 1232 arg4: ::std::os::raw::c_int, 1233 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1234 ) -> ::std::os::raw::c_int; 1235 } 1236 extern "C" { 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<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, encoding: ::std::os::raw::c_uchar, ) -> ::std::os::raw::c_int1237 pub fn sqlite3_bind_text64( 1238 arg1: *mut sqlite3_stmt, 1239 arg2: ::std::os::raw::c_int, 1240 arg3: *const ::std::os::raw::c_char, 1241 arg4: sqlite3_uint64, 1242 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1243 encoding: ::std::os::raw::c_uchar, 1244 ) -> ::std::os::raw::c_int; 1245 } 1246 extern "C" { sqlite3_bind_value( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const sqlite3_value, ) -> ::std::os::raw::c_int1247 pub fn sqlite3_bind_value( 1248 arg1: *mut sqlite3_stmt, 1249 arg2: ::std::os::raw::c_int, 1250 arg3: *const sqlite3_value, 1251 ) -> ::std::os::raw::c_int; 1252 } 1253 extern "C" { sqlite3_bind_pointer( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *mut ::std::os::raw::c_void, arg4: *const ::std::os::raw::c_char, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1254 pub fn sqlite3_bind_pointer( 1255 arg1: *mut sqlite3_stmt, 1256 arg2: ::std::os::raw::c_int, 1257 arg3: *mut ::std::os::raw::c_void, 1258 arg4: *const ::std::os::raw::c_char, 1259 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1260 ) -> ::std::os::raw::c_int; 1261 } 1262 extern "C" { sqlite3_bind_zeroblob( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, n: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1263 pub fn sqlite3_bind_zeroblob( 1264 arg1: *mut sqlite3_stmt, 1265 arg2: ::std::os::raw::c_int, 1266 n: ::std::os::raw::c_int, 1267 ) -> ::std::os::raw::c_int; 1268 } 1269 extern "C" { sqlite3_bind_zeroblob64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_uint64, ) -> ::std::os::raw::c_int1270 pub fn sqlite3_bind_zeroblob64( 1271 arg1: *mut sqlite3_stmt, 1272 arg2: ::std::os::raw::c_int, 1273 arg3: sqlite3_uint64, 1274 ) -> ::std::os::raw::c_int; 1275 } 1276 extern "C" { sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1277 pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1278 } 1279 extern "C" { sqlite3_bind_parameter_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1280 pub fn sqlite3_bind_parameter_name( 1281 arg1: *mut sqlite3_stmt, 1282 arg2: ::std::os::raw::c_int, 1283 ) -> *const ::std::os::raw::c_char; 1284 } 1285 extern "C" { sqlite3_bind_parameter_index( arg1: *mut sqlite3_stmt, zName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1286 pub fn sqlite3_bind_parameter_index( 1287 arg1: *mut sqlite3_stmt, 1288 zName: *const ::std::os::raw::c_char, 1289 ) -> ::std::os::raw::c_int; 1290 } 1291 extern "C" { sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1292 pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1293 } 1294 extern "C" { sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1295 pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1296 } 1297 extern "C" { sqlite3_column_name( arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1298 pub fn sqlite3_column_name( 1299 arg1: *mut sqlite3_stmt, 1300 N: ::std::os::raw::c_int, 1301 ) -> *const ::std::os::raw::c_char; 1302 } 1303 extern "C" { sqlite3_column_database_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1304 pub fn sqlite3_column_database_name( 1305 arg1: *mut sqlite3_stmt, 1306 arg2: ::std::os::raw::c_int, 1307 ) -> *const ::std::os::raw::c_char; 1308 } 1309 extern "C" { sqlite3_column_table_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1310 pub fn sqlite3_column_table_name( 1311 arg1: *mut sqlite3_stmt, 1312 arg2: ::std::os::raw::c_int, 1313 ) -> *const ::std::os::raw::c_char; 1314 } 1315 extern "C" { sqlite3_column_origin_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1316 pub fn sqlite3_column_origin_name( 1317 arg1: *mut sqlite3_stmt, 1318 arg2: ::std::os::raw::c_int, 1319 ) -> *const ::std::os::raw::c_char; 1320 } 1321 extern "C" { sqlite3_column_decltype( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1322 pub fn sqlite3_column_decltype( 1323 arg1: *mut sqlite3_stmt, 1324 arg2: ::std::os::raw::c_int, 1325 ) -> *const ::std::os::raw::c_char; 1326 } 1327 extern "C" { sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1328 pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1329 } 1330 extern "C" { sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1331 pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1332 } 1333 extern "C" { sqlite3_column_blob( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1334 pub fn sqlite3_column_blob( 1335 arg1: *mut sqlite3_stmt, 1336 iCol: ::std::os::raw::c_int, 1337 ) -> *const ::std::os::raw::c_void; 1338 } 1339 extern "C" { sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f641340 pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f64; 1341 } 1342 extern "C" { sqlite3_column_int( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1343 pub fn sqlite3_column_int( 1344 arg1: *mut sqlite3_stmt, 1345 iCol: ::std::os::raw::c_int, 1346 ) -> ::std::os::raw::c_int; 1347 } 1348 extern "C" { sqlite3_column_int64( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> sqlite3_int641349 pub fn sqlite3_column_int64( 1350 arg1: *mut sqlite3_stmt, 1351 iCol: ::std::os::raw::c_int, 1352 ) -> sqlite3_int64; 1353 } 1354 extern "C" { sqlite3_column_text( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_uchar1355 pub fn sqlite3_column_text( 1356 arg1: *mut sqlite3_stmt, 1357 iCol: ::std::os::raw::c_int, 1358 ) -> *const ::std::os::raw::c_uchar; 1359 } 1360 extern "C" { sqlite3_column_value( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *mut sqlite3_value1361 pub fn sqlite3_column_value( 1362 arg1: *mut sqlite3_stmt, 1363 iCol: ::std::os::raw::c_int, 1364 ) -> *mut sqlite3_value; 1365 } 1366 extern "C" { sqlite3_column_bytes( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1367 pub fn sqlite3_column_bytes( 1368 arg1: *mut sqlite3_stmt, 1369 iCol: ::std::os::raw::c_int, 1370 ) -> ::std::os::raw::c_int; 1371 } 1372 extern "C" { sqlite3_column_type( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1373 pub fn sqlite3_column_type( 1374 arg1: *mut sqlite3_stmt, 1375 iCol: ::std::os::raw::c_int, 1376 ) -> ::std::os::raw::c_int; 1377 } 1378 extern "C" { sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1379 pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1380 } 1381 extern "C" { sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1382 pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1383 } 1384 extern "C" { 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, xFunc: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xStep: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1385 pub fn sqlite3_create_function_v2( 1386 db: *mut sqlite3, 1387 zFunctionName: *const ::std::os::raw::c_char, 1388 nArg: ::std::os::raw::c_int, 1389 eTextRep: ::std::os::raw::c_int, 1390 pApp: *mut ::std::os::raw::c_void, 1391 xFunc: ::std::option::Option< 1392 unsafe extern "C" fn( 1393 arg1: *mut sqlite3_context, 1394 arg2: ::std::os::raw::c_int, 1395 arg3: *mut *mut sqlite3_value, 1396 ), 1397 >, 1398 xStep: ::std::option::Option< 1399 unsafe extern "C" fn( 1400 arg1: *mut sqlite3_context, 1401 arg2: ::std::os::raw::c_int, 1402 arg3: *mut *mut sqlite3_value, 1403 ), 1404 >, 1405 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, 1406 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1407 ) -> ::std::os::raw::c_int; 1408 } 1409 extern "C" { sqlite3_create_window_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, xStep: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, xInverse: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1410 pub fn sqlite3_create_window_function( 1411 db: *mut sqlite3, 1412 zFunctionName: *const ::std::os::raw::c_char, 1413 nArg: ::std::os::raw::c_int, 1414 eTextRep: ::std::os::raw::c_int, 1415 pApp: *mut ::std::os::raw::c_void, 1416 xStep: ::std::option::Option< 1417 unsafe extern "C" fn( 1418 arg1: *mut sqlite3_context, 1419 arg2: ::std::os::raw::c_int, 1420 arg3: *mut *mut sqlite3_value, 1421 ), 1422 >, 1423 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, 1424 xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, 1425 xInverse: ::std::option::Option< 1426 unsafe extern "C" fn( 1427 arg1: *mut sqlite3_context, 1428 arg2: ::std::os::raw::c_int, 1429 arg3: *mut *mut sqlite3_value, 1430 ), 1431 >, 1432 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1433 ) -> ::std::os::raw::c_int; 1434 } 1435 extern "C" { sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int1436 pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int; 1437 } 1438 extern "C" { sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1439 pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int; 1440 } 1441 extern "C" { sqlite3_transfer_bindings( arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt, ) -> ::std::os::raw::c_int1442 pub fn sqlite3_transfer_bindings( 1443 arg1: *mut sqlite3_stmt, 1444 arg2: *mut sqlite3_stmt, 1445 ) -> ::std::os::raw::c_int; 1446 } 1447 extern "C" { sqlite3_global_recover() -> ::std::os::raw::c_int1448 pub fn sqlite3_global_recover() -> ::std::os::raw::c_int; 1449 } 1450 extern "C" { sqlite3_thread_cleanup()1451 pub fn sqlite3_thread_cleanup(); 1452 } 1453 extern "C" { sqlite3_memory_alarm( arg1: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: sqlite3_int64, arg3: ::std::os::raw::c_int, ), >, arg2: *mut ::std::os::raw::c_void, arg3: sqlite3_int64, ) -> ::std::os::raw::c_int1454 pub fn sqlite3_memory_alarm( 1455 arg1: ::std::option::Option< 1456 unsafe extern "C" fn( 1457 arg1: *mut ::std::os::raw::c_void, 1458 arg2: sqlite3_int64, 1459 arg3: ::std::os::raw::c_int, 1460 ), 1461 >, 1462 arg2: *mut ::std::os::raw::c_void, 1463 arg3: sqlite3_int64, 1464 ) -> ::std::os::raw::c_int; 1465 } 1466 extern "C" { sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1467 pub fn sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void; 1468 } 1469 extern "C" { sqlite3_value_double(arg1: *mut sqlite3_value) -> f641470 pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64; 1471 } 1472 extern "C" { sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1473 pub fn sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1474 } 1475 extern "C" { sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int641476 pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64; 1477 } 1478 extern "C" { sqlite3_value_pointer( arg1: *mut sqlite3_value, arg2: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_void1479 pub fn sqlite3_value_pointer( 1480 arg1: *mut sqlite3_value, 1481 arg2: *const ::std::os::raw::c_char, 1482 ) -> *mut ::std::os::raw::c_void; 1483 } 1484 extern "C" { sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar1485 pub fn sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar; 1486 } 1487 extern "C" { sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1488 pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1489 } 1490 extern "C" { sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1491 pub fn sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1492 } 1493 extern "C" { sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1494 pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1495 } 1496 extern "C" { sqlite3_value_nochange(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1497 pub fn sqlite3_value_nochange(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1498 } 1499 extern "C" { sqlite3_value_frombind(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1500 pub fn sqlite3_value_frombind(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1501 } 1502 extern "C" { sqlite3_value_encoding(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1503 pub fn sqlite3_value_encoding(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int; 1504 } 1505 extern "C" { sqlite3_value_subtype(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint1506 pub fn sqlite3_value_subtype(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint; 1507 } 1508 extern "C" { sqlite3_value_dup(arg1: *const sqlite3_value) -> *mut sqlite3_value1509 pub fn sqlite3_value_dup(arg1: *const sqlite3_value) -> *mut sqlite3_value; 1510 } 1511 extern "C" { sqlite3_value_free(arg1: *mut sqlite3_value)1512 pub fn sqlite3_value_free(arg1: *mut sqlite3_value); 1513 } 1514 extern "C" { sqlite3_aggregate_context( arg1: *mut sqlite3_context, nBytes: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void1515 pub fn sqlite3_aggregate_context( 1516 arg1: *mut sqlite3_context, 1517 nBytes: ::std::os::raw::c_int, 1518 ) -> *mut ::std::os::raw::c_void; 1519 } 1520 extern "C" { sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void1521 pub fn sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void; 1522 } 1523 extern "C" { sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite31524 pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite3; 1525 } 1526 extern "C" { sqlite3_get_auxdata( arg1: *mut sqlite3_context, N: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void1527 pub fn sqlite3_get_auxdata( 1528 arg1: *mut sqlite3_context, 1529 N: ::std::os::raw::c_int, 1530 ) -> *mut ::std::os::raw::c_void; 1531 } 1532 extern "C" { sqlite3_set_auxdata( arg1: *mut sqlite3_context, N: ::std::os::raw::c_int, arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )1533 pub fn sqlite3_set_auxdata( 1534 arg1: *mut sqlite3_context, 1535 N: ::std::os::raw::c_int, 1536 arg2: *mut ::std::os::raw::c_void, 1537 arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1538 ); 1539 } 1540 extern "C" { sqlite3_get_clientdata( arg1: *mut sqlite3, arg2: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_void1541 pub fn sqlite3_get_clientdata( 1542 arg1: *mut sqlite3, 1543 arg2: *const ::std::os::raw::c_char, 1544 ) -> *mut ::std::os::raw::c_void; 1545 } 1546 extern "C" { sqlite3_set_clientdata( arg1: *mut sqlite3, arg2: *const ::std::os::raw::c_char, arg3: *mut ::std::os::raw::c_void, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1547 pub fn sqlite3_set_clientdata( 1548 arg1: *mut sqlite3, 1549 arg2: *const ::std::os::raw::c_char, 1550 arg3: *mut ::std::os::raw::c_void, 1551 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1552 ) -> ::std::os::raw::c_int; 1553 } 1554 pub type sqlite3_destructor_type = 1555 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>; 1556 extern "C" { sqlite3_result_blob( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: ::std::os::raw::c_int, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )1557 pub fn sqlite3_result_blob( 1558 arg1: *mut sqlite3_context, 1559 arg2: *const ::std::os::raw::c_void, 1560 arg3: ::std::os::raw::c_int, 1561 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1562 ); 1563 } 1564 extern "C" { sqlite3_result_blob64( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: sqlite3_uint64, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )1565 pub fn sqlite3_result_blob64( 1566 arg1: *mut sqlite3_context, 1567 arg2: *const ::std::os::raw::c_void, 1568 arg3: sqlite3_uint64, 1569 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1570 ); 1571 } 1572 extern "C" { sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64)1573 pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64); 1574 } 1575 extern "C" { sqlite3_result_error( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, )1576 pub fn sqlite3_result_error( 1577 arg1: *mut sqlite3_context, 1578 arg2: *const ::std::os::raw::c_char, 1579 arg3: ::std::os::raw::c_int, 1580 ); 1581 } 1582 extern "C" { sqlite3_result_error_toobig(arg1: *mut sqlite3_context)1583 pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context); 1584 } 1585 extern "C" { sqlite3_result_error_nomem(arg1: *mut sqlite3_context)1586 pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context); 1587 } 1588 extern "C" { sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1589 pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int); 1590 } 1591 extern "C" { sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1592 pub fn sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int); 1593 } 1594 extern "C" { sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64)1595 pub fn sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64); 1596 } 1597 extern "C" { sqlite3_result_null(arg1: *mut sqlite3_context)1598 pub fn sqlite3_result_null(arg1: *mut sqlite3_context); 1599 } 1600 extern "C" { sqlite3_result_text( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )1601 pub fn sqlite3_result_text( 1602 arg1: *mut sqlite3_context, 1603 arg2: *const ::std::os::raw::c_char, 1604 arg3: ::std::os::raw::c_int, 1605 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1606 ); 1607 } 1608 extern "C" { sqlite3_result_text64( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_uint64, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, encoding: ::std::os::raw::c_uchar, )1609 pub fn sqlite3_result_text64( 1610 arg1: *mut sqlite3_context, 1611 arg2: *const ::std::os::raw::c_char, 1612 arg3: sqlite3_uint64, 1613 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1614 encoding: ::std::os::raw::c_uchar, 1615 ); 1616 } 1617 extern "C" { sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value)1618 pub fn sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value); 1619 } 1620 extern "C" { sqlite3_result_pointer( arg1: *mut sqlite3_context, arg2: *mut ::std::os::raw::c_void, arg3: *const ::std::os::raw::c_char, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )1621 pub fn sqlite3_result_pointer( 1622 arg1: *mut sqlite3_context, 1623 arg2: *mut ::std::os::raw::c_void, 1624 arg3: *const ::std::os::raw::c_char, 1625 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1626 ); 1627 } 1628 extern "C" { sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int)1629 pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int); 1630 } 1631 extern "C" { sqlite3_result_zeroblob64( arg1: *mut sqlite3_context, n: sqlite3_uint64, ) -> ::std::os::raw::c_int1632 pub fn sqlite3_result_zeroblob64( 1633 arg1: *mut sqlite3_context, 1634 n: sqlite3_uint64, 1635 ) -> ::std::os::raw::c_int; 1636 } 1637 extern "C" { sqlite3_result_subtype(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_uint)1638 pub fn sqlite3_result_subtype(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_uint); 1639 } 1640 extern "C" { 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, xCompare: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_void, arg4: ::std::os::raw::c_int, arg5: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1641 pub fn sqlite3_create_collation_v2( 1642 arg1: *mut sqlite3, 1643 zName: *const ::std::os::raw::c_char, 1644 eTextRep: ::std::os::raw::c_int, 1645 pArg: *mut ::std::os::raw::c_void, 1646 xCompare: ::std::option::Option< 1647 unsafe extern "C" fn( 1648 arg1: *mut ::std::os::raw::c_void, 1649 arg2: ::std::os::raw::c_int, 1650 arg3: *const ::std::os::raw::c_void, 1651 arg4: ::std::os::raw::c_int, 1652 arg5: *const ::std::os::raw::c_void, 1653 ) -> ::std::os::raw::c_int, 1654 >, 1655 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1656 ) -> ::std::os::raw::c_int; 1657 } 1658 extern "C" { sqlite3_collation_needed( arg1: *mut sqlite3, arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut sqlite3, eTextRep: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, ), >, ) -> ::std::os::raw::c_int1659 pub fn sqlite3_collation_needed( 1660 arg1: *mut sqlite3, 1661 arg2: *mut ::std::os::raw::c_void, 1662 arg3: ::std::option::Option< 1663 unsafe extern "C" fn( 1664 arg1: *mut ::std::os::raw::c_void, 1665 arg2: *mut sqlite3, 1666 eTextRep: ::std::os::raw::c_int, 1667 arg3: *const ::std::os::raw::c_char, 1668 ), 1669 >, 1670 ) -> ::std::os::raw::c_int; 1671 } 1672 extern "C" { sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1673 pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1674 } 1675 extern "C" { 1676 pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char; 1677 } 1678 extern "C" { 1679 pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char; 1680 } 1681 extern "C" { sqlite3_win32_set_directory( type_: ::std::os::raw::c_ulong, zValue: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int1682 pub fn sqlite3_win32_set_directory( 1683 type_: ::std::os::raw::c_ulong, 1684 zValue: *mut ::std::os::raw::c_void, 1685 ) -> ::std::os::raw::c_int; 1686 } 1687 extern "C" { sqlite3_win32_set_directory8( type_: ::std::os::raw::c_ulong, zValue: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1688 pub fn sqlite3_win32_set_directory8( 1689 type_: ::std::os::raw::c_ulong, 1690 zValue: *const ::std::os::raw::c_char, 1691 ) -> ::std::os::raw::c_int; 1692 } 1693 extern "C" { sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int1694 pub fn sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 1695 } 1696 extern "C" { sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite31697 pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3; 1698 } 1699 extern "C" { sqlite3_db_name( db: *mut sqlite3, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1700 pub fn sqlite3_db_name( 1701 db: *mut sqlite3, 1702 N: ::std::os::raw::c_int, 1703 ) -> *const ::std::os::raw::c_char; 1704 } 1705 extern "C" { sqlite3_db_filename( db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char, ) -> sqlite3_filename1706 pub fn sqlite3_db_filename( 1707 db: *mut sqlite3, 1708 zDbName: *const ::std::os::raw::c_char, 1709 ) -> sqlite3_filename; 1710 } 1711 extern "C" { sqlite3_db_readonly( db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1712 pub fn sqlite3_db_readonly( 1713 db: *mut sqlite3, 1714 zDbName: *const ::std::os::raw::c_char, 1715 ) -> ::std::os::raw::c_int; 1716 } 1717 extern "C" { sqlite3_txn_state( arg1: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1718 pub fn sqlite3_txn_state( 1719 arg1: *mut sqlite3, 1720 zSchema: *const ::std::os::raw::c_char, 1721 ) -> ::std::os::raw::c_int; 1722 } 1723 extern "C" { sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt1724 pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt; 1725 } 1726 extern "C" { sqlite3_commit_hook( arg1: *mut sqlite3, arg2: ::std::option::Option< unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, >, arg3: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void1727 pub fn sqlite3_commit_hook( 1728 arg1: *mut sqlite3, 1729 arg2: ::std::option::Option< 1730 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 1731 >, 1732 arg3: *mut ::std::os::raw::c_void, 1733 ) -> *mut ::std::os::raw::c_void; 1734 } 1735 extern "C" { sqlite3_rollback_hook( arg1: *mut sqlite3, arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, arg3: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void1736 pub fn sqlite3_rollback_hook( 1737 arg1: *mut sqlite3, 1738 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1739 arg3: *mut ::std::os::raw::c_void, 1740 ) -> *mut ::std::os::raw::c_void; 1741 } 1742 extern "C" { sqlite3_autovacuum_pages( db: *mut sqlite3, arg1: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_uint, arg4: ::std::os::raw::c_uint, arg5: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_uint, >, arg2: *mut ::std::os::raw::c_void, arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1743 pub fn sqlite3_autovacuum_pages( 1744 db: *mut sqlite3, 1745 arg1: ::std::option::Option< 1746 unsafe extern "C" fn( 1747 arg1: *mut ::std::os::raw::c_void, 1748 arg2: *const ::std::os::raw::c_char, 1749 arg3: ::std::os::raw::c_uint, 1750 arg4: ::std::os::raw::c_uint, 1751 arg5: ::std::os::raw::c_uint, 1752 ) -> ::std::os::raw::c_uint, 1753 >, 1754 arg2: *mut ::std::os::raw::c_void, 1755 arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 1756 ) -> ::std::os::raw::c_int; 1757 } 1758 extern "C" { sqlite3_update_hook( arg1: *mut sqlite3, arg2: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, arg4: *const ::std::os::raw::c_char, arg5: sqlite3_int64, ), >, arg3: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void1759 pub fn sqlite3_update_hook( 1760 arg1: *mut sqlite3, 1761 arg2: ::std::option::Option< 1762 unsafe extern "C" fn( 1763 arg1: *mut ::std::os::raw::c_void, 1764 arg2: ::std::os::raw::c_int, 1765 arg3: *const ::std::os::raw::c_char, 1766 arg4: *const ::std::os::raw::c_char, 1767 arg5: sqlite3_int64, 1768 ), 1769 >, 1770 arg3: *mut ::std::os::raw::c_void, 1771 ) -> *mut ::std::os::raw::c_void; 1772 } 1773 extern "C" { sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1774 pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1775 } 1776 extern "C" { sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1777 pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int; 1778 } 1779 extern "C" { sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int1780 pub fn sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 1781 } 1782 extern "C" { sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int641783 pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64; 1784 } 1785 extern "C" { sqlite3_hard_heap_limit64(N: sqlite3_int64) -> sqlite3_int641786 pub fn sqlite3_hard_heap_limit64(N: sqlite3_int64) -> sqlite3_int64; 1787 } 1788 extern "C" { sqlite3_soft_heap_limit(N: ::std::os::raw::c_int)1789 pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int); 1790 } 1791 extern "C" { sqlite3_table_column_metadata( db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char, zTableName: *const ::std::os::raw::c_char, zColumnName: *const ::std::os::raw::c_char, pzDataType: *mut *const ::std::os::raw::c_char, pzCollSeq: *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_int1792 pub fn sqlite3_table_column_metadata( 1793 db: *mut sqlite3, 1794 zDbName: *const ::std::os::raw::c_char, 1795 zTableName: *const ::std::os::raw::c_char, 1796 zColumnName: *const ::std::os::raw::c_char, 1797 pzDataType: *mut *const ::std::os::raw::c_char, 1798 pzCollSeq: *mut *const ::std::os::raw::c_char, 1799 pNotNull: *mut ::std::os::raw::c_int, 1800 pPrimaryKey: *mut ::std::os::raw::c_int, 1801 pAutoinc: *mut ::std::os::raw::c_int, 1802 ) -> ::std::os::raw::c_int; 1803 } 1804 extern "C" { 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_int1805 pub fn sqlite3_load_extension( 1806 db: *mut sqlite3, 1807 zFile: *const ::std::os::raw::c_char, 1808 zProc: *const ::std::os::raw::c_char, 1809 pzErrMsg: *mut *mut ::std::os::raw::c_char, 1810 ) -> ::std::os::raw::c_int; 1811 } 1812 extern "C" { sqlite3_enable_load_extension( db: *mut sqlite3, onoff: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1813 pub fn sqlite3_enable_load_extension( 1814 db: *mut sqlite3, 1815 onoff: ::std::os::raw::c_int, 1816 ) -> ::std::os::raw::c_int; 1817 } 1818 extern "C" { sqlite3_reset_auto_extension()1819 pub fn sqlite3_reset_auto_extension(); 1820 } 1821 #[repr(C)] 1822 #[derive(Debug, Copy, Clone)] 1823 pub struct sqlite3_module { 1824 pub iVersion: ::std::os::raw::c_int, 1825 pub xCreate: ::std::option::Option< 1826 unsafe extern "C" fn( 1827 arg1: *mut sqlite3, 1828 pAux: *mut ::std::os::raw::c_void, 1829 argc: ::std::os::raw::c_int, 1830 argv: *const *const ::std::os::raw::c_char, 1831 ppVTab: *mut *mut sqlite3_vtab, 1832 arg2: *mut *mut ::std::os::raw::c_char, 1833 ) -> ::std::os::raw::c_int, 1834 >, 1835 pub xConnect: ::std::option::Option< 1836 unsafe extern "C" fn( 1837 arg1: *mut sqlite3, 1838 pAux: *mut ::std::os::raw::c_void, 1839 argc: ::std::os::raw::c_int, 1840 argv: *const *const ::std::os::raw::c_char, 1841 ppVTab: *mut *mut sqlite3_vtab, 1842 arg2: *mut *mut ::std::os::raw::c_char, 1843 ) -> ::std::os::raw::c_int, 1844 >, 1845 pub xBestIndex: ::std::option::Option< 1846 unsafe extern "C" fn( 1847 pVTab: *mut sqlite3_vtab, 1848 arg1: *mut sqlite3_index_info, 1849 ) -> ::std::os::raw::c_int, 1850 >, 1851 pub xDisconnect: ::std::option::Option< 1852 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1853 >, 1854 pub xDestroy: ::std::option::Option< 1855 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1856 >, 1857 pub xOpen: ::std::option::Option< 1858 unsafe extern "C" fn( 1859 pVTab: *mut sqlite3_vtab, 1860 ppCursor: *mut *mut sqlite3_vtab_cursor, 1861 ) -> ::std::os::raw::c_int, 1862 >, 1863 pub xClose: ::std::option::Option< 1864 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int, 1865 >, 1866 pub xFilter: ::std::option::Option< 1867 unsafe extern "C" fn( 1868 arg1: *mut sqlite3_vtab_cursor, 1869 idxNum: ::std::os::raw::c_int, 1870 idxStr: *const ::std::os::raw::c_char, 1871 argc: ::std::os::raw::c_int, 1872 argv: *mut *mut sqlite3_value, 1873 ) -> ::std::os::raw::c_int, 1874 >, 1875 pub xNext: ::std::option::Option< 1876 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int, 1877 >, 1878 pub xEof: ::std::option::Option< 1879 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int, 1880 >, 1881 pub xColumn: ::std::option::Option< 1882 unsafe extern "C" fn( 1883 arg1: *mut sqlite3_vtab_cursor, 1884 arg2: *mut sqlite3_context, 1885 arg3: ::std::os::raw::c_int, 1886 ) -> ::std::os::raw::c_int, 1887 >, 1888 pub xRowid: ::std::option::Option< 1889 unsafe extern "C" fn( 1890 arg1: *mut sqlite3_vtab_cursor, 1891 pRowid: *mut sqlite3_int64, 1892 ) -> ::std::os::raw::c_int, 1893 >, 1894 pub xUpdate: ::std::option::Option< 1895 unsafe extern "C" fn( 1896 arg1: *mut sqlite3_vtab, 1897 arg2: ::std::os::raw::c_int, 1898 arg3: *mut *mut sqlite3_value, 1899 arg4: *mut sqlite3_int64, 1900 ) -> ::std::os::raw::c_int, 1901 >, 1902 pub xBegin: ::std::option::Option< 1903 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1904 >, 1905 pub xSync: ::std::option::Option< 1906 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1907 >, 1908 pub xCommit: ::std::option::Option< 1909 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1910 >, 1911 pub xRollback: ::std::option::Option< 1912 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int, 1913 >, 1914 pub xFindFunction: ::std::option::Option< 1915 unsafe extern "C" fn( 1916 pVtab: *mut sqlite3_vtab, 1917 nArg: ::std::os::raw::c_int, 1918 zName: *const ::std::os::raw::c_char, 1919 pxFunc: *mut ::std::option::Option< 1920 unsafe extern "C" fn( 1921 arg1: *mut sqlite3_context, 1922 arg2: ::std::os::raw::c_int, 1923 arg3: *mut *mut sqlite3_value, 1924 ), 1925 >, 1926 ppArg: *mut *mut ::std::os::raw::c_void, 1927 ) -> ::std::os::raw::c_int, 1928 >, 1929 pub xRename: ::std::option::Option< 1930 unsafe extern "C" fn( 1931 pVtab: *mut sqlite3_vtab, 1932 zNew: *const ::std::os::raw::c_char, 1933 ) -> ::std::os::raw::c_int, 1934 >, 1935 pub xSavepoint: ::std::option::Option< 1936 unsafe extern "C" fn( 1937 pVTab: *mut sqlite3_vtab, 1938 arg1: ::std::os::raw::c_int, 1939 ) -> ::std::os::raw::c_int, 1940 >, 1941 pub xRelease: ::std::option::Option< 1942 unsafe extern "C" fn( 1943 pVTab: *mut sqlite3_vtab, 1944 arg1: ::std::os::raw::c_int, 1945 ) -> ::std::os::raw::c_int, 1946 >, 1947 pub xRollbackTo: ::std::option::Option< 1948 unsafe extern "C" fn( 1949 pVTab: *mut sqlite3_vtab, 1950 arg1: ::std::os::raw::c_int, 1951 ) -> ::std::os::raw::c_int, 1952 >, 1953 pub xShadowName: ::std::option::Option< 1954 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int, 1955 >, 1956 pub xIntegrity: ::std::option::Option< 1957 unsafe extern "C" fn( 1958 pVTab: *mut sqlite3_vtab, 1959 zSchema: *const ::std::os::raw::c_char, 1960 zTabName: *const ::std::os::raw::c_char, 1961 mFlags: ::std::os::raw::c_int, 1962 pzErr: *mut *mut ::std::os::raw::c_char, 1963 ) -> ::std::os::raw::c_int, 1964 >, 1965 } 1966 #[repr(C)] 1967 #[derive(Debug, Copy, Clone)] 1968 pub struct sqlite3_index_info { 1969 pub nConstraint: ::std::os::raw::c_int, 1970 pub aConstraint: *mut sqlite3_index_constraint, 1971 pub nOrderBy: ::std::os::raw::c_int, 1972 pub aOrderBy: *mut sqlite3_index_orderby, 1973 pub aConstraintUsage: *mut sqlite3_index_constraint_usage, 1974 pub idxNum: ::std::os::raw::c_int, 1975 pub idxStr: *mut ::std::os::raw::c_char, 1976 pub needToFreeIdxStr: ::std::os::raw::c_int, 1977 pub orderByConsumed: ::std::os::raw::c_int, 1978 pub estimatedCost: f64, 1979 pub estimatedRows: sqlite3_int64, 1980 pub idxFlags: ::std::os::raw::c_int, 1981 pub colUsed: sqlite3_uint64, 1982 } 1983 #[repr(C)] 1984 #[derive(Debug, Copy, Clone)] 1985 pub struct sqlite3_index_constraint { 1986 pub iColumn: ::std::os::raw::c_int, 1987 pub op: ::std::os::raw::c_uchar, 1988 pub usable: ::std::os::raw::c_uchar, 1989 pub iTermOffset: ::std::os::raw::c_int, 1990 } 1991 #[repr(C)] 1992 #[derive(Debug, Copy, Clone)] 1993 pub struct sqlite3_index_orderby { 1994 pub iColumn: ::std::os::raw::c_int, 1995 pub desc: ::std::os::raw::c_uchar, 1996 } 1997 #[repr(C)] 1998 #[derive(Debug, Copy, Clone)] 1999 pub struct sqlite3_index_constraint_usage { 2000 pub argvIndex: ::std::os::raw::c_int, 2001 pub omit: ::std::os::raw::c_uchar, 2002 } 2003 extern "C" { sqlite3_create_module_v2( db: *mut sqlite3, zName: *const ::std::os::raw::c_char, p: *const sqlite3_module, pClientData: *mut ::std::os::raw::c_void, xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int2004 pub fn sqlite3_create_module_v2( 2005 db: *mut sqlite3, 2006 zName: *const ::std::os::raw::c_char, 2007 p: *const sqlite3_module, 2008 pClientData: *mut ::std::os::raw::c_void, 2009 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2010 ) -> ::std::os::raw::c_int; 2011 } 2012 extern "C" { sqlite3_drop_modules( db: *mut sqlite3, azKeep: *mut *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2013 pub fn sqlite3_drop_modules( 2014 db: *mut sqlite3, 2015 azKeep: *mut *const ::std::os::raw::c_char, 2016 ) -> ::std::os::raw::c_int; 2017 } 2018 #[repr(C)] 2019 #[derive(Debug, Copy, Clone)] 2020 pub struct sqlite3_vtab { 2021 pub pModule: *const sqlite3_module, 2022 pub nRef: ::std::os::raw::c_int, 2023 pub zErrMsg: *mut ::std::os::raw::c_char, 2024 } 2025 #[repr(C)] 2026 #[derive(Debug, Copy, Clone)] 2027 pub struct sqlite3_vtab_cursor { 2028 pub pVtab: *mut sqlite3_vtab, 2029 } 2030 extern "C" { sqlite3_declare_vtab( arg1: *mut sqlite3, zSQL: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2031 pub fn sqlite3_declare_vtab( 2032 arg1: *mut sqlite3, 2033 zSQL: *const ::std::os::raw::c_char, 2034 ) -> ::std::os::raw::c_int; 2035 } 2036 extern "C" { sqlite3_overload_function( arg1: *mut sqlite3, zFuncName: *const ::std::os::raw::c_char, nArg: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2037 pub fn sqlite3_overload_function( 2038 arg1: *mut sqlite3, 2039 zFuncName: *const ::std::os::raw::c_char, 2040 nArg: ::std::os::raw::c_int, 2041 ) -> ::std::os::raw::c_int; 2042 } 2043 #[repr(C)] 2044 #[derive(Debug, Copy, Clone)] 2045 pub struct sqlite3_blob { 2046 _unused: [u8; 0], 2047 } 2048 extern "C" { 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_int2049 pub fn sqlite3_blob_open( 2050 arg1: *mut sqlite3, 2051 zDb: *const ::std::os::raw::c_char, 2052 zTable: *const ::std::os::raw::c_char, 2053 zColumn: *const ::std::os::raw::c_char, 2054 iRow: sqlite3_int64, 2055 flags: ::std::os::raw::c_int, 2056 ppBlob: *mut *mut sqlite3_blob, 2057 ) -> ::std::os::raw::c_int; 2058 } 2059 extern "C" { sqlite3_blob_reopen( arg1: *mut sqlite3_blob, arg2: sqlite3_int64, ) -> ::std::os::raw::c_int2060 pub fn sqlite3_blob_reopen( 2061 arg1: *mut sqlite3_blob, 2062 arg2: sqlite3_int64, 2063 ) -> ::std::os::raw::c_int; 2064 } 2065 extern "C" { sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int2066 pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int; 2067 } 2068 extern "C" { sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int2069 pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int; 2070 } 2071 extern "C" { 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_int2072 pub fn sqlite3_blob_read( 2073 arg1: *mut sqlite3_blob, 2074 Z: *mut ::std::os::raw::c_void, 2075 N: ::std::os::raw::c_int, 2076 iOffset: ::std::os::raw::c_int, 2077 ) -> ::std::os::raw::c_int; 2078 } 2079 extern "C" { 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_int2080 pub fn sqlite3_blob_write( 2081 arg1: *mut sqlite3_blob, 2082 z: *const ::std::os::raw::c_void, 2083 n: ::std::os::raw::c_int, 2084 iOffset: ::std::os::raw::c_int, 2085 ) -> ::std::os::raw::c_int; 2086 } 2087 extern "C" { sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs2088 pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs; 2089 } 2090 extern "C" { sqlite3_vfs_register( arg1: *mut sqlite3_vfs, makeDflt: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2091 pub fn sqlite3_vfs_register( 2092 arg1: *mut sqlite3_vfs, 2093 makeDflt: ::std::os::raw::c_int, 2094 ) -> ::std::os::raw::c_int; 2095 } 2096 extern "C" { sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int2097 pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int; 2098 } 2099 extern "C" { sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex2100 pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex; 2101 } 2102 extern "C" { sqlite3_mutex_free(arg1: *mut sqlite3_mutex)2103 pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex); 2104 } 2105 extern "C" { sqlite3_mutex_enter(arg1: *mut sqlite3_mutex)2106 pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex); 2107 } 2108 extern "C" { sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int2109 pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int; 2110 } 2111 extern "C" { sqlite3_mutex_leave(arg1: *mut sqlite3_mutex)2112 pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex); 2113 } 2114 #[repr(C)] 2115 #[derive(Debug, Copy, Clone)] 2116 pub struct sqlite3_mutex_methods { 2117 pub xMutexInit: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>, 2118 pub xMutexEnd: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>, 2119 pub xMutexAlloc: ::std::option::Option< 2120 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex, 2121 >, 2122 pub xMutexFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>, 2123 pub xMutexEnter: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>, 2124 pub xMutexTry: ::std::option::Option< 2125 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int, 2126 >, 2127 pub xMutexLeave: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>, 2128 pub xMutexHeld: ::std::option::Option< 2129 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int, 2130 >, 2131 pub xMutexNotheld: ::std::option::Option< 2132 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int, 2133 >, 2134 } 2135 extern "C" { sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int2136 pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int; 2137 } 2138 extern "C" { sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int2139 pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int; 2140 } 2141 extern "C" { sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex2142 pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex; 2143 } 2144 extern "C" { 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_int2145 pub fn sqlite3_file_control( 2146 arg1: *mut sqlite3, 2147 zDbName: *const ::std::os::raw::c_char, 2148 op: ::std::os::raw::c_int, 2149 arg2: *mut ::std::os::raw::c_void, 2150 ) -> ::std::os::raw::c_int; 2151 } 2152 extern "C" { sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int2153 pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int; 2154 } 2155 extern "C" { sqlite3_keyword_count() -> ::std::os::raw::c_int2156 pub fn sqlite3_keyword_count() -> ::std::os::raw::c_int; 2157 } 2158 extern "C" { sqlite3_keyword_name( arg1: ::std::os::raw::c_int, arg2: *mut *const ::std::os::raw::c_char, arg3: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2159 pub fn sqlite3_keyword_name( 2160 arg1: ::std::os::raw::c_int, 2161 arg2: *mut *const ::std::os::raw::c_char, 2162 arg3: *mut ::std::os::raw::c_int, 2163 ) -> ::std::os::raw::c_int; 2164 } 2165 extern "C" { sqlite3_keyword_check( arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2166 pub fn sqlite3_keyword_check( 2167 arg1: *const ::std::os::raw::c_char, 2168 arg2: ::std::os::raw::c_int, 2169 ) -> ::std::os::raw::c_int; 2170 } 2171 #[repr(C)] 2172 #[derive(Debug, Copy, Clone)] 2173 pub struct sqlite3_str { 2174 _unused: [u8; 0], 2175 } 2176 extern "C" { sqlite3_str_new(arg1: *mut sqlite3) -> *mut sqlite3_str2177 pub fn sqlite3_str_new(arg1: *mut sqlite3) -> *mut sqlite3_str; 2178 } 2179 extern "C" { sqlite3_str_finish(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char2180 pub fn sqlite3_str_finish(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char; 2181 } 2182 extern "C" { sqlite3_str_appendf(arg1: *mut sqlite3_str, zFormat: *const ::std::os::raw::c_char, ...)2183 pub fn sqlite3_str_appendf(arg1: *mut sqlite3_str, zFormat: *const ::std::os::raw::c_char, ...); 2184 } 2185 extern "C" { sqlite3_str_append( arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char, N: ::std::os::raw::c_int, )2186 pub fn sqlite3_str_append( 2187 arg1: *mut sqlite3_str, 2188 zIn: *const ::std::os::raw::c_char, 2189 N: ::std::os::raw::c_int, 2190 ); 2191 } 2192 extern "C" { sqlite3_str_appendall(arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char)2193 pub fn sqlite3_str_appendall(arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char); 2194 } 2195 extern "C" { sqlite3_str_appendchar( arg1: *mut sqlite3_str, N: ::std::os::raw::c_int, C: ::std::os::raw::c_char, )2196 pub fn sqlite3_str_appendchar( 2197 arg1: *mut sqlite3_str, 2198 N: ::std::os::raw::c_int, 2199 C: ::std::os::raw::c_char, 2200 ); 2201 } 2202 extern "C" { sqlite3_str_reset(arg1: *mut sqlite3_str)2203 pub fn sqlite3_str_reset(arg1: *mut sqlite3_str); 2204 } 2205 extern "C" { sqlite3_str_errcode(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int2206 pub fn sqlite3_str_errcode(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int; 2207 } 2208 extern "C" { sqlite3_str_length(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int2209 pub fn sqlite3_str_length(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int; 2210 } 2211 extern "C" { sqlite3_str_value(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char2212 pub fn sqlite3_str_value(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char; 2213 } 2214 extern "C" { 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_int2215 pub fn sqlite3_status( 2216 op: ::std::os::raw::c_int, 2217 pCurrent: *mut ::std::os::raw::c_int, 2218 pHighwater: *mut ::std::os::raw::c_int, 2219 resetFlag: ::std::os::raw::c_int, 2220 ) -> ::std::os::raw::c_int; 2221 } 2222 extern "C" { sqlite3_status64( op: ::std::os::raw::c_int, pCurrent: *mut sqlite3_int64, pHighwater: *mut sqlite3_int64, resetFlag: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2223 pub fn sqlite3_status64( 2224 op: ::std::os::raw::c_int, 2225 pCurrent: *mut sqlite3_int64, 2226 pHighwater: *mut sqlite3_int64, 2227 resetFlag: ::std::os::raw::c_int, 2228 ) -> ::std::os::raw::c_int; 2229 } 2230 extern "C" { 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_int2231 pub fn sqlite3_db_status( 2232 arg1: *mut sqlite3, 2233 op: ::std::os::raw::c_int, 2234 pCur: *mut ::std::os::raw::c_int, 2235 pHiwtr: *mut ::std::os::raw::c_int, 2236 resetFlg: ::std::os::raw::c_int, 2237 ) -> ::std::os::raw::c_int; 2238 } 2239 extern "C" { sqlite3_stmt_status( arg1: *mut sqlite3_stmt, op: ::std::os::raw::c_int, resetFlg: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2240 pub fn sqlite3_stmt_status( 2241 arg1: *mut sqlite3_stmt, 2242 op: ::std::os::raw::c_int, 2243 resetFlg: ::std::os::raw::c_int, 2244 ) -> ::std::os::raw::c_int; 2245 } 2246 #[repr(C)] 2247 #[derive(Debug, Copy, Clone)] 2248 pub struct sqlite3_pcache { 2249 _unused: [u8; 0], 2250 } 2251 #[repr(C)] 2252 #[derive(Debug, Copy, Clone)] 2253 pub struct sqlite3_pcache_page { 2254 pub pBuf: *mut ::std::os::raw::c_void, 2255 pub pExtra: *mut ::std::os::raw::c_void, 2256 } 2257 #[repr(C)] 2258 #[derive(Debug, Copy, Clone)] 2259 pub struct sqlite3_pcache_methods2 { 2260 pub iVersion: ::std::os::raw::c_int, 2261 pub pArg: *mut ::std::os::raw::c_void, 2262 pub xInit: ::std::option::Option< 2263 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 2264 >, 2265 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2266 pub xCreate: ::std::option::Option< 2267 unsafe extern "C" fn( 2268 szPage: ::std::os::raw::c_int, 2269 szExtra: ::std::os::raw::c_int, 2270 bPurgeable: ::std::os::raw::c_int, 2271 ) -> *mut sqlite3_pcache, 2272 >, 2273 pub xCachesize: ::std::option::Option< 2274 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int), 2275 >, 2276 pub xPagecount: ::std::option::Option< 2277 unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int, 2278 >, 2279 pub xFetch: ::std::option::Option< 2280 unsafe extern "C" fn( 2281 arg1: *mut sqlite3_pcache, 2282 key: ::std::os::raw::c_uint, 2283 createFlag: ::std::os::raw::c_int, 2284 ) -> *mut sqlite3_pcache_page, 2285 >, 2286 pub xUnpin: ::std::option::Option< 2287 unsafe extern "C" fn( 2288 arg1: *mut sqlite3_pcache, 2289 arg2: *mut sqlite3_pcache_page, 2290 discard: ::std::os::raw::c_int, 2291 ), 2292 >, 2293 pub xRekey: ::std::option::Option< 2294 unsafe extern "C" fn( 2295 arg1: *mut sqlite3_pcache, 2296 arg2: *mut sqlite3_pcache_page, 2297 oldKey: ::std::os::raw::c_uint, 2298 newKey: ::std::os::raw::c_uint, 2299 ), 2300 >, 2301 pub xTruncate: ::std::option::Option< 2302 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint), 2303 >, 2304 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>, 2305 pub xShrink: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>, 2306 } 2307 #[repr(C)] 2308 #[derive(Debug, Copy, Clone)] 2309 pub struct sqlite3_pcache_methods { 2310 pub pArg: *mut ::std::os::raw::c_void, 2311 pub xInit: ::std::option::Option< 2312 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int, 2313 >, 2314 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2315 pub xCreate: ::std::option::Option< 2316 unsafe extern "C" fn( 2317 szPage: ::std::os::raw::c_int, 2318 bPurgeable: ::std::os::raw::c_int, 2319 ) -> *mut sqlite3_pcache, 2320 >, 2321 pub xCachesize: ::std::option::Option< 2322 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int), 2323 >, 2324 pub xPagecount: ::std::option::Option< 2325 unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int, 2326 >, 2327 pub xFetch: ::std::option::Option< 2328 unsafe extern "C" fn( 2329 arg1: *mut sqlite3_pcache, 2330 key: ::std::os::raw::c_uint, 2331 createFlag: ::std::os::raw::c_int, 2332 ) -> *mut ::std::os::raw::c_void, 2333 >, 2334 pub xUnpin: ::std::option::Option< 2335 unsafe extern "C" fn( 2336 arg1: *mut sqlite3_pcache, 2337 arg2: *mut ::std::os::raw::c_void, 2338 discard: ::std::os::raw::c_int, 2339 ), 2340 >, 2341 pub xRekey: ::std::option::Option< 2342 unsafe extern "C" fn( 2343 arg1: *mut sqlite3_pcache, 2344 arg2: *mut ::std::os::raw::c_void, 2345 oldKey: ::std::os::raw::c_uint, 2346 newKey: ::std::os::raw::c_uint, 2347 ), 2348 >, 2349 pub xTruncate: ::std::option::Option< 2350 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint), 2351 >, 2352 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>, 2353 } 2354 #[repr(C)] 2355 #[derive(Debug, Copy, Clone)] 2356 pub struct sqlite3_backup { 2357 _unused: [u8; 0], 2358 } 2359 extern "C" { sqlite3_backup_init( pDest: *mut sqlite3, zDestName: *const ::std::os::raw::c_char, pSource: *mut sqlite3, zSourceName: *const ::std::os::raw::c_char, ) -> *mut sqlite3_backup2360 pub fn sqlite3_backup_init( 2361 pDest: *mut sqlite3, 2362 zDestName: *const ::std::os::raw::c_char, 2363 pSource: *mut sqlite3, 2364 zSourceName: *const ::std::os::raw::c_char, 2365 ) -> *mut sqlite3_backup; 2366 } 2367 extern "C" { sqlite3_backup_step( p: *mut sqlite3_backup, nPage: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2368 pub fn sqlite3_backup_step( 2369 p: *mut sqlite3_backup, 2370 nPage: ::std::os::raw::c_int, 2371 ) -> ::std::os::raw::c_int; 2372 } 2373 extern "C" { sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2374 pub fn sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int; 2375 } 2376 extern "C" { sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2377 pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int; 2378 } 2379 extern "C" { sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2380 pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int; 2381 } 2382 extern "C" { sqlite3_unlock_notify( pBlocked: *mut sqlite3, xNotify: ::std::option::Option< unsafe extern "C" fn( apArg: *mut *mut ::std::os::raw::c_void, nArg: ::std::os::raw::c_int, ), >, pNotifyArg: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2383 pub fn sqlite3_unlock_notify( 2384 pBlocked: *mut sqlite3, 2385 xNotify: ::std::option::Option< 2386 unsafe extern "C" fn( 2387 apArg: *mut *mut ::std::os::raw::c_void, 2388 nArg: ::std::os::raw::c_int, 2389 ), 2390 >, 2391 pNotifyArg: *mut ::std::os::raw::c_void, 2392 ) -> ::std::os::raw::c_int; 2393 } 2394 extern "C" { sqlite3_stricmp( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2395 pub fn sqlite3_stricmp( 2396 arg1: *const ::std::os::raw::c_char, 2397 arg2: *const ::std::os::raw::c_char, 2398 ) -> ::std::os::raw::c_int; 2399 } 2400 extern "C" { 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_int2401 pub fn sqlite3_strnicmp( 2402 arg1: *const ::std::os::raw::c_char, 2403 arg2: *const ::std::os::raw::c_char, 2404 arg3: ::std::os::raw::c_int, 2405 ) -> ::std::os::raw::c_int; 2406 } 2407 extern "C" { sqlite3_strglob( zGlob: *const ::std::os::raw::c_char, zStr: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2408 pub fn sqlite3_strglob( 2409 zGlob: *const ::std::os::raw::c_char, 2410 zStr: *const ::std::os::raw::c_char, 2411 ) -> ::std::os::raw::c_int; 2412 } 2413 extern "C" { 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_int2414 pub fn sqlite3_strlike( 2415 zGlob: *const ::std::os::raw::c_char, 2416 zStr: *const ::std::os::raw::c_char, 2417 cEsc: ::std::os::raw::c_uint, 2418 ) -> ::std::os::raw::c_int; 2419 } 2420 extern "C" { sqlite3_log( iErrCode: ::std::os::raw::c_int, zFormat: *const ::std::os::raw::c_char, ... )2421 pub fn sqlite3_log( 2422 iErrCode: ::std::os::raw::c_int, 2423 zFormat: *const ::std::os::raw::c_char, 2424 ... 2425 ); 2426 } 2427 extern "C" { sqlite3_wal_hook( arg1: *mut sqlite3, arg2: ::std::option::Option< unsafe extern "C" fn( arg1: *mut ::std::os::raw::c_void, arg2: *mut sqlite3, arg3: *const ::std::os::raw::c_char, arg4: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, arg3: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void2428 pub fn sqlite3_wal_hook( 2429 arg1: *mut sqlite3, 2430 arg2: ::std::option::Option< 2431 unsafe extern "C" fn( 2432 arg1: *mut ::std::os::raw::c_void, 2433 arg2: *mut sqlite3, 2434 arg3: *const ::std::os::raw::c_char, 2435 arg4: ::std::os::raw::c_int, 2436 ) -> ::std::os::raw::c_int, 2437 >, 2438 arg3: *mut ::std::os::raw::c_void, 2439 ) -> *mut ::std::os::raw::c_void; 2440 } 2441 extern "C" { sqlite3_wal_autocheckpoint( db: *mut sqlite3, N: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2442 pub fn sqlite3_wal_autocheckpoint( 2443 db: *mut sqlite3, 2444 N: ::std::os::raw::c_int, 2445 ) -> ::std::os::raw::c_int; 2446 } 2447 extern "C" { sqlite3_wal_checkpoint( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2448 pub fn sqlite3_wal_checkpoint( 2449 db: *mut sqlite3, 2450 zDb: *const ::std::os::raw::c_char, 2451 ) -> ::std::os::raw::c_int; 2452 } 2453 extern "C" { 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_int2454 pub fn sqlite3_wal_checkpoint_v2( 2455 db: *mut sqlite3, 2456 zDb: *const ::std::os::raw::c_char, 2457 eMode: ::std::os::raw::c_int, 2458 pnLog: *mut ::std::os::raw::c_int, 2459 pnCkpt: *mut ::std::os::raw::c_int, 2460 ) -> ::std::os::raw::c_int; 2461 } 2462 extern "C" { sqlite3_vtab_config( arg1: *mut sqlite3, op: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int2463 pub fn sqlite3_vtab_config( 2464 arg1: *mut sqlite3, 2465 op: ::std::os::raw::c_int, 2466 ... 2467 ) -> ::std::os::raw::c_int; 2468 } 2469 extern "C" { sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int2470 pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2471 } 2472 extern "C" { sqlite3_vtab_nochange(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int2473 pub fn sqlite3_vtab_nochange(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int; 2474 } 2475 extern "C" { sqlite3_vtab_collation( arg1: *mut sqlite3_index_info, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char2476 pub fn sqlite3_vtab_collation( 2477 arg1: *mut sqlite3_index_info, 2478 arg2: ::std::os::raw::c_int, 2479 ) -> *const ::std::os::raw::c_char; 2480 } 2481 extern "C" { sqlite3_vtab_distinct(arg1: *mut sqlite3_index_info) -> ::std::os::raw::c_int2482 pub fn sqlite3_vtab_distinct(arg1: *mut sqlite3_index_info) -> ::std::os::raw::c_int; 2483 } 2484 extern "C" { sqlite3_vtab_in( arg1: *mut sqlite3_index_info, iCons: ::std::os::raw::c_int, bHandle: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2485 pub fn sqlite3_vtab_in( 2486 arg1: *mut sqlite3_index_info, 2487 iCons: ::std::os::raw::c_int, 2488 bHandle: ::std::os::raw::c_int, 2489 ) -> ::std::os::raw::c_int; 2490 } 2491 extern "C" { sqlite3_vtab_in_first( pVal: *mut sqlite3_value, ppOut: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2492 pub fn sqlite3_vtab_in_first( 2493 pVal: *mut sqlite3_value, 2494 ppOut: *mut *mut sqlite3_value, 2495 ) -> ::std::os::raw::c_int; 2496 } 2497 extern "C" { sqlite3_vtab_in_next( pVal: *mut sqlite3_value, ppOut: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2498 pub fn sqlite3_vtab_in_next( 2499 pVal: *mut sqlite3_value, 2500 ppOut: *mut *mut sqlite3_value, 2501 ) -> ::std::os::raw::c_int; 2502 } 2503 extern "C" { sqlite3_vtab_rhs_value( arg1: *mut sqlite3_index_info, arg2: ::std::os::raw::c_int, ppVal: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2504 pub fn sqlite3_vtab_rhs_value( 2505 arg1: *mut sqlite3_index_info, 2506 arg2: ::std::os::raw::c_int, 2507 ppVal: *mut *mut sqlite3_value, 2508 ) -> ::std::os::raw::c_int; 2509 } 2510 extern "C" { 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_int2511 pub fn sqlite3_stmt_scanstatus( 2512 pStmt: *mut sqlite3_stmt, 2513 idx: ::std::os::raw::c_int, 2514 iScanStatusOp: ::std::os::raw::c_int, 2515 pOut: *mut ::std::os::raw::c_void, 2516 ) -> ::std::os::raw::c_int; 2517 } 2518 extern "C" { sqlite3_stmt_scanstatus_v2( pStmt: *mut sqlite3_stmt, idx: ::std::os::raw::c_int, iScanStatusOp: ::std::os::raw::c_int, flags: ::std::os::raw::c_int, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2519 pub fn sqlite3_stmt_scanstatus_v2( 2520 pStmt: *mut sqlite3_stmt, 2521 idx: ::std::os::raw::c_int, 2522 iScanStatusOp: ::std::os::raw::c_int, 2523 flags: ::std::os::raw::c_int, 2524 pOut: *mut ::std::os::raw::c_void, 2525 ) -> ::std::os::raw::c_int; 2526 } 2527 extern "C" { sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt)2528 pub fn sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt); 2529 } 2530 extern "C" { sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int2531 pub fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2532 } 2533 extern "C" { sqlite3_preupdate_hook( db: *mut sqlite3, xPreUpdate: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, db: *mut sqlite3, op: ::std::os::raw::c_int, zDb: *const ::std::os::raw::c_char, zName: *const ::std::os::raw::c_char, iKey1: sqlite3_int64, iKey2: sqlite3_int64, ), >, arg1: *mut ::std::os::raw::c_void, ) -> *mut ::std::os::raw::c_void2534 pub fn sqlite3_preupdate_hook( 2535 db: *mut sqlite3, 2536 xPreUpdate: ::std::option::Option< 2537 unsafe extern "C" fn( 2538 pCtx: *mut ::std::os::raw::c_void, 2539 db: *mut sqlite3, 2540 op: ::std::os::raw::c_int, 2541 zDb: *const ::std::os::raw::c_char, 2542 zName: *const ::std::os::raw::c_char, 2543 iKey1: sqlite3_int64, 2544 iKey2: sqlite3_int64, 2545 ), 2546 >, 2547 arg1: *mut ::std::os::raw::c_void, 2548 ) -> *mut ::std::os::raw::c_void; 2549 } 2550 extern "C" { sqlite3_preupdate_old( arg1: *mut sqlite3, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2551 pub fn sqlite3_preupdate_old( 2552 arg1: *mut sqlite3, 2553 arg2: ::std::os::raw::c_int, 2554 arg3: *mut *mut sqlite3_value, 2555 ) -> ::std::os::raw::c_int; 2556 } 2557 extern "C" { sqlite3_preupdate_count(arg1: *mut sqlite3) -> ::std::os::raw::c_int2558 pub fn sqlite3_preupdate_count(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2559 } 2560 extern "C" { sqlite3_preupdate_depth(arg1: *mut sqlite3) -> ::std::os::raw::c_int2561 pub fn sqlite3_preupdate_depth(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2562 } 2563 extern "C" { sqlite3_preupdate_new( arg1: *mut sqlite3, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2564 pub fn sqlite3_preupdate_new( 2565 arg1: *mut sqlite3, 2566 arg2: ::std::os::raw::c_int, 2567 arg3: *mut *mut sqlite3_value, 2568 ) -> ::std::os::raw::c_int; 2569 } 2570 extern "C" { sqlite3_preupdate_blobwrite(arg1: *mut sqlite3) -> ::std::os::raw::c_int2571 pub fn sqlite3_preupdate_blobwrite(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2572 } 2573 extern "C" { sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int2574 pub fn sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int; 2575 } 2576 #[repr(C)] 2577 #[derive(Debug, Copy, Clone)] 2578 pub struct sqlite3_snapshot { 2579 pub hidden: [::std::os::raw::c_uchar; 48usize], 2580 } 2581 extern "C" { sqlite3_snapshot_get( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, ppSnapshot: *mut *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int2582 pub fn sqlite3_snapshot_get( 2583 db: *mut sqlite3, 2584 zSchema: *const ::std::os::raw::c_char, 2585 ppSnapshot: *mut *mut sqlite3_snapshot, 2586 ) -> ::std::os::raw::c_int; 2587 } 2588 extern "C" { sqlite3_snapshot_open( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, pSnapshot: *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int2589 pub fn sqlite3_snapshot_open( 2590 db: *mut sqlite3, 2591 zSchema: *const ::std::os::raw::c_char, 2592 pSnapshot: *mut sqlite3_snapshot, 2593 ) -> ::std::os::raw::c_int; 2594 } 2595 extern "C" { sqlite3_snapshot_free(arg1: *mut sqlite3_snapshot)2596 pub fn sqlite3_snapshot_free(arg1: *mut sqlite3_snapshot); 2597 } 2598 extern "C" { sqlite3_snapshot_cmp( p1: *mut sqlite3_snapshot, p2: *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int2599 pub fn sqlite3_snapshot_cmp( 2600 p1: *mut sqlite3_snapshot, 2601 p2: *mut sqlite3_snapshot, 2602 ) -> ::std::os::raw::c_int; 2603 } 2604 extern "C" { sqlite3_snapshot_recover( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2605 pub fn sqlite3_snapshot_recover( 2606 db: *mut sqlite3, 2607 zDb: *const ::std::os::raw::c_char, 2608 ) -> ::std::os::raw::c_int; 2609 } 2610 extern "C" { sqlite3_serialize( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, piSize: *mut sqlite3_int64, mFlags: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar2611 pub fn sqlite3_serialize( 2612 db: *mut sqlite3, 2613 zSchema: *const ::std::os::raw::c_char, 2614 piSize: *mut sqlite3_int64, 2615 mFlags: ::std::os::raw::c_uint, 2616 ) -> *mut ::std::os::raw::c_uchar; 2617 } 2618 extern "C" { sqlite3_deserialize( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, pData: *mut ::std::os::raw::c_uchar, szDb: sqlite3_int64, szBuf: sqlite3_int64, mFlags: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int2619 pub fn sqlite3_deserialize( 2620 db: *mut sqlite3, 2621 zSchema: *const ::std::os::raw::c_char, 2622 pData: *mut ::std::os::raw::c_uchar, 2623 szDb: sqlite3_int64, 2624 szBuf: sqlite3_int64, 2625 mFlags: ::std::os::raw::c_uint, 2626 ) -> ::std::os::raw::c_int; 2627 } 2628 pub type sqlite3_rtree_dbl = f64; 2629 extern "C" { sqlite3_rtree_geometry_callback( db: *mut sqlite3, zGeom: *const ::std::os::raw::c_char, xGeom: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_rtree_geometry, arg2: ::std::os::raw::c_int, arg3: *mut sqlite3_rtree_dbl, arg4: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pContext: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2630 pub fn sqlite3_rtree_geometry_callback( 2631 db: *mut sqlite3, 2632 zGeom: *const ::std::os::raw::c_char, 2633 xGeom: ::std::option::Option< 2634 unsafe extern "C" fn( 2635 arg1: *mut sqlite3_rtree_geometry, 2636 arg2: ::std::os::raw::c_int, 2637 arg3: *mut sqlite3_rtree_dbl, 2638 arg4: *mut ::std::os::raw::c_int, 2639 ) -> ::std::os::raw::c_int, 2640 >, 2641 pContext: *mut ::std::os::raw::c_void, 2642 ) -> ::std::os::raw::c_int; 2643 } 2644 #[repr(C)] 2645 #[derive(Debug, Copy, Clone)] 2646 pub struct sqlite3_rtree_geometry { 2647 pub pContext: *mut ::std::os::raw::c_void, 2648 pub nParam: ::std::os::raw::c_int, 2649 pub aParam: *mut sqlite3_rtree_dbl, 2650 pub pUser: *mut ::std::os::raw::c_void, 2651 pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2652 } 2653 extern "C" { sqlite3_rtree_query_callback( db: *mut sqlite3, zQueryFunc: *const ::std::os::raw::c_char, xQueryFunc: ::std::option::Option< unsafe extern "C" fn(arg1: *mut sqlite3_rtree_query_info) -> ::std::os::raw::c_int, >, pContext: *mut ::std::os::raw::c_void, xDestructor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int2654 pub fn sqlite3_rtree_query_callback( 2655 db: *mut sqlite3, 2656 zQueryFunc: *const ::std::os::raw::c_char, 2657 xQueryFunc: ::std::option::Option< 2658 unsafe extern "C" fn(arg1: *mut sqlite3_rtree_query_info) -> ::std::os::raw::c_int, 2659 >, 2660 pContext: *mut ::std::os::raw::c_void, 2661 xDestructor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2662 ) -> ::std::os::raw::c_int; 2663 } 2664 #[repr(C)] 2665 #[derive(Debug, Copy, Clone)] 2666 pub struct sqlite3_rtree_query_info { 2667 pub pContext: *mut ::std::os::raw::c_void, 2668 pub nParam: ::std::os::raw::c_int, 2669 pub aParam: *mut sqlite3_rtree_dbl, 2670 pub pUser: *mut ::std::os::raw::c_void, 2671 pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 2672 pub aCoord: *mut sqlite3_rtree_dbl, 2673 pub anQueue: *mut ::std::os::raw::c_uint, 2674 pub nCoord: ::std::os::raw::c_int, 2675 pub iLevel: ::std::os::raw::c_int, 2676 pub mxLevel: ::std::os::raw::c_int, 2677 pub iRowid: sqlite3_int64, 2678 pub rParentScore: sqlite3_rtree_dbl, 2679 pub eParentWithin: ::std::os::raw::c_int, 2680 pub eWithin: ::std::os::raw::c_int, 2681 pub rScore: sqlite3_rtree_dbl, 2682 pub apSqlParam: *mut *mut sqlite3_value, 2683 } 2684 #[repr(C)] 2685 #[derive(Debug, Copy, Clone)] 2686 pub struct sqlite3_session { 2687 _unused: [u8; 0], 2688 } 2689 #[repr(C)] 2690 #[derive(Debug, Copy, Clone)] 2691 pub struct sqlite3_changeset_iter { 2692 _unused: [u8; 0], 2693 } 2694 extern "C" { sqlite3session_create( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ppSession: *mut *mut sqlite3_session, ) -> ::std::os::raw::c_int2695 pub fn sqlite3session_create( 2696 db: *mut sqlite3, 2697 zDb: *const ::std::os::raw::c_char, 2698 ppSession: *mut *mut sqlite3_session, 2699 ) -> ::std::os::raw::c_int; 2700 } 2701 extern "C" { sqlite3session_delete(pSession: *mut sqlite3_session)2702 pub fn sqlite3session_delete(pSession: *mut sqlite3_session); 2703 } 2704 extern "C" { sqlite3session_object_config( arg1: *mut sqlite3_session, op: ::std::os::raw::c_int, pArg: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2705 pub fn sqlite3session_object_config( 2706 arg1: *mut sqlite3_session, 2707 op: ::std::os::raw::c_int, 2708 pArg: *mut ::std::os::raw::c_void, 2709 ) -> ::std::os::raw::c_int; 2710 } 2711 extern "C" { sqlite3session_enable( pSession: *mut sqlite3_session, bEnable: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2712 pub fn sqlite3session_enable( 2713 pSession: *mut sqlite3_session, 2714 bEnable: ::std::os::raw::c_int, 2715 ) -> ::std::os::raw::c_int; 2716 } 2717 extern "C" { sqlite3session_indirect( pSession: *mut sqlite3_session, bIndirect: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2718 pub fn sqlite3session_indirect( 2719 pSession: *mut sqlite3_session, 2720 bIndirect: ::std::os::raw::c_int, 2721 ) -> ::std::os::raw::c_int; 2722 } 2723 extern "C" { sqlite3session_attach( pSession: *mut sqlite3_session, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2724 pub fn sqlite3session_attach( 2725 pSession: *mut sqlite3_session, 2726 zTab: *const ::std::os::raw::c_char, 2727 ) -> ::std::os::raw::c_int; 2728 } 2729 extern "C" { sqlite3session_table_filter( pSession: *mut sqlite3_session, xFilter: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, )2730 pub fn sqlite3session_table_filter( 2731 pSession: *mut sqlite3_session, 2732 xFilter: ::std::option::Option< 2733 unsafe extern "C" fn( 2734 pCtx: *mut ::std::os::raw::c_void, 2735 zTab: *const ::std::os::raw::c_char, 2736 ) -> ::std::os::raw::c_int, 2737 >, 2738 pCtx: *mut ::std::os::raw::c_void, 2739 ); 2740 } 2741 extern "C" { sqlite3session_changeset( pSession: *mut sqlite3_session, pnChangeset: *mut ::std::os::raw::c_int, ppChangeset: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2742 pub fn sqlite3session_changeset( 2743 pSession: *mut sqlite3_session, 2744 pnChangeset: *mut ::std::os::raw::c_int, 2745 ppChangeset: *mut *mut ::std::os::raw::c_void, 2746 ) -> ::std::os::raw::c_int; 2747 } 2748 extern "C" { sqlite3session_changeset_size(pSession: *mut sqlite3_session) -> sqlite3_int642749 pub fn sqlite3session_changeset_size(pSession: *mut sqlite3_session) -> sqlite3_int64; 2750 } 2751 extern "C" { sqlite3session_diff( pSession: *mut sqlite3_session, zFromDb: *const ::std::os::raw::c_char, zTbl: *const ::std::os::raw::c_char, pzErrMsg: *mut *mut ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2752 pub fn sqlite3session_diff( 2753 pSession: *mut sqlite3_session, 2754 zFromDb: *const ::std::os::raw::c_char, 2755 zTbl: *const ::std::os::raw::c_char, 2756 pzErrMsg: *mut *mut ::std::os::raw::c_char, 2757 ) -> ::std::os::raw::c_int; 2758 } 2759 extern "C" { sqlite3session_patchset( pSession: *mut sqlite3_session, pnPatchset: *mut ::std::os::raw::c_int, ppPatchset: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2760 pub fn sqlite3session_patchset( 2761 pSession: *mut sqlite3_session, 2762 pnPatchset: *mut ::std::os::raw::c_int, 2763 ppPatchset: *mut *mut ::std::os::raw::c_void, 2764 ) -> ::std::os::raw::c_int; 2765 } 2766 extern "C" { sqlite3session_isempty(pSession: *mut sqlite3_session) -> ::std::os::raw::c_int2767 pub fn sqlite3session_isempty(pSession: *mut sqlite3_session) -> ::std::os::raw::c_int; 2768 } 2769 extern "C" { sqlite3session_memory_used(pSession: *mut sqlite3_session) -> sqlite3_int642770 pub fn sqlite3session_memory_used(pSession: *mut sqlite3_session) -> sqlite3_int64; 2771 } 2772 extern "C" { sqlite3changeset_start( pp: *mut *mut sqlite3_changeset_iter, nChangeset: ::std::os::raw::c_int, pChangeset: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2773 pub fn sqlite3changeset_start( 2774 pp: *mut *mut sqlite3_changeset_iter, 2775 nChangeset: ::std::os::raw::c_int, 2776 pChangeset: *mut ::std::os::raw::c_void, 2777 ) -> ::std::os::raw::c_int; 2778 } 2779 extern "C" { sqlite3changeset_start_v2( pp: *mut *mut sqlite3_changeset_iter, nChangeset: ::std::os::raw::c_int, pChangeset: *mut ::std::os::raw::c_void, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2780 pub fn sqlite3changeset_start_v2( 2781 pp: *mut *mut sqlite3_changeset_iter, 2782 nChangeset: ::std::os::raw::c_int, 2783 pChangeset: *mut ::std::os::raw::c_void, 2784 flags: ::std::os::raw::c_int, 2785 ) -> ::std::os::raw::c_int; 2786 } 2787 extern "C" { sqlite3changeset_next(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int2788 pub fn sqlite3changeset_next(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int; 2789 } 2790 extern "C" { sqlite3changeset_op( pIter: *mut sqlite3_changeset_iter, pzTab: *mut *const ::std::os::raw::c_char, pnCol: *mut ::std::os::raw::c_int, pOp: *mut ::std::os::raw::c_int, pbIndirect: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2791 pub fn sqlite3changeset_op( 2792 pIter: *mut sqlite3_changeset_iter, 2793 pzTab: *mut *const ::std::os::raw::c_char, 2794 pnCol: *mut ::std::os::raw::c_int, 2795 pOp: *mut ::std::os::raw::c_int, 2796 pbIndirect: *mut ::std::os::raw::c_int, 2797 ) -> ::std::os::raw::c_int; 2798 } 2799 extern "C" { sqlite3changeset_pk( pIter: *mut sqlite3_changeset_iter, pabPK: *mut *mut ::std::os::raw::c_uchar, pnCol: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2800 pub fn sqlite3changeset_pk( 2801 pIter: *mut sqlite3_changeset_iter, 2802 pabPK: *mut *mut ::std::os::raw::c_uchar, 2803 pnCol: *mut ::std::os::raw::c_int, 2804 ) -> ::std::os::raw::c_int; 2805 } 2806 extern "C" { sqlite3changeset_old( pIter: *mut sqlite3_changeset_iter, iVal: ::std::os::raw::c_int, ppValue: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2807 pub fn sqlite3changeset_old( 2808 pIter: *mut sqlite3_changeset_iter, 2809 iVal: ::std::os::raw::c_int, 2810 ppValue: *mut *mut sqlite3_value, 2811 ) -> ::std::os::raw::c_int; 2812 } 2813 extern "C" { sqlite3changeset_new( pIter: *mut sqlite3_changeset_iter, iVal: ::std::os::raw::c_int, ppValue: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2814 pub fn sqlite3changeset_new( 2815 pIter: *mut sqlite3_changeset_iter, 2816 iVal: ::std::os::raw::c_int, 2817 ppValue: *mut *mut sqlite3_value, 2818 ) -> ::std::os::raw::c_int; 2819 } 2820 extern "C" { sqlite3changeset_conflict( pIter: *mut sqlite3_changeset_iter, iVal: ::std::os::raw::c_int, ppValue: *mut *mut sqlite3_value, ) -> ::std::os::raw::c_int2821 pub fn sqlite3changeset_conflict( 2822 pIter: *mut sqlite3_changeset_iter, 2823 iVal: ::std::os::raw::c_int, 2824 ppValue: *mut *mut sqlite3_value, 2825 ) -> ::std::os::raw::c_int; 2826 } 2827 extern "C" { sqlite3changeset_fk_conflicts( pIter: *mut sqlite3_changeset_iter, pnOut: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2828 pub fn sqlite3changeset_fk_conflicts( 2829 pIter: *mut sqlite3_changeset_iter, 2830 pnOut: *mut ::std::os::raw::c_int, 2831 ) -> ::std::os::raw::c_int; 2832 } 2833 extern "C" { sqlite3changeset_finalize(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int2834 pub fn sqlite3changeset_finalize(pIter: *mut sqlite3_changeset_iter) -> ::std::os::raw::c_int; 2835 } 2836 extern "C" { sqlite3changeset_invert( nIn: ::std::os::raw::c_int, pIn: *const ::std::os::raw::c_void, pnOut: *mut ::std::os::raw::c_int, ppOut: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2837 pub fn sqlite3changeset_invert( 2838 nIn: ::std::os::raw::c_int, 2839 pIn: *const ::std::os::raw::c_void, 2840 pnOut: *mut ::std::os::raw::c_int, 2841 ppOut: *mut *mut ::std::os::raw::c_void, 2842 ) -> ::std::os::raw::c_int; 2843 } 2844 extern "C" { sqlite3changeset_concat( nA: ::std::os::raw::c_int, pA: *mut ::std::os::raw::c_void, nB: ::std::os::raw::c_int, pB: *mut ::std::os::raw::c_void, pnOut: *mut ::std::os::raw::c_int, ppOut: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2845 pub fn sqlite3changeset_concat( 2846 nA: ::std::os::raw::c_int, 2847 pA: *mut ::std::os::raw::c_void, 2848 nB: ::std::os::raw::c_int, 2849 pB: *mut ::std::os::raw::c_void, 2850 pnOut: *mut ::std::os::raw::c_int, 2851 ppOut: *mut *mut ::std::os::raw::c_void, 2852 ) -> ::std::os::raw::c_int; 2853 } 2854 extern "C" { sqlite3changeset_upgrade( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, nIn: ::std::os::raw::c_int, pIn: *const ::std::os::raw::c_void, pnOut: *mut ::std::os::raw::c_int, ppOut: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2855 pub fn sqlite3changeset_upgrade( 2856 db: *mut sqlite3, 2857 zDb: *const ::std::os::raw::c_char, 2858 nIn: ::std::os::raw::c_int, 2859 pIn: *const ::std::os::raw::c_void, 2860 pnOut: *mut ::std::os::raw::c_int, 2861 ppOut: *mut *mut ::std::os::raw::c_void, 2862 ) -> ::std::os::raw::c_int; 2863 } 2864 #[repr(C)] 2865 #[derive(Debug, Copy, Clone)] 2866 pub struct sqlite3_changegroup { 2867 _unused: [u8; 0], 2868 } 2869 extern "C" { sqlite3changegroup_new(pp: *mut *mut sqlite3_changegroup) -> ::std::os::raw::c_int2870 pub fn sqlite3changegroup_new(pp: *mut *mut sqlite3_changegroup) -> ::std::os::raw::c_int; 2871 } 2872 extern "C" { sqlite3changegroup_schema( arg1: *mut sqlite3_changegroup, arg2: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2873 pub fn sqlite3changegroup_schema( 2874 arg1: *mut sqlite3_changegroup, 2875 arg2: *mut sqlite3, 2876 zDb: *const ::std::os::raw::c_char, 2877 ) -> ::std::os::raw::c_int; 2878 } 2879 extern "C" { sqlite3changegroup_add( arg1: *mut sqlite3_changegroup, nData: ::std::os::raw::c_int, pData: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2880 pub fn sqlite3changegroup_add( 2881 arg1: *mut sqlite3_changegroup, 2882 nData: ::std::os::raw::c_int, 2883 pData: *mut ::std::os::raw::c_void, 2884 ) -> ::std::os::raw::c_int; 2885 } 2886 extern "C" { sqlite3changegroup_add_change( arg1: *mut sqlite3_changegroup, arg2: *mut sqlite3_changeset_iter, ) -> ::std::os::raw::c_int2887 pub fn sqlite3changegroup_add_change( 2888 arg1: *mut sqlite3_changegroup, 2889 arg2: *mut sqlite3_changeset_iter, 2890 ) -> ::std::os::raw::c_int; 2891 } 2892 extern "C" { sqlite3changegroup_output( arg1: *mut sqlite3_changegroup, pnData: *mut ::std::os::raw::c_int, ppData: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2893 pub fn sqlite3changegroup_output( 2894 arg1: *mut sqlite3_changegroup, 2895 pnData: *mut ::std::os::raw::c_int, 2896 ppData: *mut *mut ::std::os::raw::c_void, 2897 ) -> ::std::os::raw::c_int; 2898 } 2899 extern "C" { sqlite3changegroup_delete(arg1: *mut sqlite3_changegroup)2900 pub fn sqlite3changegroup_delete(arg1: *mut sqlite3_changegroup); 2901 } 2902 extern "C" { sqlite3changeset_apply( db: *mut sqlite3, nChangeset: ::std::os::raw::c_int, pChangeset: *mut ::std::os::raw::c_void, xFilter: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, xConflict: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, eConflict: ::std::os::raw::c_int, p: *mut sqlite3_changeset_iter, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2903 pub fn sqlite3changeset_apply( 2904 db: *mut sqlite3, 2905 nChangeset: ::std::os::raw::c_int, 2906 pChangeset: *mut ::std::os::raw::c_void, 2907 xFilter: ::std::option::Option< 2908 unsafe extern "C" fn( 2909 pCtx: *mut ::std::os::raw::c_void, 2910 zTab: *const ::std::os::raw::c_char, 2911 ) -> ::std::os::raw::c_int, 2912 >, 2913 xConflict: ::std::option::Option< 2914 unsafe extern "C" fn( 2915 pCtx: *mut ::std::os::raw::c_void, 2916 eConflict: ::std::os::raw::c_int, 2917 p: *mut sqlite3_changeset_iter, 2918 ) -> ::std::os::raw::c_int, 2919 >, 2920 pCtx: *mut ::std::os::raw::c_void, 2921 ) -> ::std::os::raw::c_int; 2922 } 2923 extern "C" { sqlite3changeset_apply_v2( db: *mut sqlite3, nChangeset: ::std::os::raw::c_int, pChangeset: *mut ::std::os::raw::c_void, xFilter: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, xConflict: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, eConflict: ::std::os::raw::c_int, p: *mut sqlite3_changeset_iter, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ppRebase: *mut *mut ::std::os::raw::c_void, pnRebase: *mut ::std::os::raw::c_int, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2924 pub fn sqlite3changeset_apply_v2( 2925 db: *mut sqlite3, 2926 nChangeset: ::std::os::raw::c_int, 2927 pChangeset: *mut ::std::os::raw::c_void, 2928 xFilter: ::std::option::Option< 2929 unsafe extern "C" fn( 2930 pCtx: *mut ::std::os::raw::c_void, 2931 zTab: *const ::std::os::raw::c_char, 2932 ) -> ::std::os::raw::c_int, 2933 >, 2934 xConflict: ::std::option::Option< 2935 unsafe extern "C" fn( 2936 pCtx: *mut ::std::os::raw::c_void, 2937 eConflict: ::std::os::raw::c_int, 2938 p: *mut sqlite3_changeset_iter, 2939 ) -> ::std::os::raw::c_int, 2940 >, 2941 pCtx: *mut ::std::os::raw::c_void, 2942 ppRebase: *mut *mut ::std::os::raw::c_void, 2943 pnRebase: *mut ::std::os::raw::c_int, 2944 flags: ::std::os::raw::c_int, 2945 ) -> ::std::os::raw::c_int; 2946 } 2947 #[repr(C)] 2948 #[derive(Debug, Copy, Clone)] 2949 pub struct sqlite3_rebaser { 2950 _unused: [u8; 0], 2951 } 2952 extern "C" { sqlite3rebaser_create(ppNew: *mut *mut sqlite3_rebaser) -> ::std::os::raw::c_int2953 pub fn sqlite3rebaser_create(ppNew: *mut *mut sqlite3_rebaser) -> ::std::os::raw::c_int; 2954 } 2955 extern "C" { sqlite3rebaser_configure( arg1: *mut sqlite3_rebaser, nRebase: ::std::os::raw::c_int, pRebase: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2956 pub fn sqlite3rebaser_configure( 2957 arg1: *mut sqlite3_rebaser, 2958 nRebase: ::std::os::raw::c_int, 2959 pRebase: *const ::std::os::raw::c_void, 2960 ) -> ::std::os::raw::c_int; 2961 } 2962 extern "C" { sqlite3rebaser_rebase( arg1: *mut sqlite3_rebaser, nIn: ::std::os::raw::c_int, pIn: *const ::std::os::raw::c_void, pnOut: *mut ::std::os::raw::c_int, ppOut: *mut *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2963 pub fn sqlite3rebaser_rebase( 2964 arg1: *mut sqlite3_rebaser, 2965 nIn: ::std::os::raw::c_int, 2966 pIn: *const ::std::os::raw::c_void, 2967 pnOut: *mut ::std::os::raw::c_int, 2968 ppOut: *mut *mut ::std::os::raw::c_void, 2969 ) -> ::std::os::raw::c_int; 2970 } 2971 extern "C" { sqlite3rebaser_delete(p: *mut sqlite3_rebaser)2972 pub fn sqlite3rebaser_delete(p: *mut sqlite3_rebaser); 2973 } 2974 extern "C" { sqlite3changeset_apply_strm( db: *mut sqlite3, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, xFilter: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, xConflict: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, eConflict: ::std::os::raw::c_int, p: *mut sqlite3_changeset_iter, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2975 pub fn sqlite3changeset_apply_strm( 2976 db: *mut sqlite3, 2977 xInput: ::std::option::Option< 2978 unsafe extern "C" fn( 2979 pIn: *mut ::std::os::raw::c_void, 2980 pData: *mut ::std::os::raw::c_void, 2981 pnData: *mut ::std::os::raw::c_int, 2982 ) -> ::std::os::raw::c_int, 2983 >, 2984 pIn: *mut ::std::os::raw::c_void, 2985 xFilter: ::std::option::Option< 2986 unsafe extern "C" fn( 2987 pCtx: *mut ::std::os::raw::c_void, 2988 zTab: *const ::std::os::raw::c_char, 2989 ) -> ::std::os::raw::c_int, 2990 >, 2991 xConflict: ::std::option::Option< 2992 unsafe extern "C" fn( 2993 pCtx: *mut ::std::os::raw::c_void, 2994 eConflict: ::std::os::raw::c_int, 2995 p: *mut sqlite3_changeset_iter, 2996 ) -> ::std::os::raw::c_int, 2997 >, 2998 pCtx: *mut ::std::os::raw::c_void, 2999 ) -> ::std::os::raw::c_int; 3000 } 3001 extern "C" { sqlite3changeset_apply_v2_strm( db: *mut sqlite3, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, xFilter: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, zTab: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int, >, xConflict: ::std::option::Option< unsafe extern "C" fn( pCtx: *mut ::std::os::raw::c_void, eConflict: ::std::os::raw::c_int, p: *mut sqlite3_changeset_iter, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ppRebase: *mut *mut ::std::os::raw::c_void, pnRebase: *mut ::std::os::raw::c_int, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3002 pub fn sqlite3changeset_apply_v2_strm( 3003 db: *mut sqlite3, 3004 xInput: ::std::option::Option< 3005 unsafe extern "C" fn( 3006 pIn: *mut ::std::os::raw::c_void, 3007 pData: *mut ::std::os::raw::c_void, 3008 pnData: *mut ::std::os::raw::c_int, 3009 ) -> ::std::os::raw::c_int, 3010 >, 3011 pIn: *mut ::std::os::raw::c_void, 3012 xFilter: ::std::option::Option< 3013 unsafe extern "C" fn( 3014 pCtx: *mut ::std::os::raw::c_void, 3015 zTab: *const ::std::os::raw::c_char, 3016 ) -> ::std::os::raw::c_int, 3017 >, 3018 xConflict: ::std::option::Option< 3019 unsafe extern "C" fn( 3020 pCtx: *mut ::std::os::raw::c_void, 3021 eConflict: ::std::os::raw::c_int, 3022 p: *mut sqlite3_changeset_iter, 3023 ) -> ::std::os::raw::c_int, 3024 >, 3025 pCtx: *mut ::std::os::raw::c_void, 3026 ppRebase: *mut *mut ::std::os::raw::c_void, 3027 pnRebase: *mut ::std::os::raw::c_int, 3028 flags: ::std::os::raw::c_int, 3029 ) -> ::std::os::raw::c_int; 3030 } 3031 extern "C" { sqlite3changeset_concat_strm( xInputA: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pInA: *mut ::std::os::raw::c_void, xInputB: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pInB: *mut ::std::os::raw::c_void, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3032 pub fn sqlite3changeset_concat_strm( 3033 xInputA: ::std::option::Option< 3034 unsafe extern "C" fn( 3035 pIn: *mut ::std::os::raw::c_void, 3036 pData: *mut ::std::os::raw::c_void, 3037 pnData: *mut ::std::os::raw::c_int, 3038 ) -> ::std::os::raw::c_int, 3039 >, 3040 pInA: *mut ::std::os::raw::c_void, 3041 xInputB: ::std::option::Option< 3042 unsafe extern "C" fn( 3043 pIn: *mut ::std::os::raw::c_void, 3044 pData: *mut ::std::os::raw::c_void, 3045 pnData: *mut ::std::os::raw::c_int, 3046 ) -> ::std::os::raw::c_int, 3047 >, 3048 pInB: *mut ::std::os::raw::c_void, 3049 xOutput: ::std::option::Option< 3050 unsafe extern "C" fn( 3051 pOut: *mut ::std::os::raw::c_void, 3052 pData: *const ::std::os::raw::c_void, 3053 nData: ::std::os::raw::c_int, 3054 ) -> ::std::os::raw::c_int, 3055 >, 3056 pOut: *mut ::std::os::raw::c_void, 3057 ) -> ::std::os::raw::c_int; 3058 } 3059 extern "C" { sqlite3changeset_invert_strm( xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3060 pub fn sqlite3changeset_invert_strm( 3061 xInput: ::std::option::Option< 3062 unsafe extern "C" fn( 3063 pIn: *mut ::std::os::raw::c_void, 3064 pData: *mut ::std::os::raw::c_void, 3065 pnData: *mut ::std::os::raw::c_int, 3066 ) -> ::std::os::raw::c_int, 3067 >, 3068 pIn: *mut ::std::os::raw::c_void, 3069 xOutput: ::std::option::Option< 3070 unsafe extern "C" fn( 3071 pOut: *mut ::std::os::raw::c_void, 3072 pData: *const ::std::os::raw::c_void, 3073 nData: ::std::os::raw::c_int, 3074 ) -> ::std::os::raw::c_int, 3075 >, 3076 pOut: *mut ::std::os::raw::c_void, 3077 ) -> ::std::os::raw::c_int; 3078 } 3079 extern "C" { sqlite3changeset_start_strm( pp: *mut *mut sqlite3_changeset_iter, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3080 pub fn sqlite3changeset_start_strm( 3081 pp: *mut *mut sqlite3_changeset_iter, 3082 xInput: ::std::option::Option< 3083 unsafe extern "C" fn( 3084 pIn: *mut ::std::os::raw::c_void, 3085 pData: *mut ::std::os::raw::c_void, 3086 pnData: *mut ::std::os::raw::c_int, 3087 ) -> ::std::os::raw::c_int, 3088 >, 3089 pIn: *mut ::std::os::raw::c_void, 3090 ) -> ::std::os::raw::c_int; 3091 } 3092 extern "C" { sqlite3changeset_start_v2_strm( pp: *mut *mut sqlite3_changeset_iter, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, flags: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3093 pub fn sqlite3changeset_start_v2_strm( 3094 pp: *mut *mut sqlite3_changeset_iter, 3095 xInput: ::std::option::Option< 3096 unsafe extern "C" fn( 3097 pIn: *mut ::std::os::raw::c_void, 3098 pData: *mut ::std::os::raw::c_void, 3099 pnData: *mut ::std::os::raw::c_int, 3100 ) -> ::std::os::raw::c_int, 3101 >, 3102 pIn: *mut ::std::os::raw::c_void, 3103 flags: ::std::os::raw::c_int, 3104 ) -> ::std::os::raw::c_int; 3105 } 3106 extern "C" { sqlite3session_changeset_strm( pSession: *mut sqlite3_session, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3107 pub fn sqlite3session_changeset_strm( 3108 pSession: *mut sqlite3_session, 3109 xOutput: ::std::option::Option< 3110 unsafe extern "C" fn( 3111 pOut: *mut ::std::os::raw::c_void, 3112 pData: *const ::std::os::raw::c_void, 3113 nData: ::std::os::raw::c_int, 3114 ) -> ::std::os::raw::c_int, 3115 >, 3116 pOut: *mut ::std::os::raw::c_void, 3117 ) -> ::std::os::raw::c_int; 3118 } 3119 extern "C" { sqlite3session_patchset_strm( pSession: *mut sqlite3_session, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3120 pub fn sqlite3session_patchset_strm( 3121 pSession: *mut sqlite3_session, 3122 xOutput: ::std::option::Option< 3123 unsafe extern "C" fn( 3124 pOut: *mut ::std::os::raw::c_void, 3125 pData: *const ::std::os::raw::c_void, 3126 nData: ::std::os::raw::c_int, 3127 ) -> ::std::os::raw::c_int, 3128 >, 3129 pOut: *mut ::std::os::raw::c_void, 3130 ) -> ::std::os::raw::c_int; 3131 } 3132 extern "C" { sqlite3changegroup_add_strm( arg1: *mut sqlite3_changegroup, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3133 pub fn sqlite3changegroup_add_strm( 3134 arg1: *mut sqlite3_changegroup, 3135 xInput: ::std::option::Option< 3136 unsafe extern "C" fn( 3137 pIn: *mut ::std::os::raw::c_void, 3138 pData: *mut ::std::os::raw::c_void, 3139 pnData: *mut ::std::os::raw::c_int, 3140 ) -> ::std::os::raw::c_int, 3141 >, 3142 pIn: *mut ::std::os::raw::c_void, 3143 ) -> ::std::os::raw::c_int; 3144 } 3145 extern "C" { sqlite3changegroup_output_strm( arg1: *mut sqlite3_changegroup, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3146 pub fn sqlite3changegroup_output_strm( 3147 arg1: *mut sqlite3_changegroup, 3148 xOutput: ::std::option::Option< 3149 unsafe extern "C" fn( 3150 pOut: *mut ::std::os::raw::c_void, 3151 pData: *const ::std::os::raw::c_void, 3152 nData: ::std::os::raw::c_int, 3153 ) -> ::std::os::raw::c_int, 3154 >, 3155 pOut: *mut ::std::os::raw::c_void, 3156 ) -> ::std::os::raw::c_int; 3157 } 3158 extern "C" { sqlite3rebaser_rebase_strm( pRebaser: *mut sqlite3_rebaser, xInput: ::std::option::Option< unsafe extern "C" fn( pIn: *mut ::std::os::raw::c_void, pData: *mut ::std::os::raw::c_void, pnData: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pIn: *mut ::std::os::raw::c_void, xOutput: ::std::option::Option< unsafe extern "C" fn( pOut: *mut ::std::os::raw::c_void, pData: *const ::std::os::raw::c_void, nData: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3159 pub fn sqlite3rebaser_rebase_strm( 3160 pRebaser: *mut sqlite3_rebaser, 3161 xInput: ::std::option::Option< 3162 unsafe extern "C" fn( 3163 pIn: *mut ::std::os::raw::c_void, 3164 pData: *mut ::std::os::raw::c_void, 3165 pnData: *mut ::std::os::raw::c_int, 3166 ) -> ::std::os::raw::c_int, 3167 >, 3168 pIn: *mut ::std::os::raw::c_void, 3169 xOutput: ::std::option::Option< 3170 unsafe extern "C" fn( 3171 pOut: *mut ::std::os::raw::c_void, 3172 pData: *const ::std::os::raw::c_void, 3173 nData: ::std::os::raw::c_int, 3174 ) -> ::std::os::raw::c_int, 3175 >, 3176 pOut: *mut ::std::os::raw::c_void, 3177 ) -> ::std::os::raw::c_int; 3178 } 3179 extern "C" { sqlite3session_config( op: ::std::os::raw::c_int, pArg: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int3180 pub fn sqlite3session_config( 3181 op: ::std::os::raw::c_int, 3182 pArg: *mut ::std::os::raw::c_void, 3183 ) -> ::std::os::raw::c_int; 3184 } 3185 #[repr(C)] 3186 #[derive(Debug, Copy, Clone)] 3187 pub struct Fts5Context { 3188 _unused: [u8; 0], 3189 } 3190 pub type fts5_extension_function = ::std::option::Option< 3191 unsafe extern "C" fn( 3192 pApi: *const Fts5ExtensionApi, 3193 pFts: *mut Fts5Context, 3194 pCtx: *mut sqlite3_context, 3195 nVal: ::std::os::raw::c_int, 3196 apVal: *mut *mut sqlite3_value, 3197 ), 3198 >; 3199 #[repr(C)] 3200 #[derive(Debug, Copy, Clone)] 3201 pub struct Fts5PhraseIter { 3202 pub a: *const ::std::os::raw::c_uchar, 3203 pub b: *const ::std::os::raw::c_uchar, 3204 } 3205 #[repr(C)] 3206 #[derive(Debug, Copy, Clone)] 3207 pub struct Fts5ExtensionApi { 3208 pub iVersion: ::std::os::raw::c_int, 3209 pub xUserData: ::std::option::Option< 3210 unsafe extern "C" fn(arg1: *mut Fts5Context) -> *mut ::std::os::raw::c_void, 3211 >, 3212 pub xColumnCount: ::std::option::Option< 3213 unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int, 3214 >, 3215 pub xRowCount: ::std::option::Option< 3216 unsafe extern "C" fn( 3217 arg1: *mut Fts5Context, 3218 pnRow: *mut sqlite3_int64, 3219 ) -> ::std::os::raw::c_int, 3220 >, 3221 pub xColumnTotalSize: ::std::option::Option< 3222 unsafe extern "C" fn( 3223 arg1: *mut Fts5Context, 3224 iCol: ::std::os::raw::c_int, 3225 pnToken: *mut sqlite3_int64, 3226 ) -> ::std::os::raw::c_int, 3227 >, 3228 pub xTokenize: ::std::option::Option< 3229 unsafe extern "C" fn( 3230 arg1: *mut Fts5Context, 3231 pText: *const ::std::os::raw::c_char, 3232 nText: ::std::os::raw::c_int, 3233 pCtx: *mut ::std::os::raw::c_void, 3234 xToken: ::std::option::Option< 3235 unsafe extern "C" fn( 3236 arg1: *mut ::std::os::raw::c_void, 3237 arg2: ::std::os::raw::c_int, 3238 arg3: *const ::std::os::raw::c_char, 3239 arg4: ::std::os::raw::c_int, 3240 arg5: ::std::os::raw::c_int, 3241 arg6: ::std::os::raw::c_int, 3242 ) -> ::std::os::raw::c_int, 3243 >, 3244 ) -> ::std::os::raw::c_int, 3245 >, 3246 pub xPhraseCount: ::std::option::Option< 3247 unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int, 3248 >, 3249 pub xPhraseSize: ::std::option::Option< 3250 unsafe extern "C" fn( 3251 arg1: *mut Fts5Context, 3252 iPhrase: ::std::os::raw::c_int, 3253 ) -> ::std::os::raw::c_int, 3254 >, 3255 pub xInstCount: ::std::option::Option< 3256 unsafe extern "C" fn( 3257 arg1: *mut Fts5Context, 3258 pnInst: *mut ::std::os::raw::c_int, 3259 ) -> ::std::os::raw::c_int, 3260 >, 3261 pub xInst: ::std::option::Option< 3262 unsafe extern "C" fn( 3263 arg1: *mut Fts5Context, 3264 iIdx: ::std::os::raw::c_int, 3265 piPhrase: *mut ::std::os::raw::c_int, 3266 piCol: *mut ::std::os::raw::c_int, 3267 piOff: *mut ::std::os::raw::c_int, 3268 ) -> ::std::os::raw::c_int, 3269 >, 3270 pub xRowid: 3271 ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> sqlite3_int64>, 3272 pub xColumnText: ::std::option::Option< 3273 unsafe extern "C" fn( 3274 arg1: *mut Fts5Context, 3275 iCol: ::std::os::raw::c_int, 3276 pz: *mut *const ::std::os::raw::c_char, 3277 pn: *mut ::std::os::raw::c_int, 3278 ) -> ::std::os::raw::c_int, 3279 >, 3280 pub xColumnSize: ::std::option::Option< 3281 unsafe extern "C" fn( 3282 arg1: *mut Fts5Context, 3283 iCol: ::std::os::raw::c_int, 3284 pnToken: *mut ::std::os::raw::c_int, 3285 ) -> ::std::os::raw::c_int, 3286 >, 3287 pub xQueryPhrase: ::std::option::Option< 3288 unsafe extern "C" fn( 3289 arg1: *mut Fts5Context, 3290 iPhrase: ::std::os::raw::c_int, 3291 pUserData: *mut ::std::os::raw::c_void, 3292 arg2: ::std::option::Option< 3293 unsafe extern "C" fn( 3294 arg1: *const Fts5ExtensionApi, 3295 arg2: *mut Fts5Context, 3296 arg3: *mut ::std::os::raw::c_void, 3297 ) -> ::std::os::raw::c_int, 3298 >, 3299 ) -> ::std::os::raw::c_int, 3300 >, 3301 pub xSetAuxdata: ::std::option::Option< 3302 unsafe extern "C" fn( 3303 arg1: *mut Fts5Context, 3304 pAux: *mut ::std::os::raw::c_void, 3305 xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 3306 ) -> ::std::os::raw::c_int, 3307 >, 3308 pub xGetAuxdata: ::std::option::Option< 3309 unsafe extern "C" fn( 3310 arg1: *mut Fts5Context, 3311 bClear: ::std::os::raw::c_int, 3312 ) -> *mut ::std::os::raw::c_void, 3313 >, 3314 pub xPhraseFirst: ::std::option::Option< 3315 unsafe extern "C" fn( 3316 arg1: *mut Fts5Context, 3317 iPhrase: ::std::os::raw::c_int, 3318 arg2: *mut Fts5PhraseIter, 3319 arg3: *mut ::std::os::raw::c_int, 3320 arg4: *mut ::std::os::raw::c_int, 3321 ) -> ::std::os::raw::c_int, 3322 >, 3323 pub xPhraseNext: ::std::option::Option< 3324 unsafe extern "C" fn( 3325 arg1: *mut Fts5Context, 3326 arg2: *mut Fts5PhraseIter, 3327 piCol: *mut ::std::os::raw::c_int, 3328 piOff: *mut ::std::os::raw::c_int, 3329 ), 3330 >, 3331 pub xPhraseFirstColumn: ::std::option::Option< 3332 unsafe extern "C" fn( 3333 arg1: *mut Fts5Context, 3334 iPhrase: ::std::os::raw::c_int, 3335 arg2: *mut Fts5PhraseIter, 3336 arg3: *mut ::std::os::raw::c_int, 3337 ) -> ::std::os::raw::c_int, 3338 >, 3339 pub xPhraseNextColumn: ::std::option::Option< 3340 unsafe extern "C" fn( 3341 arg1: *mut Fts5Context, 3342 arg2: *mut Fts5PhraseIter, 3343 piCol: *mut ::std::os::raw::c_int, 3344 ), 3345 >, 3346 pub xQueryToken: ::std::option::Option< 3347 unsafe extern "C" fn( 3348 arg1: *mut Fts5Context, 3349 iPhrase: ::std::os::raw::c_int, 3350 iToken: ::std::os::raw::c_int, 3351 ppToken: *mut *const ::std::os::raw::c_char, 3352 pnToken: *mut ::std::os::raw::c_int, 3353 ) -> ::std::os::raw::c_int, 3354 >, 3355 pub xInstToken: ::std::option::Option< 3356 unsafe extern "C" fn( 3357 arg1: *mut Fts5Context, 3358 iIdx: ::std::os::raw::c_int, 3359 iToken: ::std::os::raw::c_int, 3360 arg2: *mut *const ::std::os::raw::c_char, 3361 arg3: *mut ::std::os::raw::c_int, 3362 ) -> ::std::os::raw::c_int, 3363 >, 3364 } 3365 #[repr(C)] 3366 #[derive(Debug, Copy, Clone)] 3367 pub struct Fts5Tokenizer { 3368 _unused: [u8; 0], 3369 } 3370 #[repr(C)] 3371 #[derive(Debug, Copy, Clone)] 3372 pub struct fts5_tokenizer { 3373 pub xCreate: ::std::option::Option< 3374 unsafe extern "C" fn( 3375 arg1: *mut ::std::os::raw::c_void, 3376 azArg: *mut *const ::std::os::raw::c_char, 3377 nArg: ::std::os::raw::c_int, 3378 ppOut: *mut *mut Fts5Tokenizer, 3379 ) -> ::std::os::raw::c_int, 3380 >, 3381 pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>, 3382 pub xTokenize: ::std::option::Option< 3383 unsafe extern "C" fn( 3384 arg1: *mut Fts5Tokenizer, 3385 pCtx: *mut ::std::os::raw::c_void, 3386 flags: ::std::os::raw::c_int, 3387 pText: *const ::std::os::raw::c_char, 3388 nText: ::std::os::raw::c_int, 3389 xToken: ::std::option::Option< 3390 unsafe extern "C" fn( 3391 pCtx: *mut ::std::os::raw::c_void, 3392 tflags: ::std::os::raw::c_int, 3393 pToken: *const ::std::os::raw::c_char, 3394 nToken: ::std::os::raw::c_int, 3395 iStart: ::std::os::raw::c_int, 3396 iEnd: ::std::os::raw::c_int, 3397 ) -> ::std::os::raw::c_int, 3398 >, 3399 ) -> ::std::os::raw::c_int, 3400 >, 3401 } 3402 #[repr(C)] 3403 #[derive(Debug, Copy, Clone)] 3404 pub struct fts5_api { 3405 pub iVersion: ::std::os::raw::c_int, 3406 pub xCreateTokenizer: ::std::option::Option< 3407 unsafe extern "C" fn( 3408 pApi: *mut fts5_api, 3409 zName: *const ::std::os::raw::c_char, 3410 pUserData: *mut ::std::os::raw::c_void, 3411 pTokenizer: *mut fts5_tokenizer, 3412 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 3413 ) -> ::std::os::raw::c_int, 3414 >, 3415 pub xFindTokenizer: ::std::option::Option< 3416 unsafe extern "C" fn( 3417 pApi: *mut fts5_api, 3418 zName: *const ::std::os::raw::c_char, 3419 ppUserData: *mut *mut ::std::os::raw::c_void, 3420 pTokenizer: *mut fts5_tokenizer, 3421 ) -> ::std::os::raw::c_int, 3422 >, 3423 pub xCreateFunction: ::std::option::Option< 3424 unsafe extern "C" fn( 3425 pApi: *mut fts5_api, 3426 zName: *const ::std::os::raw::c_char, 3427 pUserData: *mut ::std::os::raw::c_void, 3428 xFunction: fts5_extension_function, 3429 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, 3430 ) -> ::std::os::raw::c_int, 3431 >, 3432 } 3433