blob: cd1489511db1949fd2ad731e34195d474afaa3da [file] [log] [blame]
Joel Galenson610a7512020-07-28 13:41:38 -07001/* automatically generated by rust-bindgen */
2
3pub const __GNUC_VA_LIST: i32 = 1;
4pub const SQLITE_VERSION: &'static [u8; 7usize] = b"3.7.16\x00";
5pub const SQLITE_VERSION_NUMBER: i32 = 3007016;
6pub const SQLITE_SOURCE_ID: &'static [u8; 61usize] =
7 b"2013-03-18 11:39:23 66d5f2b76750f3520eb7a495f6247206758f5b90\x00";
8pub const SQLITE_OK: i32 = 0;
9pub const SQLITE_ERROR: i32 = 1;
10pub const SQLITE_INTERNAL: i32 = 2;
11pub const SQLITE_PERM: i32 = 3;
12pub const SQLITE_ABORT: i32 = 4;
13pub const SQLITE_BUSY: i32 = 5;
14pub const SQLITE_LOCKED: i32 = 6;
15pub const SQLITE_NOMEM: i32 = 7;
16pub const SQLITE_READONLY: i32 = 8;
17pub const SQLITE_INTERRUPT: i32 = 9;
18pub const SQLITE_IOERR: i32 = 10;
19pub const SQLITE_CORRUPT: i32 = 11;
20pub const SQLITE_NOTFOUND: i32 = 12;
21pub const SQLITE_FULL: i32 = 13;
22pub const SQLITE_CANTOPEN: i32 = 14;
23pub const SQLITE_PROTOCOL: i32 = 15;
24pub const SQLITE_EMPTY: i32 = 16;
25pub const SQLITE_SCHEMA: i32 = 17;
26pub const SQLITE_TOOBIG: i32 = 18;
27pub const SQLITE_CONSTRAINT: i32 = 19;
28pub const SQLITE_MISMATCH: i32 = 20;
29pub const SQLITE_MISUSE: i32 = 21;
30pub const SQLITE_NOLFS: i32 = 22;
31pub const SQLITE_AUTH: i32 = 23;
32pub const SQLITE_FORMAT: i32 = 24;
33pub const SQLITE_RANGE: i32 = 25;
34pub const SQLITE_NOTADB: i32 = 26;
35pub const SQLITE_ROW: i32 = 100;
36pub const SQLITE_DONE: i32 = 101;
37pub const SQLITE_IOERR_READ: i32 = 266;
38pub const SQLITE_IOERR_SHORT_READ: i32 = 522;
39pub const SQLITE_IOERR_WRITE: i32 = 778;
40pub const SQLITE_IOERR_FSYNC: i32 = 1034;
41pub const SQLITE_IOERR_DIR_FSYNC: i32 = 1290;
42pub const SQLITE_IOERR_TRUNCATE: i32 = 1546;
43pub const SQLITE_IOERR_FSTAT: i32 = 1802;
44pub const SQLITE_IOERR_UNLOCK: i32 = 2058;
45pub const SQLITE_IOERR_RDLOCK: i32 = 2314;
46pub const SQLITE_IOERR_DELETE: i32 = 2570;
47pub const SQLITE_IOERR_BLOCKED: i32 = 2826;
48pub const SQLITE_IOERR_NOMEM: i32 = 3082;
49pub const SQLITE_IOERR_ACCESS: i32 = 3338;
50pub const SQLITE_IOERR_CHECKRESERVEDLOCK: i32 = 3594;
51pub const SQLITE_IOERR_LOCK: i32 = 3850;
52pub const SQLITE_IOERR_CLOSE: i32 = 4106;
53pub const SQLITE_IOERR_DIR_CLOSE: i32 = 4362;
54pub const SQLITE_IOERR_SHMOPEN: i32 = 4618;
55pub const SQLITE_IOERR_SHMSIZE: i32 = 4874;
56pub const SQLITE_IOERR_SHMLOCK: i32 = 5130;
57pub const SQLITE_IOERR_SHMMAP: i32 = 5386;
58pub const SQLITE_IOERR_SEEK: i32 = 5642;
59pub const SQLITE_IOERR_DELETE_NOENT: i32 = 5898;
60pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262;
61pub const SQLITE_BUSY_RECOVERY: i32 = 261;
62pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270;
63pub const SQLITE_CANTOPEN_ISDIR: i32 = 526;
64pub const SQLITE_CANTOPEN_FULLPATH: i32 = 782;
65pub const SQLITE_CORRUPT_VTAB: i32 = 267;
66pub const SQLITE_READONLY_RECOVERY: i32 = 264;
67pub const SQLITE_READONLY_CANTLOCK: i32 = 520;
68pub const SQLITE_READONLY_ROLLBACK: i32 = 776;
69pub const SQLITE_ABORT_ROLLBACK: i32 = 516;
70pub const SQLITE_CONSTRAINT_CHECK: i32 = 275;
71pub const SQLITE_CONSTRAINT_COMMITHOOK: i32 = 531;
72pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787;
73pub const SQLITE_CONSTRAINT_FUNCTION: i32 = 1043;
74pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299;
75pub const SQLITE_CONSTRAINT_PRIMARYKEY: i32 = 1555;
76pub const SQLITE_CONSTRAINT_TRIGGER: i32 = 1811;
77pub const SQLITE_CONSTRAINT_UNIQUE: i32 = 2067;
78pub const SQLITE_CONSTRAINT_VTAB: i32 = 2323;
79pub const SQLITE_OPEN_READONLY: i32 = 1;
80pub const SQLITE_OPEN_READWRITE: i32 = 2;
81pub const SQLITE_OPEN_CREATE: i32 = 4;
82pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8;
83pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16;
84pub const SQLITE_OPEN_AUTOPROXY: i32 = 32;
85pub const SQLITE_OPEN_URI: i32 = 64;
86pub const SQLITE_OPEN_MEMORY: i32 = 128;
87pub const SQLITE_OPEN_MAIN_DB: i32 = 256;
88pub const SQLITE_OPEN_TEMP_DB: i32 = 512;
89pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024;
90pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048;
91pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096;
92pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192;
93pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384;
94pub const SQLITE_OPEN_NOMUTEX: i32 = 32768;
95pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536;
96pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072;
97pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144;
98pub const SQLITE_OPEN_WAL: i32 = 524288;
99pub const SQLITE_IOCAP_ATOMIC: i32 = 1;
100pub const SQLITE_IOCAP_ATOMIC512: i32 = 2;
101pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4;
102pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8;
103pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16;
104pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32;
105pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64;
106pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128;
107pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256;
108pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512;
109pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024;
110pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048;
111pub const SQLITE_IOCAP_POWERSAFE_OVERWRITE: i32 = 4096;
112pub const SQLITE_LOCK_NONE: i32 = 0;
113pub const SQLITE_LOCK_SHARED: i32 = 1;
114pub const SQLITE_LOCK_RESERVED: i32 = 2;
115pub const SQLITE_LOCK_PENDING: i32 = 3;
116pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4;
117pub const SQLITE_SYNC_NORMAL: i32 = 2;
118pub const SQLITE_SYNC_FULL: i32 = 3;
119pub const SQLITE_SYNC_DATAONLY: i32 = 16;
120pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1;
121pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2;
122pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3;
123pub const SQLITE_LAST_ERRNO: i32 = 4;
124pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5;
125pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6;
126pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7;
127pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8;
128pub const SQLITE_FCNTL_WIN32_AV_RETRY: i32 = 9;
129pub const SQLITE_FCNTL_PERSIST_WAL: i32 = 10;
130pub const SQLITE_FCNTL_OVERWRITE: i32 = 11;
131pub const SQLITE_FCNTL_VFSNAME: i32 = 12;
132pub const SQLITE_FCNTL_POWERSAFE_OVERWRITE: i32 = 13;
133pub const SQLITE_FCNTL_PRAGMA: i32 = 14;
134pub const SQLITE_FCNTL_BUSYHANDLER: i32 = 15;
135pub const SQLITE_FCNTL_TEMPFILENAME: i32 = 16;
136pub const SQLITE_ACCESS_EXISTS: i32 = 0;
137pub const SQLITE_ACCESS_READWRITE: i32 = 1;
138pub const SQLITE_ACCESS_READ: i32 = 2;
139pub const SQLITE_SHM_UNLOCK: i32 = 1;
140pub const SQLITE_SHM_LOCK: i32 = 2;
141pub const SQLITE_SHM_SHARED: i32 = 4;
142pub const SQLITE_SHM_EXCLUSIVE: i32 = 8;
143pub const SQLITE_SHM_NLOCK: i32 = 8;
144pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1;
145pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2;
146pub const SQLITE_CONFIG_SERIALIZED: i32 = 3;
147pub const SQLITE_CONFIG_MALLOC: i32 = 4;
148pub const SQLITE_CONFIG_GETMALLOC: i32 = 5;
149pub const SQLITE_CONFIG_SCRATCH: i32 = 6;
150pub const SQLITE_CONFIG_PAGECACHE: i32 = 7;
151pub const SQLITE_CONFIG_HEAP: i32 = 8;
152pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9;
153pub const SQLITE_CONFIG_MUTEX: i32 = 10;
154pub const SQLITE_CONFIG_GETMUTEX: i32 = 11;
155pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13;
156pub const SQLITE_CONFIG_PCACHE: i32 = 14;
157pub const SQLITE_CONFIG_GETPCACHE: i32 = 15;
158pub const SQLITE_CONFIG_LOG: i32 = 16;
159pub const SQLITE_CONFIG_URI: i32 = 17;
160pub const SQLITE_CONFIG_PCACHE2: i32 = 18;
161pub const SQLITE_CONFIG_GETPCACHE2: i32 = 19;
162pub const SQLITE_CONFIG_COVERING_INDEX_SCAN: i32 = 20;
163pub const SQLITE_CONFIG_SQLLOG: i32 = 21;
164pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001;
165pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002;
166pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003;
167pub const SQLITE_DENY: i32 = 1;
168pub const SQLITE_IGNORE: i32 = 2;
169pub const SQLITE_CREATE_INDEX: i32 = 1;
170pub const SQLITE_CREATE_TABLE: i32 = 2;
171pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3;
172pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4;
173pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5;
174pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6;
175pub const SQLITE_CREATE_TRIGGER: i32 = 7;
176pub const SQLITE_CREATE_VIEW: i32 = 8;
177pub const SQLITE_DELETE: i32 = 9;
178pub const SQLITE_DROP_INDEX: i32 = 10;
179pub const SQLITE_DROP_TABLE: i32 = 11;
180pub const SQLITE_DROP_TEMP_INDEX: i32 = 12;
181pub const SQLITE_DROP_TEMP_TABLE: i32 = 13;
182pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14;
183pub const SQLITE_DROP_TEMP_VIEW: i32 = 15;
184pub const SQLITE_DROP_TRIGGER: i32 = 16;
185pub const SQLITE_DROP_VIEW: i32 = 17;
186pub const SQLITE_INSERT: i32 = 18;
187pub const SQLITE_PRAGMA: i32 = 19;
188pub const SQLITE_READ: i32 = 20;
189pub const SQLITE_SELECT: i32 = 21;
190pub const SQLITE_TRANSACTION: i32 = 22;
191pub const SQLITE_UPDATE: i32 = 23;
192pub const SQLITE_ATTACH: i32 = 24;
193pub const SQLITE_DETACH: i32 = 25;
194pub const SQLITE_ALTER_TABLE: i32 = 26;
195pub const SQLITE_REINDEX: i32 = 27;
196pub const SQLITE_ANALYZE: i32 = 28;
197pub const SQLITE_CREATE_VTABLE: i32 = 29;
198pub const SQLITE_DROP_VTABLE: i32 = 30;
199pub const SQLITE_FUNCTION: i32 = 31;
200pub const SQLITE_SAVEPOINT: i32 = 32;
201pub const SQLITE_COPY: i32 = 0;
202pub const SQLITE_LIMIT_LENGTH: i32 = 0;
203pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1;
204pub const SQLITE_LIMIT_COLUMN: i32 = 2;
205pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3;
206pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4;
207pub const SQLITE_LIMIT_VDBE_OP: i32 = 5;
208pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6;
209pub const SQLITE_LIMIT_ATTACHED: i32 = 7;
210pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8;
211pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9;
212pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10;
213pub const SQLITE_INTEGER: i32 = 1;
214pub const SQLITE_FLOAT: i32 = 2;
215pub const SQLITE_BLOB: i32 = 4;
216pub const SQLITE_NULL: i32 = 5;
217pub const SQLITE_TEXT: i32 = 3;
218pub const SQLITE3_TEXT: i32 = 3;
219pub const SQLITE_UTF8: i32 = 1;
220pub const SQLITE_UTF16LE: i32 = 2;
221pub const SQLITE_UTF16BE: i32 = 3;
222pub const SQLITE_UTF16: i32 = 4;
223pub const SQLITE_ANY: i32 = 5;
224pub const SQLITE_UTF16_ALIGNED: i32 = 8;
225pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
226pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
227pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8;
228pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16;
229pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32;
230pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64;
231pub const SQLITE_MUTEX_FAST: i32 = 0;
232pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
233pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2;
234pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3;
235pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4;
236pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4;
237pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5;
238pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6;
239pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7;
240pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7;
241pub const SQLITE_TESTCTRL_FIRST: i32 = 5;
242pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5;
243pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6;
244pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7;
245pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8;
246pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9;
247pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10;
248pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
249pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
250pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
251pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
252pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
253pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
254pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17;
255pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 18;
256pub const SQLITE_TESTCTRL_EXPLAIN_STMT: i32 = 19;
257pub const SQLITE_TESTCTRL_LAST: i32 = 19;
258pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
259pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
260pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
261pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3;
262pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4;
263pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5;
264pub const SQLITE_STATUS_PARSER_STACK: i32 = 6;
265pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7;
266pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8;
267pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9;
268pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0;
269pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1;
270pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2;
271pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3;
272pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4;
273pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5;
274pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6;
275pub const SQLITE_DBSTATUS_CACHE_HIT: i32 = 7;
276pub const SQLITE_DBSTATUS_CACHE_MISS: i32 = 8;
277pub const SQLITE_DBSTATUS_CACHE_WRITE: i32 = 9;
278pub const SQLITE_DBSTATUS_MAX: i32 = 9;
279pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1;
280pub const SQLITE_STMTSTATUS_SORT: i32 = 2;
281pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
282pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
283pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
284pub const SQLITE_CHECKPOINT_RESTART: i32 = 2;
285pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1;
286pub const SQLITE_ROLLBACK: i32 = 1;
287pub const SQLITE_FAIL: i32 = 3;
288pub const SQLITE_REPLACE: i32 = 5;
289pub type va_list = __builtin_va_list;
290pub type __gnuc_va_list = __builtin_va_list;
291extern "C" {
292 #[link_name = "sqlite3_version"]
293 pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize];
294}
295extern "C" {
296 pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char;
297}
298extern "C" {
299 pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char;
300}
301extern "C" {
302 pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int;
303}
304extern "C" {
305 pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char)
306 -> ::std::os::raw::c_int;
307}
308extern "C" {
309 pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int)
310 -> *const ::std::os::raw::c_char;
311}
312extern "C" {
313 pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int;
314}
315#[repr(C)]
316#[derive(Debug, Copy, Clone)]
317pub struct sqlite3([u8; 0]);
318pub type sqlite_int64 = ::std::os::raw::c_longlong;
319pub type sqlite_uint64 = ::std::os::raw::c_ulonglong;
320pub type sqlite3_int64 = sqlite_int64;
321pub type sqlite3_uint64 = sqlite_uint64;
322extern "C" {
323 pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
324}
325extern "C" {
326 pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
327}
328pub type sqlite3_callback =
329 ::std::option::Option<unsafe extern "C" fn(arg1:
330 *mut ::std::os::raw::c_void,
331 arg2: ::std::os::raw::c_int,
332 arg3:
333 *mut *mut ::std::os::raw::c_char,
334 arg4:
335 *mut *mut ::std::os::raw::c_char)
336 -> ::std::os::raw::c_int>;
337extern "C" {
338 pub fn sqlite3_exec(arg1: *mut sqlite3,
339 sql: *const ::std::os::raw::c_char,
340 callback:
341 ::std::option::Option<unsafe extern "C" fn(arg1:
342 *mut ::std::os::raw::c_void,
343 arg2:
344 ::std::os::raw::c_int,
345 arg3:
346 *mut *mut ::std::os::raw::c_char,
347 arg4:
348 *mut *mut ::std::os::raw::c_char)
349 ->
350 ::std::os::raw::c_int>,
351 arg2: *mut ::std::os::raw::c_void,
352 errmsg: *mut *mut ::std::os::raw::c_char)
353 -> ::std::os::raw::c_int;
354}
355#[repr(C)]
356#[derive(Debug, Copy)]
357pub struct sqlite3_file {
358 pub pMethods: *const sqlite3_file_sqlite3_io_methods,
359}
360#[repr(C)]
361#[derive(Debug, Copy)]
362pub struct sqlite3_file_sqlite3_io_methods {
363 pub iVersion: ::std::os::raw::c_int,
364 pub xClose: ::std::option::Option<unsafe extern "C" fn(arg1:
365 *mut sqlite3_file)
366 -> ::std::os::raw::c_int>,
367 pub xRead: ::std::option::Option<unsafe extern "C" fn(arg1:
368 *mut sqlite3_file,
369 arg2:
370 *mut ::std::os::raw::c_void,
371 iAmt:
372 ::std::os::raw::c_int,
373 iOfst:
374 sqlite3_int64)
375 -> ::std::os::raw::c_int>,
376 pub xWrite: ::std::option::Option<unsafe extern "C" fn(arg1:
377 *mut sqlite3_file,
378 arg2:
379 *const ::std::os::raw::c_void,
380 iAmt:
381 ::std::os::raw::c_int,
382 iOfst:
383 sqlite3_int64)
384 -> ::std::os::raw::c_int>,
385 pub xTruncate: ::std::option::Option<unsafe extern "C" fn(arg1:
386 *mut sqlite3_file,
387 size:
388 sqlite3_int64)
389 -> ::std::os::raw::c_int>,
390 pub xSync: ::std::option::Option<unsafe extern "C" fn(arg1:
391 *mut sqlite3_file,
392 flags:
393 ::std::os::raw::c_int)
394 -> ::std::os::raw::c_int>,
395 pub xFileSize: ::std::option::Option<unsafe extern "C" fn(arg1:
396 *mut sqlite3_file,
397 pSize:
398 *mut sqlite3_int64)
399 -> ::std::os::raw::c_int>,
400 pub xLock: ::std::option::Option<unsafe extern "C" fn(arg1:
401 *mut sqlite3_file,
402 arg2:
403 ::std::os::raw::c_int)
404 -> ::std::os::raw::c_int>,
405 pub xUnlock: ::std::option::Option<unsafe extern "C" fn(arg1:
406 *mut sqlite3_file,
407 arg2:
408 ::std::os::raw::c_int)
409 -> ::std::os::raw::c_int>,
410 pub xCheckReservedLock: ::std::option::Option<unsafe extern "C" fn(arg1:
411 *mut sqlite3_file,
412 pResOut:
413 *mut ::std::os::raw::c_int)
414 ->
415 ::std::os::raw::c_int>,
416 pub xFileControl: ::std::option::Option<unsafe extern "C" fn(arg1:
417 *mut sqlite3_file,
418 op:
419 ::std::os::raw::c_int,
420 pArg:
421 *mut ::std::os::raw::c_void)
422 -> ::std::os::raw::c_int>,
423 pub xSectorSize: ::std::option::Option<unsafe extern "C" fn(arg1:
424 *mut sqlite3_file)
425 -> ::std::os::raw::c_int>,
426 pub xDeviceCharacteristics: ::std::option::Option<unsafe extern "C" fn(arg1:
427 *mut sqlite3_file)
428 ->
429 ::std::os::raw::c_int>,
430 pub xShmMap: ::std::option::Option<unsafe extern "C" fn(arg1:
431 *mut sqlite3_file,
432 iPg:
433 ::std::os::raw::c_int,
434 pgsz:
435 ::std::os::raw::c_int,
436 arg2:
437 ::std::os::raw::c_int,
438 arg3:
439 *mut *mut ::std::os::raw::c_void)
440 -> ::std::os::raw::c_int>,
441 pub xShmLock: ::std::option::Option<unsafe extern "C" fn(arg1:
442 *mut sqlite3_file,
443 offset:
444 ::std::os::raw::c_int,
445 n:
446 ::std::os::raw::c_int,
447 flags:
448 ::std::os::raw::c_int)
449 -> ::std::os::raw::c_int>,
450 pub xShmBarrier: ::std::option::Option<unsafe extern "C" fn(arg1:
451 *mut sqlite3_file)>,
452 pub xShmUnmap: ::std::option::Option<unsafe extern "C" fn(arg1:
453 *mut sqlite3_file,
454 deleteFlag:
455 ::std::os::raw::c_int)
456 -> ::std::os::raw::c_int>,
457}
458#[test]
459fn bindgen_test_layout_sqlite3_file_sqlite3_io_methods() {
460 assert_eq!(::std::mem::size_of::<sqlite3_file_sqlite3_io_methods>() ,
461 136usize);
462 assert_eq!(::std::mem::align_of::<sqlite3_file_sqlite3_io_methods>() ,
463 8usize);
464}
465impl Clone for sqlite3_file_sqlite3_io_methods {
466 fn clone(&self) -> Self { *self }
467}
468#[test]
469fn bindgen_test_layout_sqlite3_file() {
470 assert_eq!(::std::mem::size_of::<sqlite3_file>() , 8usize);
471 assert_eq!(::std::mem::align_of::<sqlite3_file>() , 8usize);
472}
473impl Clone for sqlite3_file {
474 fn clone(&self) -> Self { *self }
475}
476pub type sqlite3_io_methods = sqlite3_file_sqlite3_io_methods;
477#[repr(C)]
478#[derive(Debug, Copy, Clone)]
479pub struct sqlite3_mutex([u8; 0]);
480#[repr(C)]
481#[derive(Debug, Copy)]
482pub struct sqlite3_vfs {
483 pub iVersion: ::std::os::raw::c_int,
484 pub szOsFile: ::std::os::raw::c_int,
485 pub mxPathname: ::std::os::raw::c_int,
486 pub pNext: *mut sqlite3_vfs,
487 pub zName: *const ::std::os::raw::c_char,
488 pub pAppData: *mut ::std::os::raw::c_void,
489 pub xOpen: ::std::option::Option<unsafe extern "C" fn(arg1:
490 *mut sqlite3_vfs,
491 zName:
492 *const ::std::os::raw::c_char,
493 arg2:
494 *mut sqlite3_file,
495 flags:
496 ::std::os::raw::c_int,
497 pOutFlags:
498 *mut ::std::os::raw::c_int)
499 -> ::std::os::raw::c_int>,
500 pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1:
501 *mut sqlite3_vfs,
502 zName:
503 *const ::std::os::raw::c_char,
504 syncDir:
505 ::std::os::raw::c_int)
506 -> ::std::os::raw::c_int>,
507 pub xAccess: ::std::option::Option<unsafe extern "C" fn(arg1:
508 *mut sqlite3_vfs,
509 zName:
510 *const ::std::os::raw::c_char,
511 flags:
512 ::std::os::raw::c_int,
513 pResOut:
514 *mut ::std::os::raw::c_int)
515 -> ::std::os::raw::c_int>,
516 pub xFullPathname: ::std::option::Option<unsafe extern "C" fn(arg1:
517 *mut sqlite3_vfs,
518 zName:
519 *const ::std::os::raw::c_char,
520 nOut:
521 ::std::os::raw::c_int,
522 zOut:
523 *mut ::std::os::raw::c_char)
524 -> ::std::os::raw::c_int>,
525 pub xDlOpen: ::std::option::Option<unsafe extern "C" fn(arg1:
526 *mut sqlite3_vfs,
527 zFilename:
528 *const ::std::os::raw::c_char)
529 -> *mut ::std::os::raw::c_void>,
530 pub xDlError: ::std::option::Option<unsafe extern "C" fn(arg1:
531 *mut sqlite3_vfs,
532 nByte:
533 ::std::os::raw::c_int,
534 zErrMsg:
535 *mut ::std::os::raw::c_char)>,
536 pub xDlSym: ::std::option::Option<unsafe extern "C" fn(arg1:
537 *mut sqlite3_vfs,
538 arg2:
539 *mut ::std::os::raw::c_void,
540 zSymbol:
541 *const ::std::os::raw::c_char)
542 ->
543 ::std::option::Option<unsafe extern "C" fn()>>,
544 pub xDlClose: ::std::option::Option<unsafe extern "C" fn(arg1:
545 *mut sqlite3_vfs,
546 arg2:
547 *mut ::std::os::raw::c_void)>,
548 pub xRandomness: ::std::option::Option<unsafe extern "C" fn(arg1:
549 *mut sqlite3_vfs,
550 nByte:
551 ::std::os::raw::c_int,
552 zOut:
553 *mut ::std::os::raw::c_char)
554 -> ::std::os::raw::c_int>,
555 pub xSleep: ::std::option::Option<unsafe extern "C" fn(arg1:
556 *mut sqlite3_vfs,
557 microseconds:
558 ::std::os::raw::c_int)
559 -> ::std::os::raw::c_int>,
560 pub xCurrentTime: ::std::option::Option<unsafe extern "C" fn(arg1:
561 *mut sqlite3_vfs,
562 arg2:
563 *mut f64)
564 -> ::std::os::raw::c_int>,
565 pub xGetLastError: ::std::option::Option<unsafe extern "C" fn(arg1:
566 *mut sqlite3_vfs,
567 arg2:
568 ::std::os::raw::c_int,
569 arg3:
570 *mut ::std::os::raw::c_char)
571 -> ::std::os::raw::c_int>,
572 pub xCurrentTimeInt64: ::std::option::Option<unsafe extern "C" fn(arg1:
573 *mut sqlite3_vfs,
574 arg2:
575 *mut sqlite3_int64)
576 ->
577 ::std::os::raw::c_int>,
578 pub xSetSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
579 *mut sqlite3_vfs,
580 zName:
581 *const ::std::os::raw::c_char,
582 arg2:
583 sqlite3_syscall_ptr)
584 -> ::std::os::raw::c_int>,
585 pub xGetSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
586 *mut sqlite3_vfs,
587 zName:
588 *const ::std::os::raw::c_char)
589 ->
590 ::std::option::Option<unsafe extern "C" fn()>>,
591 pub xNextSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
592 *mut sqlite3_vfs,
593 zName:
594 *const ::std::os::raw::c_char)
595 ->
596 *const ::std::os::raw::c_char>,
597}
598#[test]
599fn bindgen_test_layout_sqlite3_vfs() {
600 assert_eq!(::std::mem::size_of::<sqlite3_vfs>() , 168usize);
601 assert_eq!(::std::mem::align_of::<sqlite3_vfs>() , 8usize);
602}
603impl Clone for sqlite3_vfs {
604 fn clone(&self) -> Self { *self }
605}
606pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>;
607extern "C" {
608 pub fn sqlite3_initialize() -> ::std::os::raw::c_int;
609}
610extern "C" {
611 pub fn sqlite3_shutdown() -> ::std::os::raw::c_int;
612}
613extern "C" {
614 pub fn sqlite3_os_init() -> ::std::os::raw::c_int;
615}
616extern "C" {
617 pub fn sqlite3_os_end() -> ::std::os::raw::c_int;
618}
619extern "C" {
620 pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...)
621 -> ::std::os::raw::c_int;
622}
623extern "C" {
624 pub fn sqlite3_db_config(arg1: *mut sqlite3,
625 op: ::std::os::raw::c_int, ...)
626 -> ::std::os::raw::c_int;
627}
628#[repr(C)]
629#[derive(Debug, Copy)]
630pub struct sqlite3_mem_methods {
631 pub xMalloc: ::std::option::Option<unsafe extern "C" fn(arg1:
632 ::std::os::raw::c_int)
633 -> *mut ::std::os::raw::c_void>,
634 pub xFree: ::std::option::Option<unsafe extern "C" fn(arg1:
635 *mut ::std::os::raw::c_void)>,
636 pub xRealloc: ::std::option::Option<unsafe extern "C" fn(arg1:
637 *mut ::std::os::raw::c_void,
638 arg2:
639 ::std::os::raw::c_int)
640 -> *mut ::std::os::raw::c_void>,
641 pub xSize: ::std::option::Option<unsafe extern "C" fn(arg1:
642 *mut ::std::os::raw::c_void)
643 -> ::std::os::raw::c_int>,
644 pub xRoundup: ::std::option::Option<unsafe extern "C" fn(arg1:
645 ::std::os::raw::c_int)
646 -> ::std::os::raw::c_int>,
647 pub xInit: ::std::option::Option<unsafe extern "C" fn(arg1:
648 *mut ::std::os::raw::c_void)
649 -> ::std::os::raw::c_int>,
650 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1:
651 *mut ::std::os::raw::c_void)>,
652 pub pAppData: *mut ::std::os::raw::c_void,
653}
654#[test]
655fn bindgen_test_layout_sqlite3_mem_methods() {
656 assert_eq!(::std::mem::size_of::<sqlite3_mem_methods>() , 64usize);
657 assert_eq!(::std::mem::align_of::<sqlite3_mem_methods>() , 8usize);
658}
659impl Clone for sqlite3_mem_methods {
660 fn clone(&self) -> Self { *self }
661}
662extern "C" {
663 pub fn sqlite3_extended_result_codes(arg1: *mut sqlite3,
664 onoff: ::std::os::raw::c_int)
665 -> ::std::os::raw::c_int;
666}
667extern "C" {
668 pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64;
669}
670extern "C" {
671 pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
672}
673extern "C" {
674 pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
675}
676extern "C" {
677 pub fn sqlite3_interrupt(arg1: *mut sqlite3);
678}
679extern "C" {
680 pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char)
681 -> ::std::os::raw::c_int;
682}
683extern "C" {
684 pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void)
685 -> ::std::os::raw::c_int;
686}
687extern "C" {
688 pub fn sqlite3_busy_handler(arg1: *mut sqlite3,
689 arg2:
690 ::std::option::Option<unsafe extern "C" fn(arg1:
691 *mut ::std::os::raw::c_void,
692 arg2:
693 ::std::os::raw::c_int)
694 ->
695 ::std::os::raw::c_int>,
696 arg3: *mut ::std::os::raw::c_void)
697 -> ::std::os::raw::c_int;
698}
699extern "C" {
700 pub fn sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int)
701 -> ::std::os::raw::c_int;
702}
703extern "C" {
704 pub fn sqlite3_get_table(db: *mut sqlite3,
705 zSql: *const ::std::os::raw::c_char,
706 pazResult: *mut *mut *mut ::std::os::raw::c_char,
707 pnRow: *mut ::std::os::raw::c_int,
708 pnColumn: *mut ::std::os::raw::c_int,
709 pzErrmsg: *mut *mut ::std::os::raw::c_char)
710 -> ::std::os::raw::c_int;
711}
712extern "C" {
713 pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char);
714}
715extern "C" {
716 pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...)
717 -> *mut ::std::os::raw::c_char;
718}
719extern "C" {
720 pub fn sqlite3_vmprintf(arg1: *const ::std::os::raw::c_char,
721 arg2: *mut __va_list_tag)
722 -> *mut ::std::os::raw::c_char;
723}
724extern "C" {
725 pub fn sqlite3_snprintf(arg1: ::std::os::raw::c_int,
726 arg2: *mut ::std::os::raw::c_char,
727 arg3: *const ::std::os::raw::c_char, ...)
728 -> *mut ::std::os::raw::c_char;
729}
730extern "C" {
731 pub fn sqlite3_vsnprintf(arg1: ::std::os::raw::c_int,
732 arg2: *mut ::std::os::raw::c_char,
733 arg3: *const ::std::os::raw::c_char,
734 arg4: *mut __va_list_tag)
735 -> *mut ::std::os::raw::c_char;
736}
737extern "C" {
738 pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int)
739 -> *mut ::std::os::raw::c_void;
740}
741extern "C" {
742 pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void,
743 arg2: ::std::os::raw::c_int)
744 -> *mut ::std::os::raw::c_void;
745}
746extern "C" {
747 pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void);
748}
749extern "C" {
750 pub fn sqlite3_memory_used() -> sqlite3_int64;
751}
752extern "C" {
753 pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int)
754 -> sqlite3_int64;
755}
756extern "C" {
757 pub fn sqlite3_randomness(N: ::std::os::raw::c_int,
758 P: *mut ::std::os::raw::c_void);
759}
760extern "C" {
761 pub fn sqlite3_set_authorizer(arg1: *mut sqlite3,
762 xAuth:
763 ::std::option::Option<unsafe extern "C" fn(arg1:
764 *mut ::std::os::raw::c_void,
765 arg2:
766 ::std::os::raw::c_int,
767 arg3:
768 *const ::std::os::raw::c_char,
769 arg4:
770 *const ::std::os::raw::c_char,
771 arg5:
772 *const ::std::os::raw::c_char,
773 arg6:
774 *const ::std::os::raw::c_char)
775 ->
776 ::std::os::raw::c_int>,
777 pUserData: *mut ::std::os::raw::c_void)
778 -> ::std::os::raw::c_int;
779}
780extern "C" {
781 pub fn sqlite3_trace(arg1: *mut sqlite3,
782 xTrace:
783 ::std::option::Option<unsafe extern "C" fn(arg1:
784 *mut ::std::os::raw::c_void,
785 arg2:
786 *const ::std::os::raw::c_char)>,
787 arg2: *mut ::std::os::raw::c_void)
788 -> *mut ::std::os::raw::c_void;
789}
790extern "C" {
791 pub fn sqlite3_profile(arg1: *mut sqlite3,
792 xProfile:
793 ::std::option::Option<unsafe extern "C" fn(arg1:
794 *mut ::std::os::raw::c_void,
795 arg2:
796 *const ::std::os::raw::c_char,
797 arg3:
798 sqlite3_uint64)>,
799 arg2: *mut ::std::os::raw::c_void)
800 -> *mut ::std::os::raw::c_void;
801}
802extern "C" {
803 pub fn sqlite3_progress_handler(arg1: *mut sqlite3,
804 arg2: ::std::os::raw::c_int,
805 arg3:
806 ::std::option::Option<unsafe extern "C" fn(arg1:
807 *mut ::std::os::raw::c_void)
808 ->
809 ::std::os::raw::c_int>,
810 arg4: *mut ::std::os::raw::c_void);
811}
812extern "C" {
813 pub fn sqlite3_open(filename: *const ::std::os::raw::c_char,
814 ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
815}
816extern "C" {
817 pub fn sqlite3_open16(filename: *const ::std::os::raw::c_void,
818 ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
819}
820extern "C" {
821 pub fn sqlite3_open_v2(filename: *const ::std::os::raw::c_char,
822 ppDb: *mut *mut sqlite3,
823 flags: ::std::os::raw::c_int,
824 zVfs: *const ::std::os::raw::c_char)
825 -> ::std::os::raw::c_int;
826}
827extern "C" {
828 pub fn sqlite3_uri_parameter(zFilename: *const ::std::os::raw::c_char,
829 zParam: *const ::std::os::raw::c_char)
830 -> *const ::std::os::raw::c_char;
831}
832extern "C" {
833 pub fn sqlite3_uri_boolean(zFile: *const ::std::os::raw::c_char,
834 zParam: *const ::std::os::raw::c_char,
835 bDefault: ::std::os::raw::c_int)
836 -> ::std::os::raw::c_int;
837}
838extern "C" {
839 pub fn sqlite3_uri_int64(arg1: *const ::std::os::raw::c_char,
840 arg2: *const ::std::os::raw::c_char,
841 arg3: sqlite3_int64) -> sqlite3_int64;
842}
843extern "C" {
844 pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int;
845}
846extern "C" {
847 pub fn sqlite3_extended_errcode(db: *mut sqlite3)
848 -> ::std::os::raw::c_int;
849}
850extern "C" {
851 pub fn sqlite3_errmsg(arg1: *mut sqlite3)
852 -> *const ::std::os::raw::c_char;
853}
854extern "C" {
855 pub fn sqlite3_errmsg16(arg1: *mut sqlite3)
856 -> *const ::std::os::raw::c_void;
857}
858extern "C" {
859 pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int)
860 -> *const ::std::os::raw::c_char;
861}
862#[repr(C)]
863#[derive(Debug, Copy, Clone)]
864pub struct sqlite3_stmt([u8; 0]);
865extern "C" {
866 pub fn sqlite3_limit(arg1: *mut sqlite3, id: ::std::os::raw::c_int,
867 newVal: ::std::os::raw::c_int)
868 -> ::std::os::raw::c_int;
869}
870extern "C" {
871 pub fn sqlite3_prepare(db: *mut sqlite3,
872 zSql: *const ::std::os::raw::c_char,
873 nByte: ::std::os::raw::c_int,
874 ppStmt: *mut *mut sqlite3_stmt,
875 pzTail: *mut *const ::std::os::raw::c_char)
876 -> ::std::os::raw::c_int;
877}
878extern "C" {
879 pub fn sqlite3_prepare_v2(db: *mut sqlite3,
880 zSql: *const ::std::os::raw::c_char,
881 nByte: ::std::os::raw::c_int,
882 ppStmt: *mut *mut sqlite3_stmt,
883 pzTail: *mut *const ::std::os::raw::c_char)
884 -> ::std::os::raw::c_int;
885}
886extern "C" {
887 pub fn sqlite3_prepare16(db: *mut sqlite3,
888 zSql: *const ::std::os::raw::c_void,
889 nByte: ::std::os::raw::c_int,
890 ppStmt: *mut *mut sqlite3_stmt,
891 pzTail: *mut *const ::std::os::raw::c_void)
892 -> ::std::os::raw::c_int;
893}
894extern "C" {
895 pub fn sqlite3_prepare16_v2(db: *mut sqlite3,
896 zSql: *const ::std::os::raw::c_void,
897 nByte: ::std::os::raw::c_int,
898 ppStmt: *mut *mut sqlite3_stmt,
899 pzTail: *mut *const ::std::os::raw::c_void)
900 -> ::std::os::raw::c_int;
901}
902extern "C" {
903 pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt)
904 -> *const ::std::os::raw::c_char;
905}
906extern "C" {
907 pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt)
908 -> ::std::os::raw::c_int;
909}
910extern "C" {
911 pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt)
912 -> ::std::os::raw::c_int;
913}
914#[repr(C)]
915#[derive(Debug, Copy, Clone)]
916pub struct Mem([u8; 0]);
917pub type sqlite3_value = Mem;
918#[repr(C)]
919#[derive(Debug, Copy, Clone)]
920pub struct sqlite3_context([u8; 0]);
921extern "C" {
922 pub fn sqlite3_bind_blob(arg1: *mut sqlite3_stmt,
923 arg2: ::std::os::raw::c_int,
924 arg3: *const ::std::os::raw::c_void,
925 n: ::std::os::raw::c_int,
926 arg4:
927 ::std::option::Option<unsafe extern "C" fn(arg1:
928 *mut ::std::os::raw::c_void)>)
929 -> ::std::os::raw::c_int;
930}
931extern "C" {
932 pub fn sqlite3_bind_double(arg1: *mut sqlite3_stmt,
933 arg2: ::std::os::raw::c_int, arg3: f64)
934 -> ::std::os::raw::c_int;
935}
936extern "C" {
937 pub fn sqlite3_bind_int(arg1: *mut sqlite3_stmt,
938 arg2: ::std::os::raw::c_int,
939 arg3: ::std::os::raw::c_int)
940 -> ::std::os::raw::c_int;
941}
942extern "C" {
943 pub fn sqlite3_bind_int64(arg1: *mut sqlite3_stmt,
944 arg2: ::std::os::raw::c_int,
945 arg3: sqlite3_int64) -> ::std::os::raw::c_int;
946}
947extern "C" {
948 pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt,
949 arg2: ::std::os::raw::c_int)
950 -> ::std::os::raw::c_int;
951}
952extern "C" {
953 pub fn sqlite3_bind_text(arg1: *mut sqlite3_stmt,
954 arg2: ::std::os::raw::c_int,
955 arg3: *const ::std::os::raw::c_char,
956 n: ::std::os::raw::c_int,
957 arg4:
958 ::std::option::Option<unsafe extern "C" fn(arg1:
959 *mut ::std::os::raw::c_void)>)
960 -> ::std::os::raw::c_int;
961}
962extern "C" {
963 pub fn sqlite3_bind_text16(arg1: *mut sqlite3_stmt,
964 arg2: ::std::os::raw::c_int,
965 arg3: *const ::std::os::raw::c_void,
966 arg4: ::std::os::raw::c_int,
967 arg5:
968 ::std::option::Option<unsafe extern "C" fn(arg1:
969 *mut ::std::os::raw::c_void)>)
970 -> ::std::os::raw::c_int;
971}
972extern "C" {
973 pub fn sqlite3_bind_value(arg1: *mut sqlite3_stmt,
974 arg2: ::std::os::raw::c_int,
975 arg3: *const sqlite3_value)
976 -> ::std::os::raw::c_int;
977}
978extern "C" {
979 pub fn sqlite3_bind_zeroblob(arg1: *mut sqlite3_stmt,
980 arg2: ::std::os::raw::c_int,
981 n: ::std::os::raw::c_int)
982 -> ::std::os::raw::c_int;
983}
984extern "C" {
985 pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt)
986 -> ::std::os::raw::c_int;
987}
988extern "C" {
989 pub fn sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt,
990 arg2: ::std::os::raw::c_int)
991 -> *const ::std::os::raw::c_char;
992}
993extern "C" {
994 pub fn sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt,
995 zName: *const ::std::os::raw::c_char)
996 -> ::std::os::raw::c_int;
997}
998extern "C" {
999 pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt)
1000 -> ::std::os::raw::c_int;
1001}
1002extern "C" {
1003 pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt)
1004 -> ::std::os::raw::c_int;
1005}
1006extern "C" {
1007 pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt,
1008 N: ::std::os::raw::c_int)
1009 -> *const ::std::os::raw::c_char;
1010}
1011extern "C" {
1012 pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt,
1013 N: ::std::os::raw::c_int)
1014 -> *const ::std::os::raw::c_void;
1015}
1016extern "C" {
1017 pub fn sqlite3_column_database_name(arg1: *mut sqlite3_stmt,
1018 arg2: ::std::os::raw::c_int)
1019 -> *const ::std::os::raw::c_char;
1020}
1021extern "C" {
1022 pub fn sqlite3_column_database_name16(arg1: *mut sqlite3_stmt,
1023 arg2: ::std::os::raw::c_int)
1024 -> *const ::std::os::raw::c_void;
1025}
1026extern "C" {
1027 pub fn sqlite3_column_table_name(arg1: *mut sqlite3_stmt,
1028 arg2: ::std::os::raw::c_int)
1029 -> *const ::std::os::raw::c_char;
1030}
1031extern "C" {
1032 pub fn sqlite3_column_table_name16(arg1: *mut sqlite3_stmt,
1033 arg2: ::std::os::raw::c_int)
1034 -> *const ::std::os::raw::c_void;
1035}
1036extern "C" {
1037 pub fn sqlite3_column_origin_name(arg1: *mut sqlite3_stmt,
1038 arg2: ::std::os::raw::c_int)
1039 -> *const ::std::os::raw::c_char;
1040}
1041extern "C" {
1042 pub fn sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt,
1043 arg2: ::std::os::raw::c_int)
1044 -> *const ::std::os::raw::c_void;
1045}
1046extern "C" {
1047 pub fn sqlite3_column_decltype(arg1: *mut sqlite3_stmt,
1048 arg2: ::std::os::raw::c_int)
1049 -> *const ::std::os::raw::c_char;
1050}
1051extern "C" {
1052 pub fn sqlite3_column_decltype16(arg1: *mut sqlite3_stmt,
1053 arg2: ::std::os::raw::c_int)
1054 -> *const ::std::os::raw::c_void;
1055}
1056extern "C" {
1057 pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1058}
1059extern "C" {
1060 pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt)
1061 -> ::std::os::raw::c_int;
1062}
1063extern "C" {
1064 pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt,
1065 iCol: ::std::os::raw::c_int)
1066 -> *const ::std::os::raw::c_void;
1067}
1068extern "C" {
1069 pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt,
1070 iCol: ::std::os::raw::c_int)
1071 -> ::std::os::raw::c_int;
1072}
1073extern "C" {
1074 pub fn sqlite3_column_bytes16(arg1: *mut sqlite3_stmt,
1075 iCol: ::std::os::raw::c_int)
1076 -> ::std::os::raw::c_int;
1077}
1078extern "C" {
1079 pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt,
1080 iCol: ::std::os::raw::c_int) -> f64;
1081}
1082extern "C" {
1083 pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt,
1084 iCol: ::std::os::raw::c_int)
1085 -> ::std::os::raw::c_int;
1086}
1087extern "C" {
1088 pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt,
1089 iCol: ::std::os::raw::c_int) -> sqlite3_int64;
1090}
1091extern "C" {
1092 pub fn sqlite3_column_text(arg1: *mut sqlite3_stmt,
1093 iCol: ::std::os::raw::c_int)
1094 -> *const ::std::os::raw::c_uchar;
1095}
1096extern "C" {
1097 pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt,
1098 iCol: ::std::os::raw::c_int)
1099 -> *const ::std::os::raw::c_void;
1100}
1101extern "C" {
1102 pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt,
1103 iCol: ::std::os::raw::c_int)
1104 -> ::std::os::raw::c_int;
1105}
1106extern "C" {
1107 pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt,
1108 iCol: ::std::os::raw::c_int)
1109 -> *mut sqlite3_value;
1110}
1111extern "C" {
1112 pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt)
1113 -> ::std::os::raw::c_int;
1114}
1115extern "C" {
1116 pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1117}
1118extern "C" {
1119 pub fn sqlite3_create_function(db: *mut sqlite3,
1120 zFunctionName:
1121 *const ::std::os::raw::c_char,
1122 nArg: ::std::os::raw::c_int,
1123 eTextRep: ::std::os::raw::c_int,
1124 pApp: *mut ::std::os::raw::c_void,
1125 xFunc:
1126 ::std::option::Option<unsafe extern "C" fn(arg1:
1127 *mut sqlite3_context,
1128 arg2:
1129 ::std::os::raw::c_int,
1130 arg3:
1131 *mut *mut sqlite3_value)>,
1132 xStep:
1133 ::std::option::Option<unsafe extern "C" fn(arg1:
1134 *mut sqlite3_context,
1135 arg2:
1136 ::std::os::raw::c_int,
1137 arg3:
1138 *mut *mut sqlite3_value)>,
1139 xFinal:
1140 ::std::option::Option<unsafe extern "C" fn(arg1:
1141 *mut sqlite3_context)>)
1142 -> ::std::os::raw::c_int;
1143}
1144extern "C" {
1145 pub fn sqlite3_create_function16(db: *mut sqlite3,
1146 zFunctionName:
1147 *const ::std::os::raw::c_void,
1148 nArg: ::std::os::raw::c_int,
1149 eTextRep: ::std::os::raw::c_int,
1150 pApp: *mut ::std::os::raw::c_void,
1151 xFunc:
1152 ::std::option::Option<unsafe extern "C" fn(arg1:
1153 *mut sqlite3_context,
1154 arg2:
1155 ::std::os::raw::c_int,
1156 arg3:
1157 *mut *mut sqlite3_value)>,
1158 xStep:
1159 ::std::option::Option<unsafe extern "C" fn(arg1:
1160 *mut sqlite3_context,
1161 arg2:
1162 ::std::os::raw::c_int,
1163 arg3:
1164 *mut *mut sqlite3_value)>,
1165 xFinal:
1166 ::std::option::Option<unsafe extern "C" fn(arg1:
1167 *mut sqlite3_context)>)
1168 -> ::std::os::raw::c_int;
1169}
1170extern "C" {
1171 pub fn sqlite3_create_function_v2(db: *mut sqlite3,
1172 zFunctionName:
1173 *const ::std::os::raw::c_char,
1174 nArg: ::std::os::raw::c_int,
1175 eTextRep: ::std::os::raw::c_int,
1176 pApp: *mut ::std::os::raw::c_void,
1177 xFunc:
1178 ::std::option::Option<unsafe extern "C" fn(arg1:
1179 *mut sqlite3_context,
1180 arg2:
1181 ::std::os::raw::c_int,
1182 arg3:
1183 *mut *mut sqlite3_value)>,
1184 xStep:
1185 ::std::option::Option<unsafe extern "C" fn(arg1:
1186 *mut sqlite3_context,
1187 arg2:
1188 ::std::os::raw::c_int,
1189 arg3:
1190 *mut *mut sqlite3_value)>,
1191 xFinal:
1192 ::std::option::Option<unsafe extern "C" fn(arg1:
1193 *mut sqlite3_context)>,
1194 xDestroy:
1195 ::std::option::Option<unsafe extern "C" fn(arg1:
1196 *mut ::std::os::raw::c_void)>)
1197 -> ::std::os::raw::c_int;
1198}
1199extern "C" {
1200 pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context)
1201 -> ::std::os::raw::c_int;
1202}
1203extern "C" {
1204 pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1205}
1206extern "C" {
1207 pub fn sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt,
1208 arg2: *mut sqlite3_stmt)
1209 -> ::std::os::raw::c_int;
1210}
1211extern "C" {
1212 pub fn sqlite3_global_recover() -> ::std::os::raw::c_int;
1213}
1214extern "C" {
1215 pub fn sqlite3_thread_cleanup();
1216}
1217extern "C" {
1218 pub fn sqlite3_memory_alarm(arg1:
1219 ::std::option::Option<unsafe extern "C" fn(arg1:
1220 *mut ::std::os::raw::c_void,
1221 arg2:
1222 sqlite3_int64,
1223 arg3:
1224 ::std::os::raw::c_int)>,
1225 arg2: *mut ::std::os::raw::c_void,
1226 arg3: sqlite3_int64) -> ::std::os::raw::c_int;
1227}
1228extern "C" {
1229 pub fn sqlite3_value_blob(arg1: *mut sqlite3_value)
1230 -> *const ::std::os::raw::c_void;
1231}
1232extern "C" {
1233 pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value)
1234 -> ::std::os::raw::c_int;
1235}
1236extern "C" {
1237 pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value)
1238 -> ::std::os::raw::c_int;
1239}
1240extern "C" {
1241 pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64;
1242}
1243extern "C" {
1244 pub fn sqlite3_value_int(arg1: *mut sqlite3_value)
1245 -> ::std::os::raw::c_int;
1246}
1247extern "C" {
1248 pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64;
1249}
1250extern "C" {
1251 pub fn sqlite3_value_text(arg1: *mut sqlite3_value)
1252 -> *const ::std::os::raw::c_uchar;
1253}
1254extern "C" {
1255 pub fn sqlite3_value_text16(arg1: *mut sqlite3_value)
1256 -> *const ::std::os::raw::c_void;
1257}
1258extern "C" {
1259 pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value)
1260 -> *const ::std::os::raw::c_void;
1261}
1262extern "C" {
1263 pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value)
1264 -> *const ::std::os::raw::c_void;
1265}
1266extern "C" {
1267 pub fn sqlite3_value_type(arg1: *mut sqlite3_value)
1268 -> ::std::os::raw::c_int;
1269}
1270extern "C" {
1271 pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value)
1272 -> ::std::os::raw::c_int;
1273}
1274extern "C" {
1275 pub fn sqlite3_aggregate_context(arg1: *mut sqlite3_context,
1276 nBytes: ::std::os::raw::c_int)
1277 -> *mut ::std::os::raw::c_void;
1278}
1279extern "C" {
1280 pub fn sqlite3_user_data(arg1: *mut sqlite3_context)
1281 -> *mut ::std::os::raw::c_void;
1282}
1283extern "C" {
1284 pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context)
1285 -> *mut sqlite3;
1286}
1287extern "C" {
1288 pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context,
1289 N: ::std::os::raw::c_int)
1290 -> *mut ::std::os::raw::c_void;
1291}
1292extern "C" {
1293 pub fn sqlite3_set_auxdata(arg1: *mut sqlite3_context,
1294 N: ::std::os::raw::c_int,
1295 arg2: *mut ::std::os::raw::c_void,
1296 arg3:
1297 ::std::option::Option<unsafe extern "C" fn(arg1:
1298 *mut ::std::os::raw::c_void)>);
1299}
1300pub type sqlite3_destructor_type =
1301 ::std::option::Option<unsafe extern "C" fn(arg1:
1302 *mut ::std::os::raw::c_void)>;
1303extern "C" {
1304 pub fn sqlite3_result_blob(arg1: *mut sqlite3_context,
1305 arg2: *const ::std::os::raw::c_void,
1306 arg3: ::std::os::raw::c_int,
1307 arg4:
1308 ::std::option::Option<unsafe extern "C" fn(arg1:
1309 *mut ::std::os::raw::c_void)>);
1310}
1311extern "C" {
1312 pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64);
1313}
1314extern "C" {
1315 pub fn sqlite3_result_error(arg1: *mut sqlite3_context,
1316 arg2: *const ::std::os::raw::c_char,
1317 arg3: ::std::os::raw::c_int);
1318}
1319extern "C" {
1320 pub fn sqlite3_result_error16(arg1: *mut sqlite3_context,
1321 arg2: *const ::std::os::raw::c_void,
1322 arg3: ::std::os::raw::c_int);
1323}
1324extern "C" {
1325 pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context);
1326}
1327extern "C" {
1328 pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context);
1329}
1330extern "C" {
1331 pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context,
1332 arg2: ::std::os::raw::c_int);
1333}
1334extern "C" {
1335 pub fn sqlite3_result_int(arg1: *mut sqlite3_context,
1336 arg2: ::std::os::raw::c_int);
1337}
1338extern "C" {
1339 pub fn sqlite3_result_int64(arg1: *mut sqlite3_context,
1340 arg2: sqlite3_int64);
1341}
1342extern "C" {
1343 pub fn sqlite3_result_null(arg1: *mut sqlite3_context);
1344}
1345extern "C" {
1346 pub fn sqlite3_result_text(arg1: *mut sqlite3_context,
1347 arg2: *const ::std::os::raw::c_char,
1348 arg3: ::std::os::raw::c_int,
1349 arg4:
1350 ::std::option::Option<unsafe extern "C" fn(arg1:
1351 *mut ::std::os::raw::c_void)>);
1352}
1353extern "C" {
1354 pub fn sqlite3_result_text16(arg1: *mut sqlite3_context,
1355 arg2: *const ::std::os::raw::c_void,
1356 arg3: ::std::os::raw::c_int,
1357 arg4:
1358 ::std::option::Option<unsafe extern "C" fn(arg1:
1359 *mut ::std::os::raw::c_void)>);
1360}
1361extern "C" {
1362 pub fn sqlite3_result_text16le(arg1: *mut sqlite3_context,
1363 arg2: *const ::std::os::raw::c_void,
1364 arg3: ::std::os::raw::c_int,
1365 arg4:
1366 ::std::option::Option<unsafe extern "C" fn(arg1:
1367 *mut ::std::os::raw::c_void)>);
1368}
1369extern "C" {
1370 pub fn sqlite3_result_text16be(arg1: *mut sqlite3_context,
1371 arg2: *const ::std::os::raw::c_void,
1372 arg3: ::std::os::raw::c_int,
1373 arg4:
1374 ::std::option::Option<unsafe extern "C" fn(arg1:
1375 *mut ::std::os::raw::c_void)>);
1376}
1377extern "C" {
1378 pub fn sqlite3_result_value(arg1: *mut sqlite3_context,
1379 arg2: *mut sqlite3_value);
1380}
1381extern "C" {
1382 pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context,
1383 n: ::std::os::raw::c_int);
1384}
1385extern "C" {
1386 pub fn sqlite3_create_collation(arg1: *mut sqlite3,
1387 zName: *const ::std::os::raw::c_char,
1388 eTextRep: ::std::os::raw::c_int,
1389 pArg: *mut ::std::os::raw::c_void,
1390 xCompare:
1391 ::std::option::Option<unsafe extern "C" fn(arg1:
1392 *mut ::std::os::raw::c_void,
1393 arg2:
1394 ::std::os::raw::c_int,
1395 arg3:
1396 *const ::std::os::raw::c_void,
1397 arg4:
1398 ::std::os::raw::c_int,
1399 arg5:
1400 *const ::std::os::raw::c_void)
1401 ->
1402 ::std::os::raw::c_int>)
1403 -> ::std::os::raw::c_int;
1404}
1405extern "C" {
1406 pub fn sqlite3_create_collation_v2(arg1: *mut sqlite3,
1407 zName: *const ::std::os::raw::c_char,
1408 eTextRep: ::std::os::raw::c_int,
1409 pArg: *mut ::std::os::raw::c_void,
1410 xCompare:
1411 ::std::option::Option<unsafe extern "C" fn(arg1:
1412 *mut ::std::os::raw::c_void,
1413 arg2:
1414 ::std::os::raw::c_int,
1415 arg3:
1416 *const ::std::os::raw::c_void,
1417 arg4:
1418 ::std::os::raw::c_int,
1419 arg5:
1420 *const ::std::os::raw::c_void)
1421 ->
1422 ::std::os::raw::c_int>,
1423 xDestroy:
1424 ::std::option::Option<unsafe extern "C" fn(arg1:
1425 *mut ::std::os::raw::c_void)>)
1426 -> ::std::os::raw::c_int;
1427}
1428extern "C" {
1429 pub fn sqlite3_create_collation16(arg1: *mut sqlite3,
1430 zName: *const ::std::os::raw::c_void,
1431 eTextRep: ::std::os::raw::c_int,
1432 pArg: *mut ::std::os::raw::c_void,
1433 xCompare:
1434 ::std::option::Option<unsafe extern "C" fn(arg1:
1435 *mut ::std::os::raw::c_void,
1436 arg2:
1437 ::std::os::raw::c_int,
1438 arg3:
1439 *const ::std::os::raw::c_void,
1440 arg4:
1441 ::std::os::raw::c_int,
1442 arg5:
1443 *const ::std::os::raw::c_void)
1444 ->
1445 ::std::os::raw::c_int>)
1446 -> ::std::os::raw::c_int;
1447}
1448extern "C" {
1449 pub fn sqlite3_collation_needed(arg1: *mut sqlite3,
1450 arg2: *mut ::std::os::raw::c_void,
1451 arg3:
1452 ::std::option::Option<unsafe extern "C" fn(arg1:
1453 *mut ::std::os::raw::c_void,
1454 arg2:
1455 *mut sqlite3,
1456 eTextRep:
1457 ::std::os::raw::c_int,
1458 arg3:
1459 *const ::std::os::raw::c_char)>)
1460 -> ::std::os::raw::c_int;
1461}
1462extern "C" {
1463 pub fn sqlite3_collation_needed16(arg1: *mut sqlite3,
1464 arg2: *mut ::std::os::raw::c_void,
1465 arg3:
1466 ::std::option::Option<unsafe extern "C" fn(arg1:
1467 *mut ::std::os::raw::c_void,
1468 arg2:
1469 *mut sqlite3,
1470 eTextRep:
1471 ::std::os::raw::c_int,
1472 arg3:
1473 *const ::std::os::raw::c_void)>)
1474 -> ::std::os::raw::c_int;
1475}
1476extern "C" {
1477 pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int)
1478 -> ::std::os::raw::c_int;
1479}
1480extern "C" {
1481 #[link_name = "sqlite3_temp_directory"]
1482 pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char;
1483}
1484extern "C" {
1485 #[link_name = "sqlite3_data_directory"]
1486 pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char;
1487}
1488extern "C" {
1489 pub fn sqlite3_get_autocommit(arg1: *mut sqlite3)
1490 -> ::std::os::raw::c_int;
1491}
1492extern "C" {
1493 pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3;
1494}
1495extern "C" {
1496 pub fn sqlite3_db_filename(db: *mut sqlite3,
1497 zDbName: *const ::std::os::raw::c_char)
1498 -> *const ::std::os::raw::c_char;
1499}
1500extern "C" {
1501 pub fn sqlite3_db_readonly(db: *mut sqlite3,
1502 zDbName: *const ::std::os::raw::c_char)
1503 -> ::std::os::raw::c_int;
1504}
1505extern "C" {
1506 pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt)
1507 -> *mut sqlite3_stmt;
1508}
1509extern "C" {
1510 pub fn sqlite3_commit_hook(arg1: *mut sqlite3,
1511 arg2:
1512 ::std::option::Option<unsafe extern "C" fn(arg1:
1513 *mut ::std::os::raw::c_void)
1514 ->
1515 ::std::os::raw::c_int>,
1516 arg3: *mut ::std::os::raw::c_void)
1517 -> *mut ::std::os::raw::c_void;
1518}
1519extern "C" {
1520 pub fn sqlite3_rollback_hook(arg1: *mut sqlite3,
1521 arg2:
1522 ::std::option::Option<unsafe extern "C" fn(arg1:
1523 *mut ::std::os::raw::c_void)>,
1524 arg3: *mut ::std::os::raw::c_void)
1525 -> *mut ::std::os::raw::c_void;
1526}
1527extern "C" {
1528 pub fn sqlite3_update_hook(arg1: *mut sqlite3,
1529 arg2:
1530 ::std::option::Option<unsafe extern "C" fn(arg1:
1531 *mut ::std::os::raw::c_void,
1532 arg2:
1533 ::std::os::raw::c_int,
1534 arg3:
1535 *const ::std::os::raw::c_char,
1536 arg4:
1537 *const ::std::os::raw::c_char,
1538 arg5:
1539 sqlite3_int64)>,
1540 arg3: *mut ::std::os::raw::c_void)
1541 -> *mut ::std::os::raw::c_void;
1542}
1543extern "C" {
1544 pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int)
1545 -> ::std::os::raw::c_int;
1546}
1547extern "C" {
1548 pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int)
1549 -> ::std::os::raw::c_int;
1550}
1551extern "C" {
1552 pub fn sqlite3_db_release_memory(arg1: *mut sqlite3)
1553 -> ::std::os::raw::c_int;
1554}
1555extern "C" {
1556 pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64;
1557}
1558extern "C" {
1559 pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int);
1560}
1561extern "C" {
1562 pub fn sqlite3_table_column_metadata(db: *mut sqlite3,
1563 zDbName:
1564 *const ::std::os::raw::c_char,
1565 zTableName:
1566 *const ::std::os::raw::c_char,
1567 zColumnName:
1568 *const ::std::os::raw::c_char,
1569 pzDataType:
1570 *mut *const ::std::os::raw::c_char,
1571 pzCollSeq:
1572 *mut *const ::std::os::raw::c_char,
1573 pNotNull: *mut ::std::os::raw::c_int,
1574 pPrimaryKey:
1575 *mut ::std::os::raw::c_int,
1576 pAutoinc: *mut ::std::os::raw::c_int)
1577 -> ::std::os::raw::c_int;
1578}
1579extern "C" {
1580 pub fn sqlite3_load_extension(db: *mut sqlite3,
1581 zFile: *const ::std::os::raw::c_char,
1582 zProc: *const ::std::os::raw::c_char,
1583 pzErrMsg: *mut *mut ::std::os::raw::c_char)
1584 -> ::std::os::raw::c_int;
1585}
1586extern "C" {
1587 pub fn sqlite3_enable_load_extension(db: *mut sqlite3,
1588 onoff: ::std::os::raw::c_int)
1589 -> ::std::os::raw::c_int;
1590}
1591extern "C" {
1592 pub fn sqlite3_auto_extension(xEntryPoint:
1593 ::std::option::Option<unsafe extern "C" fn()>)
1594 -> ::std::os::raw::c_int;
1595}
1596extern "C" {
1597 pub fn sqlite3_reset_auto_extension();
1598}
1599#[repr(C)]
1600#[derive(Debug, Copy)]
1601pub struct sqlite3_vtab {
1602 pub pModule: *const sqlite3_module,
1603 pub nRef: ::std::os::raw::c_int,
1604 pub zErrMsg: *mut ::std::os::raw::c_char,
1605}
1606#[test]
1607fn bindgen_test_layout_sqlite3_vtab() {
1608 assert_eq!(::std::mem::size_of::<sqlite3_vtab>() , 24usize);
1609 assert_eq!(::std::mem::align_of::<sqlite3_vtab>() , 8usize);
1610}
1611impl Clone for sqlite3_vtab {
1612 fn clone(&self) -> Self { *self }
1613}
1614#[repr(C)]
1615#[derive(Debug, Copy)]
1616pub struct sqlite3_index_info {
1617 pub nConstraint: ::std::os::raw::c_int,
1618 pub aConstraint: *mut sqlite3_index_info_sqlite3_index_constraint,
1619 pub nOrderBy: ::std::os::raw::c_int,
1620 pub aOrderBy: *mut sqlite3_index_info_sqlite3_index_orderby,
1621 pub aConstraintUsage: *mut sqlite3_index_info_sqlite3_index_constraint_usage,
1622 pub idxNum: ::std::os::raw::c_int,
1623 pub idxStr: *mut ::std::os::raw::c_char,
1624 pub needToFreeIdxStr: ::std::os::raw::c_int,
1625 pub orderByConsumed: ::std::os::raw::c_int,
1626 pub estimatedCost: f64,
1627}
1628#[repr(C)]
1629#[derive(Debug, Copy)]
1630pub struct sqlite3_index_info_sqlite3_index_constraint {
1631 pub iColumn: ::std::os::raw::c_int,
1632 pub op: ::std::os::raw::c_uchar,
1633 pub usable: ::std::os::raw::c_uchar,
1634 pub iTermOffset: ::std::os::raw::c_int,
1635}
1636#[test]
1637fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint() {
1638 assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint>()
1639 , 12usize);
1640 assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint>()
1641 , 4usize);
1642}
1643impl Clone for sqlite3_index_info_sqlite3_index_constraint {
1644 fn clone(&self) -> Self { *self }
1645}
1646#[repr(C)]
1647#[derive(Debug, Copy)]
1648pub struct sqlite3_index_info_sqlite3_index_orderby {
1649 pub iColumn: ::std::os::raw::c_int,
1650 pub desc: ::std::os::raw::c_uchar,
1651}
1652#[test]
1653fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby() {
1654 assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_orderby>()
1655 , 8usize);
1656 assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_orderby>()
1657 , 4usize);
1658}
1659impl Clone for sqlite3_index_info_sqlite3_index_orderby {
1660 fn clone(&self) -> Self { *self }
1661}
1662#[repr(C)]
1663#[derive(Debug, Copy)]
1664pub struct sqlite3_index_info_sqlite3_index_constraint_usage {
1665 pub argvIndex: ::std::os::raw::c_int,
1666 pub omit: ::std::os::raw::c_uchar,
1667}
1668#[test]
1669fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage() {
1670 assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint_usage>()
1671 , 8usize);
1672 assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint_usage>()
1673 , 4usize);
1674}
1675impl Clone for sqlite3_index_info_sqlite3_index_constraint_usage {
1676 fn clone(&self) -> Self { *self }
1677}
1678#[test]
1679fn bindgen_test_layout_sqlite3_index_info() {
1680 assert_eq!(::std::mem::size_of::<sqlite3_index_info>() , 72usize);
1681 assert_eq!(::std::mem::align_of::<sqlite3_index_info>() , 8usize);
1682}
1683impl Clone for sqlite3_index_info {
1684 fn clone(&self) -> Self { *self }
1685}
1686#[repr(C)]
1687#[derive(Debug, Copy)]
1688pub struct sqlite3_vtab_cursor {
1689 pub pVtab: *mut sqlite3_vtab,
1690}
1691#[test]
1692fn bindgen_test_layout_sqlite3_vtab_cursor() {
1693 assert_eq!(::std::mem::size_of::<sqlite3_vtab_cursor>() , 8usize);
1694 assert_eq!(::std::mem::align_of::<sqlite3_vtab_cursor>() , 8usize);
1695}
1696impl Clone for sqlite3_vtab_cursor {
1697 fn clone(&self) -> Self { *self }
1698}
1699#[repr(C)]
1700#[derive(Debug, Copy)]
1701pub struct sqlite3_module {
1702 pub iVersion: ::std::os::raw::c_int,
1703 pub xCreate: ::std::option::Option<unsafe extern "C" fn(arg1:
1704 *mut sqlite3,
1705 pAux:
1706 *mut ::std::os::raw::c_void,
1707 argc:
1708 ::std::os::raw::c_int,
1709 argv:
1710 *const *const ::std::os::raw::c_char,
1711 ppVTab:
1712 *mut *mut sqlite3_vtab,
1713 arg2:
1714 *mut *mut ::std::os::raw::c_char)
1715 -> ::std::os::raw::c_int>,
1716 pub xConnect: ::std::option::Option<unsafe extern "C" fn(arg1:
1717 *mut sqlite3,
1718 pAux:
1719 *mut ::std::os::raw::c_void,
1720 argc:
1721 ::std::os::raw::c_int,
1722 argv:
1723 *const *const ::std::os::raw::c_char,
1724 ppVTab:
1725 *mut *mut sqlite3_vtab,
1726 arg2:
1727 *mut *mut ::std::os::raw::c_char)
1728 -> ::std::os::raw::c_int>,
1729 pub xBestIndex: ::std::option::Option<unsafe extern "C" fn(pVTab:
1730 *mut sqlite3_vtab,
1731 arg1:
1732 *mut sqlite3_index_info)
1733 -> ::std::os::raw::c_int>,
1734 pub xDisconnect: ::std::option::Option<unsafe extern "C" fn(pVTab:
1735 *mut sqlite3_vtab)
1736 -> ::std::os::raw::c_int>,
1737 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(pVTab:
1738 *mut sqlite3_vtab)
1739 -> ::std::os::raw::c_int>,
1740 pub xOpen: ::std::option::Option<unsafe extern "C" fn(pVTab:
1741 *mut sqlite3_vtab,
1742 ppCursor:
1743 *mut *mut sqlite3_vtab_cursor)
1744 -> ::std::os::raw::c_int>,
1745 pub xClose: ::std::option::Option<unsafe extern "C" fn(arg1:
1746 *mut sqlite3_vtab_cursor)
1747 -> ::std::os::raw::c_int>,
1748 pub xFilter: ::std::option::Option<unsafe extern "C" fn(arg1:
1749 *mut sqlite3_vtab_cursor,
1750 idxNum:
1751 ::std::os::raw::c_int,
1752 idxStr:
1753 *const ::std::os::raw::c_char,
1754 argc:
1755 ::std::os::raw::c_int,
1756 argv:
1757 *mut *mut sqlite3_value)
1758 -> ::std::os::raw::c_int>,
1759 pub xNext: ::std::option::Option<unsafe extern "C" fn(arg1:
1760 *mut sqlite3_vtab_cursor)
1761 -> ::std::os::raw::c_int>,
1762 pub xEof: ::std::option::Option<unsafe extern "C" fn(arg1:
1763 *mut sqlite3_vtab_cursor)
1764 -> ::std::os::raw::c_int>,
1765 pub xColumn: ::std::option::Option<unsafe extern "C" fn(arg1:
1766 *mut sqlite3_vtab_cursor,
1767 arg2:
1768 *mut sqlite3_context,
1769 arg3:
1770 ::std::os::raw::c_int)
1771 -> ::std::os::raw::c_int>,
1772 pub xRowid: ::std::option::Option<unsafe extern "C" fn(arg1:
1773 *mut sqlite3_vtab_cursor,
1774 pRowid:
1775 *mut sqlite3_int64)
1776 -> ::std::os::raw::c_int>,
1777 pub xUpdate: ::std::option::Option<unsafe extern "C" fn(arg1:
1778 *mut sqlite3_vtab,
1779 arg2:
1780 ::std::os::raw::c_int,
1781 arg3:
1782 *mut *mut sqlite3_value,
1783 arg4:
1784 *mut sqlite3_int64)
1785 -> ::std::os::raw::c_int>,
1786 pub xBegin: ::std::option::Option<unsafe extern "C" fn(pVTab:
1787 *mut sqlite3_vtab)
1788 -> ::std::os::raw::c_int>,
1789 pub xSync: ::std::option::Option<unsafe extern "C" fn(pVTab:
1790 *mut sqlite3_vtab)
1791 -> ::std::os::raw::c_int>,
1792 pub xCommit: ::std::option::Option<unsafe extern "C" fn(pVTab:
1793 *mut sqlite3_vtab)
1794 -> ::std::os::raw::c_int>,
1795 pub xRollback: ::std::option::Option<unsafe extern "C" fn(pVTab:
1796 *mut sqlite3_vtab)
1797 -> ::std::os::raw::c_int>,
1798 pub xFindFunction: ::std::option::Option<unsafe extern "C" fn(pVtab:
1799 *mut sqlite3_vtab,
1800 nArg:
1801 ::std::os::raw::c_int,
1802 zName:
1803 *const ::std::os::raw::c_char,
1804 pxFunc:
1805 *mut ::std::option::Option<unsafe extern "C" fn(arg1:
1806 *mut sqlite3_context,
1807 arg2:
1808 ::std::os::raw::c_int,
1809 arg3:
1810 *mut *mut sqlite3_value)>,
1811 ppArg:
1812 *mut *mut ::std::os::raw::c_void)
1813 -> ::std::os::raw::c_int>,
1814 pub xRename: ::std::option::Option<unsafe extern "C" fn(pVtab:
1815 *mut sqlite3_vtab,
1816 zNew:
1817 *const ::std::os::raw::c_char)
1818 -> ::std::os::raw::c_int>,
1819 pub xSavepoint: ::std::option::Option<unsafe extern "C" fn(pVTab:
1820 *mut sqlite3_vtab,
1821 arg1:
1822 ::std::os::raw::c_int)
1823 -> ::std::os::raw::c_int>,
1824 pub xRelease: ::std::option::Option<unsafe extern "C" fn(pVTab:
1825 *mut sqlite3_vtab,
1826 arg1:
1827 ::std::os::raw::c_int)
1828 -> ::std::os::raw::c_int>,
1829 pub xRollbackTo: ::std::option::Option<unsafe extern "C" fn(pVTab:
1830 *mut sqlite3_vtab,
1831 arg1:
1832 ::std::os::raw::c_int)
1833 -> ::std::os::raw::c_int>,
1834}
1835#[test]
1836fn bindgen_test_layout_sqlite3_module() {
1837 assert_eq!(::std::mem::size_of::<sqlite3_module>() , 184usize);
1838 assert_eq!(::std::mem::align_of::<sqlite3_module>() , 8usize);
1839}
1840impl Clone for sqlite3_module {
1841 fn clone(&self) -> Self { *self }
1842}
1843extern "C" {
1844 pub fn sqlite3_create_module(db: *mut sqlite3,
1845 zName: *const ::std::os::raw::c_char,
1846 p: *const sqlite3_module,
1847 pClientData: *mut ::std::os::raw::c_void)
1848 -> ::std::os::raw::c_int;
1849}
1850extern "C" {
1851 pub fn sqlite3_create_module_v2(db: *mut sqlite3,
1852 zName: *const ::std::os::raw::c_char,
1853 p: *const sqlite3_module,
1854 pClientData: *mut ::std::os::raw::c_void,
1855 xDestroy:
1856 ::std::option::Option<unsafe extern "C" fn(arg1:
1857 *mut ::std::os::raw::c_void)>)
1858 -> ::std::os::raw::c_int;
1859}
1860extern "C" {
1861 pub fn sqlite3_declare_vtab(arg1: *mut sqlite3,
1862 zSQL: *const ::std::os::raw::c_char)
1863 -> ::std::os::raw::c_int;
1864}
1865extern "C" {
1866 pub fn sqlite3_overload_function(arg1: *mut sqlite3,
1867 zFuncName: *const ::std::os::raw::c_char,
1868 nArg: ::std::os::raw::c_int)
1869 -> ::std::os::raw::c_int;
1870}
1871#[repr(C)]
1872#[derive(Debug, Copy, Clone)]
1873pub struct sqlite3_blob([u8; 0]);
1874extern "C" {
1875 pub fn sqlite3_blob_open(arg1: *mut sqlite3,
1876 zDb: *const ::std::os::raw::c_char,
1877 zTable: *const ::std::os::raw::c_char,
1878 zColumn: *const ::std::os::raw::c_char,
1879 iRow: sqlite3_int64,
1880 flags: ::std::os::raw::c_int,
1881 ppBlob: *mut *mut sqlite3_blob)
1882 -> ::std::os::raw::c_int;
1883}
1884extern "C" {
1885 pub fn sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64)
1886 -> ::std::os::raw::c_int;
1887}
1888extern "C" {
1889 pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob)
1890 -> ::std::os::raw::c_int;
1891}
1892extern "C" {
1893 pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob)
1894 -> ::std::os::raw::c_int;
1895}
1896extern "C" {
1897 pub fn sqlite3_blob_read(arg1: *mut sqlite3_blob,
1898 Z: *mut ::std::os::raw::c_void,
1899 N: ::std::os::raw::c_int,
1900 iOffset: ::std::os::raw::c_int)
1901 -> ::std::os::raw::c_int;
1902}
1903extern "C" {
1904 pub fn sqlite3_blob_write(arg1: *mut sqlite3_blob,
1905 z: *const ::std::os::raw::c_void,
1906 n: ::std::os::raw::c_int,
1907 iOffset: ::std::os::raw::c_int)
1908 -> ::std::os::raw::c_int;
1909}
1910extern "C" {
1911 pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char)
1912 -> *mut sqlite3_vfs;
1913}
1914extern "C" {
1915 pub fn sqlite3_vfs_register(arg1: *mut sqlite3_vfs,
1916 makeDflt: ::std::os::raw::c_int)
1917 -> ::std::os::raw::c_int;
1918}
1919extern "C" {
1920 pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs)
1921 -> ::std::os::raw::c_int;
1922}
1923extern "C" {
1924 pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int)
1925 -> *mut sqlite3_mutex;
1926}
1927extern "C" {
1928 pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex);
1929}
1930extern "C" {
1931 pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex);
1932}
1933extern "C" {
1934 pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex)
1935 -> ::std::os::raw::c_int;
1936}
1937extern "C" {
1938 pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex);
1939}
1940#[repr(C)]
1941#[derive(Debug, Copy)]
1942pub struct sqlite3_mutex_methods {
1943 pub xMutexInit: ::std::option::Option<unsafe extern "C" fn()
1944 -> ::std::os::raw::c_int>,
1945 pub xMutexEnd: ::std::option::Option<unsafe extern "C" fn()
1946 -> ::std::os::raw::c_int>,
1947 pub xMutexAlloc: ::std::option::Option<unsafe extern "C" fn(arg1:
1948 ::std::os::raw::c_int)
1949 -> *mut sqlite3_mutex>,
1950 pub xMutexFree: ::std::option::Option<unsafe extern "C" fn(arg1:
1951 *mut sqlite3_mutex)>,
1952 pub xMutexEnter: ::std::option::Option<unsafe extern "C" fn(arg1:
1953 *mut sqlite3_mutex)>,
1954 pub xMutexTry: ::std::option::Option<unsafe extern "C" fn(arg1:
1955 *mut sqlite3_mutex)
1956 -> ::std::os::raw::c_int>,
1957 pub xMutexLeave: ::std::option::Option<unsafe extern "C" fn(arg1:
1958 *mut sqlite3_mutex)>,
1959 pub xMutexHeld: ::std::option::Option<unsafe extern "C" fn(arg1:
1960 *mut sqlite3_mutex)
1961 -> ::std::os::raw::c_int>,
1962 pub xMutexNotheld: ::std::option::Option<unsafe extern "C" fn(arg1:
1963 *mut sqlite3_mutex)
1964 -> ::std::os::raw::c_int>,
1965}
1966#[test]
1967fn bindgen_test_layout_sqlite3_mutex_methods() {
1968 assert_eq!(::std::mem::size_of::<sqlite3_mutex_methods>() , 72usize);
1969 assert_eq!(::std::mem::align_of::<sqlite3_mutex_methods>() , 8usize);
1970}
1971impl Clone for sqlite3_mutex_methods {
1972 fn clone(&self) -> Self { *self }
1973}
1974extern "C" {
1975 pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex)
1976 -> ::std::os::raw::c_int;
1977}
1978extern "C" {
1979 pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex)
1980 -> ::std::os::raw::c_int;
1981}
1982extern "C" {
1983 pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex;
1984}
1985extern "C" {
1986 pub fn sqlite3_file_control(arg1: *mut sqlite3,
1987 zDbName: *const ::std::os::raw::c_char,
1988 op: ::std::os::raw::c_int,
1989 arg2: *mut ::std::os::raw::c_void)
1990 -> ::std::os::raw::c_int;
1991}
1992extern "C" {
1993 pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...)
1994 -> ::std::os::raw::c_int;
1995}
1996extern "C" {
1997 pub fn sqlite3_status(op: ::std::os::raw::c_int,
1998 pCurrent: *mut ::std::os::raw::c_int,
1999 pHighwater: *mut ::std::os::raw::c_int,
2000 resetFlag: ::std::os::raw::c_int)
2001 -> ::std::os::raw::c_int;
2002}
2003extern "C" {
2004 pub fn sqlite3_db_status(arg1: *mut sqlite3, op: ::std::os::raw::c_int,
2005 pCur: *mut ::std::os::raw::c_int,
2006 pHiwtr: *mut ::std::os::raw::c_int,
2007 resetFlg: ::std::os::raw::c_int)
2008 -> ::std::os::raw::c_int;
2009}
2010extern "C" {
2011 pub fn sqlite3_stmt_status(arg1: *mut sqlite3_stmt,
2012 op: ::std::os::raw::c_int,
2013 resetFlg: ::std::os::raw::c_int)
2014 -> ::std::os::raw::c_int;
2015}
2016#[repr(C)]
2017#[derive(Debug, Copy, Clone)]
2018pub struct sqlite3_pcache([u8; 0]);
2019#[repr(C)]
2020#[derive(Debug, Copy)]
2021pub struct sqlite3_pcache_page {
2022 pub pBuf: *mut ::std::os::raw::c_void,
2023 pub pExtra: *mut ::std::os::raw::c_void,
2024}
2025#[test]
2026fn bindgen_test_layout_sqlite3_pcache_page() {
2027 assert_eq!(::std::mem::size_of::<sqlite3_pcache_page>() , 16usize);
2028 assert_eq!(::std::mem::align_of::<sqlite3_pcache_page>() , 8usize);
2029}
2030impl Clone for sqlite3_pcache_page {
2031 fn clone(&self) -> Self { *self }
2032}
2033#[repr(C)]
2034#[derive(Debug, Copy)]
2035pub struct sqlite3_pcache_methods2 {
2036 pub iVersion: ::std::os::raw::c_int,
2037 pub pArg: *mut ::std::os::raw::c_void,
2038 pub xInit: ::std::option::Option<unsafe extern "C" fn(arg1:
2039 *mut ::std::os::raw::c_void)
2040 -> ::std::os::raw::c_int>,
2041 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1:
2042 *mut ::std::os::raw::c_void)>,
2043 pub xCreate: ::std::option::Option<unsafe extern "C" fn(szPage:
2044 ::std::os::raw::c_int,
2045 szExtra:
2046 ::std::os::raw::c_int,
2047 bPurgeable:
2048 ::std::os::raw::c_int)
2049 -> *mut sqlite3_pcache>,
2050 pub xCachesize: ::std::option::Option<unsafe extern "C" fn(arg1:
2051 *mut sqlite3_pcache,
2052 nCachesize:
2053 ::std::os::raw::c_int)>,
2054 pub xPagecount: ::std::option::Option<unsafe extern "C" fn(arg1:
2055 *mut sqlite3_pcache)
2056 -> ::std::os::raw::c_int>,
2057 pub xFetch: ::std::option::Option<unsafe extern "C" fn(arg1:
2058 *mut sqlite3_pcache,
2059 key:
2060 ::std::os::raw::c_uint,
2061 createFlag:
2062 ::std::os::raw::c_int)
2063 -> *mut sqlite3_pcache_page>,
2064 pub xUnpin: ::std::option::Option<unsafe extern "C" fn(arg1:
2065 *mut sqlite3_pcache,
2066 arg2:
2067 *mut sqlite3_pcache_page,
2068 discard:
2069 ::std::os::raw::c_int)>,
2070 pub xRekey: ::std::option::Option<unsafe extern "C" fn(arg1:
2071 *mut sqlite3_pcache,
2072 arg2:
2073 *mut sqlite3_pcache_page,
2074 oldKey:
2075 ::std::os::raw::c_uint,
2076 newKey:
2077 ::std::os::raw::c_uint)>,
2078 pub xTruncate: ::std::option::Option<unsafe extern "C" fn(arg1:
2079 *mut sqlite3_pcache,
2080 iLimit:
2081 ::std::os::raw::c_uint)>,
2082 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1:
2083 *mut sqlite3_pcache)>,
2084 pub xShrink: ::std::option::Option<unsafe extern "C" fn(arg1:
2085 *mut sqlite3_pcache)>,
2086}
2087#[test]
2088fn bindgen_test_layout_sqlite3_pcache_methods2() {
2089 assert_eq!(::std::mem::size_of::<sqlite3_pcache_methods2>() , 104usize);
2090 assert_eq!(::std::mem::align_of::<sqlite3_pcache_methods2>() , 8usize);
2091}
2092impl Clone for sqlite3_pcache_methods2 {
2093 fn clone(&self) -> Self { *self }
2094}
2095#[repr(C)]
2096#[derive(Debug, Copy)]
2097pub struct sqlite3_pcache_methods {
2098 pub pArg: *mut ::std::os::raw::c_void,
2099 pub xInit: ::std::option::Option<unsafe extern "C" fn(arg1:
2100 *mut ::std::os::raw::c_void)
2101 -> ::std::os::raw::c_int>,
2102 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1:
2103 *mut ::std::os::raw::c_void)>,
2104 pub xCreate: ::std::option::Option<unsafe extern "C" fn(szPage:
2105 ::std::os::raw::c_int,
2106 bPurgeable:
2107 ::std::os::raw::c_int)
2108 -> *mut sqlite3_pcache>,
2109 pub xCachesize: ::std::option::Option<unsafe extern "C" fn(arg1:
2110 *mut sqlite3_pcache,
2111 nCachesize:
2112 ::std::os::raw::c_int)>,
2113 pub xPagecount: ::std::option::Option<unsafe extern "C" fn(arg1:
2114 *mut sqlite3_pcache)
2115 -> ::std::os::raw::c_int>,
2116 pub xFetch: ::std::option::Option<unsafe extern "C" fn(arg1:
2117 *mut sqlite3_pcache,
2118 key:
2119 ::std::os::raw::c_uint,
2120 createFlag:
2121 ::std::os::raw::c_int)
2122 -> *mut ::std::os::raw::c_void>,
2123 pub xUnpin: ::std::option::Option<unsafe extern "C" fn(arg1:
2124 *mut sqlite3_pcache,
2125 arg2:
2126 *mut ::std::os::raw::c_void,
2127 discard:
2128 ::std::os::raw::c_int)>,
2129 pub xRekey: ::std::option::Option<unsafe extern "C" fn(arg1:
2130 *mut sqlite3_pcache,
2131 arg2:
2132 *mut ::std::os::raw::c_void,
2133 oldKey:
2134 ::std::os::raw::c_uint,
2135 newKey:
2136 ::std::os::raw::c_uint)>,
2137 pub xTruncate: ::std::option::Option<unsafe extern "C" fn(arg1:
2138 *mut sqlite3_pcache,
2139 iLimit:
2140 ::std::os::raw::c_uint)>,
2141 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1:
2142 *mut sqlite3_pcache)>,
2143}
2144#[test]
2145fn bindgen_test_layout_sqlite3_pcache_methods() {
2146 assert_eq!(::std::mem::size_of::<sqlite3_pcache_methods>() , 88usize);
2147 assert_eq!(::std::mem::align_of::<sqlite3_pcache_methods>() , 8usize);
2148}
2149impl Clone for sqlite3_pcache_methods {
2150 fn clone(&self) -> Self { *self }
2151}
2152#[repr(C)]
2153#[derive(Debug, Copy, Clone)]
2154pub struct sqlite3_backup([u8; 0]);
2155extern "C" {
2156 pub fn sqlite3_backup_init(pDest: *mut sqlite3,
2157 zDestName: *const ::std::os::raw::c_char,
2158 pSource: *mut sqlite3,
2159 zSourceName: *const ::std::os::raw::c_char)
2160 -> *mut sqlite3_backup;
2161}
2162extern "C" {
2163 pub fn sqlite3_backup_step(p: *mut sqlite3_backup,
2164 nPage: ::std::os::raw::c_int)
2165 -> ::std::os::raw::c_int;
2166}
2167extern "C" {
2168 pub fn sqlite3_backup_finish(p: *mut sqlite3_backup)
2169 -> ::std::os::raw::c_int;
2170}
2171extern "C" {
2172 pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup)
2173 -> ::std::os::raw::c_int;
2174}
2175extern "C" {
2176 pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup)
2177 -> ::std::os::raw::c_int;
2178}
2179extern "C" {
2180 pub fn sqlite3_unlock_notify(pBlocked: *mut sqlite3,
2181 xNotify:
2182 ::std::option::Option<unsafe extern "C" fn(apArg:
2183 *mut *mut ::std::os::raw::c_void,
2184 nArg:
2185 ::std::os::raw::c_int)>,
2186 pNotifyArg: *mut ::std::os::raw::c_void)
2187 -> ::std::os::raw::c_int;
2188}
2189extern "C" {
2190 pub fn sqlite3_stricmp(arg1: *const ::std::os::raw::c_char,
2191 arg2: *const ::std::os::raw::c_char)
2192 -> ::std::os::raw::c_int;
2193}
2194extern "C" {
2195 pub fn sqlite3_strnicmp(arg1: *const ::std::os::raw::c_char,
2196 arg2: *const ::std::os::raw::c_char,
2197 arg3: ::std::os::raw::c_int)
2198 -> ::std::os::raw::c_int;
2199}
2200extern "C" {
2201 pub fn sqlite3_log(iErrCode: ::std::os::raw::c_int,
2202 zFormat: *const ::std::os::raw::c_char, ...);
2203}
2204extern "C" {
2205 pub fn sqlite3_wal_hook(arg1: *mut sqlite3,
2206 arg2:
2207 ::std::option::Option<unsafe extern "C" fn(arg1:
2208 *mut ::std::os::raw::c_void,
2209 arg2:
2210 *mut sqlite3,
2211 arg3:
2212 *const ::std::os::raw::c_char,
2213 arg4:
2214 ::std::os::raw::c_int)
2215 ->
2216 ::std::os::raw::c_int>,
2217 arg3: *mut ::std::os::raw::c_void)
2218 -> *mut ::std::os::raw::c_void;
2219}
2220extern "C" {
2221 pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3,
2222 N: ::std::os::raw::c_int)
2223 -> ::std::os::raw::c_int;
2224}
2225extern "C" {
2226 pub fn sqlite3_wal_checkpoint(db: *mut sqlite3,
2227 zDb: *const ::std::os::raw::c_char)
2228 -> ::std::os::raw::c_int;
2229}
2230extern "C" {
2231 pub fn sqlite3_wal_checkpoint_v2(db: *mut sqlite3,
2232 zDb: *const ::std::os::raw::c_char,
2233 eMode: ::std::os::raw::c_int,
2234 pnLog: *mut ::std::os::raw::c_int,
2235 pnCkpt: *mut ::std::os::raw::c_int)
2236 -> ::std::os::raw::c_int;
2237}
2238extern "C" {
2239 pub fn sqlite3_vtab_config(arg1: *mut sqlite3,
2240 op: ::std::os::raw::c_int, ...)
2241 -> ::std::os::raw::c_int;
2242}
2243extern "C" {
2244 pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3)
2245 -> ::std::os::raw::c_int;
2246}
2247#[repr(C)]
2248#[derive(Debug, Copy)]
2249pub struct sqlite3_rtree_geometry {
2250 pub pContext: *mut ::std::os::raw::c_void,
2251 pub nParam: ::std::os::raw::c_int,
2252 pub aParam: *mut f64,
2253 pub pUser: *mut ::std::os::raw::c_void,
2254 pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1:
2255 *mut ::std::os::raw::c_void)>,
2256}
2257#[test]
2258fn bindgen_test_layout_sqlite3_rtree_geometry() {
2259 assert_eq!(::std::mem::size_of::<sqlite3_rtree_geometry>() , 40usize);
2260 assert_eq!(::std::mem::align_of::<sqlite3_rtree_geometry>() , 8usize);
2261}
2262impl Clone for sqlite3_rtree_geometry {
2263 fn clone(&self) -> Self { *self }
2264}
2265extern "C" {
2266 pub fn sqlite3_rtree_geometry_callback(db: *mut sqlite3,
2267 zGeom:
2268 *const ::std::os::raw::c_char,
2269 xGeom:
2270 ::std::option::Option<unsafe extern "C" fn(arg1:
2271 *mut sqlite3_rtree_geometry,
2272 n:
2273 ::std::os::raw::c_int,
2274 a:
2275 *mut f64,
2276 pRes:
2277 *mut ::std::os::raw::c_int)
2278 ->
2279 ::std::os::raw::c_int>,
2280 pContext:
2281 *mut ::std::os::raw::c_void)
2282 -> ::std::os::raw::c_int;
2283}
2284#[repr(C)]
2285#[derive(Debug, Copy)]
2286pub struct __va_list_tag {
2287 pub gp_offset: ::std::os::raw::c_uint,
2288 pub fp_offset: ::std::os::raw::c_uint,
2289 pub overflow_arg_area: *mut ::std::os::raw::c_void,
2290 pub reg_save_area: *mut ::std::os::raw::c_void,
2291}
2292impl Clone for __va_list_tag {
2293 fn clone(&self) -> Self { *self }
2294}
2295pub type __builtin_va_list = [__va_list_tag; 1usize];
2296
2297pub const SQLITE_DETERMINISTIC: i32 = 2048;