1 /* automatically generated by rust-bindgen */
2 
3 pub const __GNUC_VA_LIST: i32 = 1;
4 pub const SQLITE_VERSION: &'static [u8; 7usize] = b"3.7.16\x00";
5 pub const SQLITE_VERSION_NUMBER: i32 = 3007016;
6 pub const SQLITE_SOURCE_ID: &'static [u8; 61usize] =
7     b"2013-03-18 11:39:23 66d5f2b76750f3520eb7a495f6247206758f5b90\x00";
8 pub const SQLITE_OK: i32 = 0;
9 pub const SQLITE_ERROR: i32 = 1;
10 pub const SQLITE_INTERNAL: i32 = 2;
11 pub const SQLITE_PERM: i32 = 3;
12 pub const SQLITE_ABORT: i32 = 4;
13 pub const SQLITE_BUSY: i32 = 5;
14 pub const SQLITE_LOCKED: i32 = 6;
15 pub const SQLITE_NOMEM: i32 = 7;
16 pub const SQLITE_READONLY: i32 = 8;
17 pub const SQLITE_INTERRUPT: i32 = 9;
18 pub const SQLITE_IOERR: i32 = 10;
19 pub const SQLITE_CORRUPT: i32 = 11;
20 pub const SQLITE_NOTFOUND: i32 = 12;
21 pub const SQLITE_FULL: i32 = 13;
22 pub const SQLITE_CANTOPEN: i32 = 14;
23 pub const SQLITE_PROTOCOL: i32 = 15;
24 pub const SQLITE_EMPTY: i32 = 16;
25 pub const SQLITE_SCHEMA: i32 = 17;
26 pub const SQLITE_TOOBIG: i32 = 18;
27 pub const SQLITE_CONSTRAINT: i32 = 19;
28 pub const SQLITE_MISMATCH: i32 = 20;
29 pub const SQLITE_MISUSE: i32 = 21;
30 pub const SQLITE_NOLFS: i32 = 22;
31 pub const SQLITE_AUTH: i32 = 23;
32 pub const SQLITE_FORMAT: i32 = 24;
33 pub const SQLITE_RANGE: i32 = 25;
34 pub const SQLITE_NOTADB: i32 = 26;
35 pub const SQLITE_ROW: i32 = 100;
36 pub const SQLITE_DONE: i32 = 101;
37 pub const SQLITE_IOERR_READ: i32 = 266;
38 pub const SQLITE_IOERR_SHORT_READ: i32 = 522;
39 pub const SQLITE_IOERR_WRITE: i32 = 778;
40 pub const SQLITE_IOERR_FSYNC: i32 = 1034;
41 pub const SQLITE_IOERR_DIR_FSYNC: i32 = 1290;
42 pub const SQLITE_IOERR_TRUNCATE: i32 = 1546;
43 pub const SQLITE_IOERR_FSTAT: i32 = 1802;
44 pub const SQLITE_IOERR_UNLOCK: i32 = 2058;
45 pub const SQLITE_IOERR_RDLOCK: i32 = 2314;
46 pub const SQLITE_IOERR_DELETE: i32 = 2570;
47 pub const SQLITE_IOERR_BLOCKED: i32 = 2826;
48 pub const SQLITE_IOERR_NOMEM: i32 = 3082;
49 pub const SQLITE_IOERR_ACCESS: i32 = 3338;
50 pub const SQLITE_IOERR_CHECKRESERVEDLOCK: i32 = 3594;
51 pub const SQLITE_IOERR_LOCK: i32 = 3850;
52 pub const SQLITE_IOERR_CLOSE: i32 = 4106;
53 pub const SQLITE_IOERR_DIR_CLOSE: i32 = 4362;
54 pub const SQLITE_IOERR_SHMOPEN: i32 = 4618;
55 pub const SQLITE_IOERR_SHMSIZE: i32 = 4874;
56 pub const SQLITE_IOERR_SHMLOCK: i32 = 5130;
57 pub const SQLITE_IOERR_SHMMAP: i32 = 5386;
58 pub const SQLITE_IOERR_SEEK: i32 = 5642;
59 pub const SQLITE_IOERR_DELETE_NOENT: i32 = 5898;
60 pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262;
61 pub const SQLITE_BUSY_RECOVERY: i32 = 261;
62 pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270;
63 pub const SQLITE_CANTOPEN_ISDIR: i32 = 526;
64 pub const SQLITE_CANTOPEN_FULLPATH: i32 = 782;
65 pub const SQLITE_CORRUPT_VTAB: i32 = 267;
66 pub const SQLITE_READONLY_RECOVERY: i32 = 264;
67 pub const SQLITE_READONLY_CANTLOCK: i32 = 520;
68 pub const SQLITE_READONLY_ROLLBACK: i32 = 776;
69 pub const SQLITE_ABORT_ROLLBACK: i32 = 516;
70 pub const SQLITE_CONSTRAINT_CHECK: i32 = 275;
71 pub const SQLITE_CONSTRAINT_COMMITHOOK: i32 = 531;
72 pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787;
73 pub const SQLITE_CONSTRAINT_FUNCTION: i32 = 1043;
74 pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299;
75 pub const SQLITE_CONSTRAINT_PRIMARYKEY: i32 = 1555;
76 pub const SQLITE_CONSTRAINT_TRIGGER: i32 = 1811;
77 pub const SQLITE_CONSTRAINT_UNIQUE: i32 = 2067;
78 pub const SQLITE_CONSTRAINT_VTAB: i32 = 2323;
79 pub const SQLITE_OPEN_READONLY: i32 = 1;
80 pub const SQLITE_OPEN_READWRITE: i32 = 2;
81 pub const SQLITE_OPEN_CREATE: i32 = 4;
82 pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8;
83 pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16;
84 pub const SQLITE_OPEN_AUTOPROXY: i32 = 32;
85 pub const SQLITE_OPEN_URI: i32 = 64;
86 pub const SQLITE_OPEN_MEMORY: i32 = 128;
87 pub const SQLITE_OPEN_MAIN_DB: i32 = 256;
88 pub const SQLITE_OPEN_TEMP_DB: i32 = 512;
89 pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024;
90 pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048;
91 pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096;
92 pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192;
93 pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384;
94 pub const SQLITE_OPEN_NOMUTEX: i32 = 32768;
95 pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536;
96 pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072;
97 pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144;
98 pub const SQLITE_OPEN_WAL: i32 = 524288;
99 pub const SQLITE_IOCAP_ATOMIC: i32 = 1;
100 pub const SQLITE_IOCAP_ATOMIC512: i32 = 2;
101 pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4;
102 pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8;
103 pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16;
104 pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32;
105 pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64;
106 pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128;
107 pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256;
108 pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512;
109 pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024;
110 pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048;
111 pub const SQLITE_IOCAP_POWERSAFE_OVERWRITE: i32 = 4096;
112 pub const SQLITE_LOCK_NONE: i32 = 0;
113 pub const SQLITE_LOCK_SHARED: i32 = 1;
114 pub const SQLITE_LOCK_RESERVED: i32 = 2;
115 pub const SQLITE_LOCK_PENDING: i32 = 3;
116 pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4;
117 pub const SQLITE_SYNC_NORMAL: i32 = 2;
118 pub const SQLITE_SYNC_FULL: i32 = 3;
119 pub const SQLITE_SYNC_DATAONLY: i32 = 16;
120 pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1;
121 pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2;
122 pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3;
123 pub const SQLITE_LAST_ERRNO: i32 = 4;
124 pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5;
125 pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6;
126 pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7;
127 pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8;
128 pub const SQLITE_FCNTL_WIN32_AV_RETRY: i32 = 9;
129 pub const SQLITE_FCNTL_PERSIST_WAL: i32 = 10;
130 pub const SQLITE_FCNTL_OVERWRITE: i32 = 11;
131 pub const SQLITE_FCNTL_VFSNAME: i32 = 12;
132 pub const SQLITE_FCNTL_POWERSAFE_OVERWRITE: i32 = 13;
133 pub const SQLITE_FCNTL_PRAGMA: i32 = 14;
134 pub const SQLITE_FCNTL_BUSYHANDLER: i32 = 15;
135 pub const SQLITE_FCNTL_TEMPFILENAME: i32 = 16;
136 pub const SQLITE_ACCESS_EXISTS: i32 = 0;
137 pub const SQLITE_ACCESS_READWRITE: i32 = 1;
138 pub const SQLITE_ACCESS_READ: i32 = 2;
139 pub const SQLITE_SHM_UNLOCK: i32 = 1;
140 pub const SQLITE_SHM_LOCK: i32 = 2;
141 pub const SQLITE_SHM_SHARED: i32 = 4;
142 pub const SQLITE_SHM_EXCLUSIVE: i32 = 8;
143 pub const SQLITE_SHM_NLOCK: i32 = 8;
144 pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1;
145 pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2;
146 pub const SQLITE_CONFIG_SERIALIZED: i32 = 3;
147 pub const SQLITE_CONFIG_MALLOC: i32 = 4;
148 pub const SQLITE_CONFIG_GETMALLOC: i32 = 5;
149 pub const SQLITE_CONFIG_SCRATCH: i32 = 6;
150 pub const SQLITE_CONFIG_PAGECACHE: i32 = 7;
151 pub const SQLITE_CONFIG_HEAP: i32 = 8;
152 pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9;
153 pub const SQLITE_CONFIG_MUTEX: i32 = 10;
154 pub const SQLITE_CONFIG_GETMUTEX: i32 = 11;
155 pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13;
156 pub const SQLITE_CONFIG_PCACHE: i32 = 14;
157 pub const SQLITE_CONFIG_GETPCACHE: i32 = 15;
158 pub const SQLITE_CONFIG_LOG: i32 = 16;
159 pub const SQLITE_CONFIG_URI: i32 = 17;
160 pub const SQLITE_CONFIG_PCACHE2: i32 = 18;
161 pub const SQLITE_CONFIG_GETPCACHE2: i32 = 19;
162 pub const SQLITE_CONFIG_COVERING_INDEX_SCAN: i32 = 20;
163 pub const SQLITE_CONFIG_SQLLOG: i32 = 21;
164 pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001;
165 pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002;
166 pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003;
167 pub const SQLITE_DENY: i32 = 1;
168 pub const SQLITE_IGNORE: i32 = 2;
169 pub const SQLITE_CREATE_INDEX: i32 = 1;
170 pub const SQLITE_CREATE_TABLE: i32 = 2;
171 pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3;
172 pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4;
173 pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5;
174 pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6;
175 pub const SQLITE_CREATE_TRIGGER: i32 = 7;
176 pub const SQLITE_CREATE_VIEW: i32 = 8;
177 pub const SQLITE_DELETE: i32 = 9;
178 pub const SQLITE_DROP_INDEX: i32 = 10;
179 pub const SQLITE_DROP_TABLE: i32 = 11;
180 pub const SQLITE_DROP_TEMP_INDEX: i32 = 12;
181 pub const SQLITE_DROP_TEMP_TABLE: i32 = 13;
182 pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14;
183 pub const SQLITE_DROP_TEMP_VIEW: i32 = 15;
184 pub const SQLITE_DROP_TRIGGER: i32 = 16;
185 pub const SQLITE_DROP_VIEW: i32 = 17;
186 pub const SQLITE_INSERT: i32 = 18;
187 pub const SQLITE_PRAGMA: i32 = 19;
188 pub const SQLITE_READ: i32 = 20;
189 pub const SQLITE_SELECT: i32 = 21;
190 pub const SQLITE_TRANSACTION: i32 = 22;
191 pub const SQLITE_UPDATE: i32 = 23;
192 pub const SQLITE_ATTACH: i32 = 24;
193 pub const SQLITE_DETACH: i32 = 25;
194 pub const SQLITE_ALTER_TABLE: i32 = 26;
195 pub const SQLITE_REINDEX: i32 = 27;
196 pub const SQLITE_ANALYZE: i32 = 28;
197 pub const SQLITE_CREATE_VTABLE: i32 = 29;
198 pub const SQLITE_DROP_VTABLE: i32 = 30;
199 pub const SQLITE_FUNCTION: i32 = 31;
200 pub const SQLITE_SAVEPOINT: i32 = 32;
201 pub const SQLITE_COPY: i32 = 0;
202 pub const SQLITE_LIMIT_LENGTH: i32 = 0;
203 pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1;
204 pub const SQLITE_LIMIT_COLUMN: i32 = 2;
205 pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3;
206 pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4;
207 pub const SQLITE_LIMIT_VDBE_OP: i32 = 5;
208 pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6;
209 pub const SQLITE_LIMIT_ATTACHED: i32 = 7;
210 pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8;
211 pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9;
212 pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10;
213 pub const SQLITE_INTEGER: i32 = 1;
214 pub const SQLITE_FLOAT: i32 = 2;
215 pub const SQLITE_BLOB: i32 = 4;
216 pub const SQLITE_NULL: i32 = 5;
217 pub const SQLITE_TEXT: i32 = 3;
218 pub const SQLITE3_TEXT: i32 = 3;
219 pub const SQLITE_UTF8: i32 = 1;
220 pub const SQLITE_UTF16LE: i32 = 2;
221 pub const SQLITE_UTF16BE: i32 = 3;
222 pub const SQLITE_UTF16: i32 = 4;
223 pub const SQLITE_ANY: i32 = 5;
224 pub const SQLITE_UTF16_ALIGNED: i32 = 8;
225 pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
226 pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
227 pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8;
228 pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16;
229 pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32;
230 pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64;
231 pub const SQLITE_MUTEX_FAST: i32 = 0;
232 pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
233 pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2;
234 pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3;
235 pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4;
236 pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4;
237 pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5;
238 pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6;
239 pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7;
240 pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7;
241 pub const SQLITE_TESTCTRL_FIRST: i32 = 5;
242 pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5;
243 pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6;
244 pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7;
245 pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8;
246 pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9;
247 pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10;
248 pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
249 pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
250 pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
251 pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
252 pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
253 pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
254 pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17;
255 pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 18;
256 pub const SQLITE_TESTCTRL_EXPLAIN_STMT: i32 = 19;
257 pub const SQLITE_TESTCTRL_LAST: i32 = 19;
258 pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
259 pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
260 pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
261 pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3;
262 pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4;
263 pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5;
264 pub const SQLITE_STATUS_PARSER_STACK: i32 = 6;
265 pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7;
266 pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8;
267 pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9;
268 pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0;
269 pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1;
270 pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2;
271 pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3;
272 pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4;
273 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5;
274 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6;
275 pub const SQLITE_DBSTATUS_CACHE_HIT: i32 = 7;
276 pub const SQLITE_DBSTATUS_CACHE_MISS: i32 = 8;
277 pub const SQLITE_DBSTATUS_CACHE_WRITE: i32 = 9;
278 pub const SQLITE_DBSTATUS_MAX: i32 = 9;
279 pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1;
280 pub const SQLITE_STMTSTATUS_SORT: i32 = 2;
281 pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
282 pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
283 pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
284 pub const SQLITE_CHECKPOINT_RESTART: i32 = 2;
285 pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1;
286 pub const SQLITE_ROLLBACK: i32 = 1;
287 pub const SQLITE_FAIL: i32 = 3;
288 pub const SQLITE_REPLACE: i32 = 5;
289 pub type va_list = __builtin_va_list;
290 pub type __gnuc_va_list = __builtin_va_list;
291 extern "C" {
292     #[link_name = "sqlite3_version"]
293     pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize];
294 }
295 extern "C" {
sqlite3_libversion() -> *const ::std::os::raw::c_char296     pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char;
297 }
298 extern "C" {
sqlite3_sourceid() -> *const ::std::os::raw::c_char299     pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char;
300 }
301 extern "C" {
sqlite3_libversion_number() -> ::std::os::raw::c_int302     pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int;
303 }
304 extern "C" {
sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int305     pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char)
306      -> ::std::os::raw::c_int;
307 }
308 extern "C" {
sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char309     pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int)
310      -> *const ::std::os::raw::c_char;
311 }
312 extern "C" {
sqlite3_threadsafe() -> ::std::os::raw::c_int313     pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int;
314 }
315 #[repr(C)]
316 #[derive(Debug, Copy, Clone)]
317 pub struct sqlite3([u8; 0]);
318 pub type sqlite_int64 = ::std::os::raw::c_longlong;
319 pub type sqlite_uint64 = ::std::os::raw::c_ulonglong;
320 pub type sqlite3_int64 = sqlite_int64;
321 pub type sqlite3_uint64 = sqlite_uint64;
322 extern "C" {
sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int323     pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
324 }
325 extern "C" {
sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int326     pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
327 }
328 pub 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>;
337 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_int338     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)]
357 pub struct sqlite3_file {
358     pub pMethods: *const sqlite3_file_sqlite3_io_methods,
359 }
360 #[repr(C)]
361 #[derive(Debug, Copy)]
362 pub 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]
bindgen_test_layout_sqlite3_file_sqlite3_io_methods()459 fn 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 }
465 impl Clone for sqlite3_file_sqlite3_io_methods {
clone(&self) -> Self466     fn clone(&self) -> Self { *self }
467 }
468 #[test]
bindgen_test_layout_sqlite3_file()469 fn 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 }
473 impl Clone for sqlite3_file {
clone(&self) -> Self474     fn clone(&self) -> Self { *self }
475 }
476 pub type sqlite3_io_methods = sqlite3_file_sqlite3_io_methods;
477 #[repr(C)]
478 #[derive(Debug, Copy, Clone)]
479 pub struct sqlite3_mutex([u8; 0]);
480 #[repr(C)]
481 #[derive(Debug, Copy)]
482 pub 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]
bindgen_test_layout_sqlite3_vfs()599 fn 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 }
603 impl Clone for sqlite3_vfs {
clone(&self) -> Self604     fn clone(&self) -> Self { *self }
605 }
606 pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>;
607 extern "C" {
sqlite3_initialize() -> ::std::os::raw::c_int608     pub fn sqlite3_initialize() -> ::std::os::raw::c_int;
609 }
610 extern "C" {
sqlite3_shutdown() -> ::std::os::raw::c_int611     pub fn sqlite3_shutdown() -> ::std::os::raw::c_int;
612 }
613 extern "C" {
sqlite3_os_init() -> ::std::os::raw::c_int614     pub fn sqlite3_os_init() -> ::std::os::raw::c_int;
615 }
616 extern "C" {
sqlite3_os_end() -> ::std::os::raw::c_int617     pub fn sqlite3_os_end() -> ::std::os::raw::c_int;
618 }
619 extern "C" {
sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int620     pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...)
621      -> ::std::os::raw::c_int;
622 }
623 extern "C" {
sqlite3_db_config(arg1: *mut sqlite3, op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int624     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)]
630 pub 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]
bindgen_test_layout_sqlite3_mem_methods()655 fn 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 }
659 impl Clone for sqlite3_mem_methods {
clone(&self) -> Self660     fn clone(&self) -> Self { *self }
661 }
662 extern "C" {
sqlite3_extended_result_codes(arg1: *mut sqlite3, onoff: ::std::os::raw::c_int) -> ::std::os::raw::c_int663     pub fn sqlite3_extended_result_codes(arg1: *mut sqlite3,
664                                          onoff: ::std::os::raw::c_int)
665      -> ::std::os::raw::c_int;
666 }
667 extern "C" {
sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64668     pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64;
669 }
670 extern "C" {
sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int671     pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
672 }
673 extern "C" {
sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int674     pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
675 }
676 extern "C" {
sqlite3_interrupt(arg1: *mut sqlite3)677     pub fn sqlite3_interrupt(arg1: *mut sqlite3);
678 }
679 extern "C" {
sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int680     pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char)
681      -> ::std::os::raw::c_int;
682 }
683 extern "C" {
sqlite3_complete16(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int684     pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void)
685      -> ::std::os::raw::c_int;
686 }
687 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_int688     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 }
699 extern "C" {
sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int) -> ::std::os::raw::c_int700     pub fn sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int)
701      -> ::std::os::raw::c_int;
702 }
703 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_int704     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 }
712 extern "C" {
sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char)713     pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char);
714 }
715 extern "C" {
sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) -> *mut ::std::os::raw::c_char716     pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...)
717      -> *mut ::std::os::raw::c_char;
718 }
719 extern "C" {
sqlite3_vmprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag) -> *mut ::std::os::raw::c_char720     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 }
724 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_char725     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 }
730 extern "C" {
sqlite3_vsnprintf(arg1: ::std::os::raw::c_int, arg2: *mut ::std::os::raw::c_char, arg3: *const ::std::os::raw::c_char, arg4: *mut __va_list_tag) -> *mut ::std::os::raw::c_char731     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 }
737 extern "C" {
sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void738     pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int)
739      -> *mut ::std::os::raw::c_void;
740 }
741 extern "C" {
sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void742     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 }
746 extern "C" {
sqlite3_free(arg1: *mut ::std::os::raw::c_void)747     pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void);
748 }
749 extern "C" {
sqlite3_memory_used() -> sqlite3_int64750     pub fn sqlite3_memory_used() -> sqlite3_int64;
751 }
752 extern "C" {
sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64753     pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int)
754      -> sqlite3_int64;
755 }
756 extern "C" {
sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void)757     pub fn sqlite3_randomness(N: ::std::os::raw::c_int,
758                               P: *mut ::std::os::raw::c_void);
759 }
760 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_int761     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 }
780 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_void781     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 }
790 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_void791     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 }
802 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)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 }
812 extern "C" {
sqlite3_open(filename: *const ::std::os::raw::c_char, ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int813     pub fn sqlite3_open(filename: *const ::std::os::raw::c_char,
814                         ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
815 }
816 extern "C" {
sqlite3_open16(filename: *const ::std::os::raw::c_void, ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int817     pub fn sqlite3_open16(filename: *const ::std::os::raw::c_void,
818                           ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
819 }
820 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_int821     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 }
827 extern "C" {
sqlite3_uri_parameter(zFilename: *const ::std::os::raw::c_char, zParam: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char828     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 }
832 extern "C" {
sqlite3_uri_boolean(zFile: *const ::std::os::raw::c_char, zParam: *const ::std::os::raw::c_char, bDefault: ::std::os::raw::c_int) -> ::std::os::raw::c_int833     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 }
838 extern "C" {
sqlite3_uri_int64(arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_int64) -> sqlite3_int64839     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 }
843 extern "C" {
sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int844     pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int;
845 }
846 extern "C" {
sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int847     pub fn sqlite3_extended_errcode(db: *mut sqlite3)
848      -> ::std::os::raw::c_int;
849 }
850 extern "C" {
sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char851     pub fn sqlite3_errmsg(arg1: *mut sqlite3)
852      -> *const ::std::os::raw::c_char;
853 }
854 extern "C" {
sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void855     pub fn sqlite3_errmsg16(arg1: *mut sqlite3)
856      -> *const ::std::os::raw::c_void;
857 }
858 extern "C" {
sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char859     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)]
864 pub struct sqlite3_stmt([u8; 0]);
865 extern "C" {
sqlite3_limit(arg1: *mut sqlite3, id: ::std::os::raw::c_int, newVal: ::std::os::raw::c_int) -> ::std::os::raw::c_int866     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 }
870 extern "C" {
sqlite3_prepare(db: *mut sqlite3, zSql: *const ::std::os::raw::c_char, nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_char) -> ::std::os::raw::c_int871     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 }
878 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_int879     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 }
886 extern "C" {
sqlite3_prepare16(db: *mut sqlite3, zSql: *const ::std::os::raw::c_void, nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_void) -> ::std::os::raw::c_int887     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 }
894 extern "C" {
sqlite3_prepare16_v2(db: *mut sqlite3, zSql: *const ::std::os::raw::c_void, nByte: ::std::os::raw::c_int, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_void) -> ::std::os::raw::c_int895     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 }
902 extern "C" {
sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char903     pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt)
904      -> *const ::std::os::raw::c_char;
905 }
906 extern "C" {
sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int907     pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt)
908      -> ::std::os::raw::c_int;
909 }
910 extern "C" {
sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int911     pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt)
912      -> ::std::os::raw::c_int;
913 }
914 #[repr(C)]
915 #[derive(Debug, Copy, Clone)]
916 pub struct Mem([u8; 0]);
917 pub type sqlite3_value = Mem;
918 #[repr(C)]
919 #[derive(Debug, Copy, Clone)]
920 pub struct sqlite3_context([u8; 0]);
921 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_int922     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 }
931 extern "C" {
sqlite3_bind_double(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: f64) -> ::std::os::raw::c_int932     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 }
936 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_int937     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 }
942 extern "C" {
sqlite3_bind_int64(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_int64) -> ::std::os::raw::c_int943     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 }
947 extern "C" {
sqlite3_bind_null(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int948     pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt,
949                              arg2: ::std::os::raw::c_int)
950      -> ::std::os::raw::c_int;
951 }
952 extern "C" {
sqlite3_bind_text(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, 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_int953     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 }
962 extern "C" {
sqlite3_bind_text16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_void, arg4: ::std::os::raw::c_int, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>) -> ::std::os::raw::c_int963     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 }
972 extern "C" {
sqlite3_bind_value(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const sqlite3_value) -> ::std::os::raw::c_int973     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 }
978 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_int979     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 }
984 extern "C" {
sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int985     pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt)
986      -> ::std::os::raw::c_int;
987 }
988 extern "C" {
sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char989     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 }
993 extern "C" {
sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt, zName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int994     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 }
998 extern "C" {
sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int999     pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt)
1000      -> ::std::os::raw::c_int;
1001 }
1002 extern "C" {
sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1003     pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt)
1004      -> ::std::os::raw::c_int;
1005 }
1006 extern "C" {
sqlite3_column_name(arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1007     pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt,
1008                                N: ::std::os::raw::c_int)
1009      -> *const ::std::os::raw::c_char;
1010 }
1011 extern "C" {
sqlite3_column_name16(arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1012     pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt,
1013                                  N: ::std::os::raw::c_int)
1014      -> *const ::std::os::raw::c_void;
1015 }
1016 extern "C" {
sqlite3_column_database_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1017     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 }
1021 extern "C" {
sqlite3_column_database_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1022     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 }
1026 extern "C" {
sqlite3_column_table_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1027     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 }
1031 extern "C" {
sqlite3_column_table_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1032     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 }
1036 extern "C" {
sqlite3_column_origin_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1037     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 }
1041 extern "C" {
sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1042     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 }
1046 extern "C" {
sqlite3_column_decltype(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1047     pub fn sqlite3_column_decltype(arg1: *mut sqlite3_stmt,
1048                                    arg2: ::std::os::raw::c_int)
1049      -> *const ::std::os::raw::c_char;
1050 }
1051 extern "C" {
sqlite3_column_decltype16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1052     pub fn sqlite3_column_decltype16(arg1: *mut sqlite3_stmt,
1053                                      arg2: ::std::os::raw::c_int)
1054      -> *const ::std::os::raw::c_void;
1055 }
1056 extern "C" {
sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1057     pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1058 }
1059 extern "C" {
sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1060     pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt)
1061      -> ::std::os::raw::c_int;
1062 }
1063 extern "C" {
sqlite3_column_blob(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1064     pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt,
1065                                iCol: ::std::os::raw::c_int)
1066      -> *const ::std::os::raw::c_void;
1067 }
1068 extern "C" {
sqlite3_column_bytes(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1069     pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt,
1070                                 iCol: ::std::os::raw::c_int)
1071      -> ::std::os::raw::c_int;
1072 }
1073 extern "C" {
sqlite3_column_bytes16(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1074     pub fn sqlite3_column_bytes16(arg1: *mut sqlite3_stmt,
1075                                   iCol: ::std::os::raw::c_int)
1076      -> ::std::os::raw::c_int;
1077 }
1078 extern "C" {
sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f641079     pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt,
1080                                  iCol: ::std::os::raw::c_int) -> f64;
1081 }
1082 extern "C" {
sqlite3_column_int(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1083     pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt,
1084                               iCol: ::std::os::raw::c_int)
1085      -> ::std::os::raw::c_int;
1086 }
1087 extern "C" {
sqlite3_column_int64(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> sqlite3_int641088     pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt,
1089                                 iCol: ::std::os::raw::c_int) -> sqlite3_int64;
1090 }
1091 extern "C" {
sqlite3_column_text(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_uchar1092     pub fn sqlite3_column_text(arg1: *mut sqlite3_stmt,
1093                                iCol: ::std::os::raw::c_int)
1094      -> *const ::std::os::raw::c_uchar;
1095 }
1096 extern "C" {
sqlite3_column_text16(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1097     pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt,
1098                                  iCol: ::std::os::raw::c_int)
1099      -> *const ::std::os::raw::c_void;
1100 }
1101 extern "C" {
sqlite3_column_type(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1102     pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt,
1103                                iCol: ::std::os::raw::c_int)
1104      -> ::std::os::raw::c_int;
1105 }
1106 extern "C" {
sqlite3_column_value(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *mut sqlite3_value1107     pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt,
1108                                 iCol: ::std::os::raw::c_int)
1109      -> *mut sqlite3_value;
1110 }
1111 extern "C" {
sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1112     pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt)
1113      -> ::std::os::raw::c_int;
1114 }
1115 extern "C" {
sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1116     pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1117 }
1118 extern "C" {
sqlite3_create_function(db: *mut sqlite3, zFunctionName: *const ::std::os::raw::c_char, nArg: ::std::os::raw::c_int, eTextRep: ::std::os::raw::c_int, pApp: *mut ::std::os::raw::c_void, 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)>) -> ::std::os::raw::c_int1119     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 }
1144 extern "C" {
sqlite3_create_function16(db: *mut sqlite3, zFunctionName: *const ::std::os::raw::c_void, nArg: ::std::os::raw::c_int, eTextRep: ::std::os::raw::c_int, pApp: *mut ::std::os::raw::c_void, 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)>) -> ::std::os::raw::c_int1145     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 }
1170 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_int1171     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 }
1199 extern "C" {
sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int1200     pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context)
1201      -> ::std::os::raw::c_int;
1202 }
1203 extern "C" {
sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1204     pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1205 }
1206 extern "C" {
sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt) -> ::std::os::raw::c_int1207     pub fn sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt,
1208                                      arg2: *mut sqlite3_stmt)
1209      -> ::std::os::raw::c_int;
1210 }
1211 extern "C" {
sqlite3_global_recover() -> ::std::os::raw::c_int1212     pub fn sqlite3_global_recover() -> ::std::os::raw::c_int;
1213 }
1214 extern "C" {
sqlite3_thread_cleanup()1215     pub fn sqlite3_thread_cleanup();
1216 }
1217 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_int1218     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 }
1228 extern "C" {
sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1229     pub fn sqlite3_value_blob(arg1: *mut sqlite3_value)
1230      -> *const ::std::os::raw::c_void;
1231 }
1232 extern "C" {
sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1233     pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value)
1234      -> ::std::os::raw::c_int;
1235 }
1236 extern "C" {
sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1237     pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value)
1238      -> ::std::os::raw::c_int;
1239 }
1240 extern "C" {
sqlite3_value_double(arg1: *mut sqlite3_value) -> f641241     pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64;
1242 }
1243 extern "C" {
sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1244     pub fn sqlite3_value_int(arg1: *mut sqlite3_value)
1245      -> ::std::os::raw::c_int;
1246 }
1247 extern "C" {
sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int641248     pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64;
1249 }
1250 extern "C" {
sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar1251     pub fn sqlite3_value_text(arg1: *mut sqlite3_value)
1252      -> *const ::std::os::raw::c_uchar;
1253 }
1254 extern "C" {
sqlite3_value_text16(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1255     pub fn sqlite3_value_text16(arg1: *mut sqlite3_value)
1256      -> *const ::std::os::raw::c_void;
1257 }
1258 extern "C" {
sqlite3_value_text16le(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1259     pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value)
1260      -> *const ::std::os::raw::c_void;
1261 }
1262 extern "C" {
sqlite3_value_text16be(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1263     pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value)
1264      -> *const ::std::os::raw::c_void;
1265 }
1266 extern "C" {
sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1267     pub fn sqlite3_value_type(arg1: *mut sqlite3_value)
1268      -> ::std::os::raw::c_int;
1269 }
1270 extern "C" {
sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1271     pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value)
1272      -> ::std::os::raw::c_int;
1273 }
1274 extern "C" {
sqlite3_aggregate_context(arg1: *mut sqlite3_context, nBytes: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void1275     pub fn sqlite3_aggregate_context(arg1: *mut sqlite3_context,
1276                                      nBytes: ::std::os::raw::c_int)
1277      -> *mut ::std::os::raw::c_void;
1278 }
1279 extern "C" {
sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void1280     pub fn sqlite3_user_data(arg1: *mut sqlite3_context)
1281      -> *mut ::std::os::raw::c_void;
1282 }
1283 extern "C" {
sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite31284     pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context)
1285      -> *mut sqlite3;
1286 }
1287 extern "C" {
sqlite3_get_auxdata(arg1: *mut sqlite3_context, N: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void1288     pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context,
1289                                N: ::std::os::raw::c_int)
1290      -> *mut ::std::os::raw::c_void;
1291 }
1292 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)>)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 }
1300 pub type sqlite3_destructor_type =
1301     ::std::option::Option<unsafe extern "C" fn(arg1:
1302                                                    *mut ::std::os::raw::c_void)>;
1303 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)>)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 }
1311 extern "C" {
sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64)1312     pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64);
1313 }
1314 extern "C" {
sqlite3_result_error(arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int)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 }
1319 extern "C" {
sqlite3_result_error16(arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: ::std::os::raw::c_int)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 }
1324 extern "C" {
sqlite3_result_error_toobig(arg1: *mut sqlite3_context)1325     pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context);
1326 }
1327 extern "C" {
sqlite3_result_error_nomem(arg1: *mut sqlite3_context)1328     pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context);
1329 }
1330 extern "C" {
sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1331     pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context,
1332                                      arg2: ::std::os::raw::c_int);
1333 }
1334 extern "C" {
sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1335     pub fn sqlite3_result_int(arg1: *mut sqlite3_context,
1336                               arg2: ::std::os::raw::c_int);
1337 }
1338 extern "C" {
sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64)1339     pub fn sqlite3_result_int64(arg1: *mut sqlite3_context,
1340                                 arg2: sqlite3_int64);
1341 }
1342 extern "C" {
sqlite3_result_null(arg1: *mut sqlite3_context)1343     pub fn sqlite3_result_null(arg1: *mut sqlite3_context);
1344 }
1345 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)>)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 }
1353 extern "C" {
sqlite3_result_text16(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)>)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 }
1361 extern "C" {
sqlite3_result_text16le(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)>)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 }
1369 extern "C" {
sqlite3_result_text16be(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)>)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 }
1377 extern "C" {
sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value)1378     pub fn sqlite3_result_value(arg1: *mut sqlite3_context,
1379                                 arg2: *mut sqlite3_value);
1380 }
1381 extern "C" {
sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int)1382     pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context,
1383                                    n: ::std::os::raw::c_int);
1384 }
1385 extern "C" {
sqlite3_create_collation(arg1: *mut sqlite3, zName: *const ::std::os::raw::c_char, eTextRep: ::std::os::raw::c_int, pArg: *mut ::std::os::raw::c_void, 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>) -> ::std::os::raw::c_int1386     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 }
1405 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_int1406     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 }
1428 extern "C" {
sqlite3_create_collation16(arg1: *mut sqlite3, zName: *const ::std::os::raw::c_void, eTextRep: ::std::os::raw::c_int, pArg: *mut ::std::os::raw::c_void, 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>) -> ::std::os::raw::c_int1429     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 }
1448 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_int1449     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 }
1462 extern "C" {
sqlite3_collation_needed16(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_void)>) -> ::std::os::raw::c_int1463     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 }
1476 extern "C" {
sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1477     pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int)
1478      -> ::std::os::raw::c_int;
1479 }
1480 extern "C" {
1481     #[link_name = "sqlite3_temp_directory"]
1482     pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char;
1483 }
1484 extern "C" {
1485     #[link_name = "sqlite3_data_directory"]
1486     pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char;
1487 }
1488 extern "C" {
sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int1489     pub fn sqlite3_get_autocommit(arg1: *mut sqlite3)
1490      -> ::std::os::raw::c_int;
1491 }
1492 extern "C" {
sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite31493     pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3;
1494 }
1495 extern "C" {
sqlite3_db_filename(db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char1496     pub fn sqlite3_db_filename(db: *mut sqlite3,
1497                                zDbName: *const ::std::os::raw::c_char)
1498      -> *const ::std::os::raw::c_char;
1499 }
1500 extern "C" {
sqlite3_db_readonly(db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int1501     pub fn sqlite3_db_readonly(db: *mut sqlite3,
1502                                zDbName: *const ::std::os::raw::c_char)
1503      -> ::std::os::raw::c_int;
1504 }
1505 extern "C" {
sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt1506     pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt)
1507      -> *mut sqlite3_stmt;
1508 }
1509 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_void1510     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 }
1519 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_void1520     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 }
1527 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_void1528     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 }
1543 extern "C" {
sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1544     pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int)
1545      -> ::std::os::raw::c_int;
1546 }
1547 extern "C" {
sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1548     pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int)
1549      -> ::std::os::raw::c_int;
1550 }
1551 extern "C" {
sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int1552     pub fn sqlite3_db_release_memory(arg1: *mut sqlite3)
1553      -> ::std::os::raw::c_int;
1554 }
1555 extern "C" {
sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int641556     pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64;
1557 }
1558 extern "C" {
sqlite3_soft_heap_limit(N: ::std::os::raw::c_int)1559     pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int);
1560 }
1561 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_int1562     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 }
1579 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_int1580     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 }
1586 extern "C" {
sqlite3_enable_load_extension(db: *mut sqlite3, onoff: ::std::os::raw::c_int) -> ::std::os::raw::c_int1587     pub fn sqlite3_enable_load_extension(db: *mut sqlite3,
1588                                          onoff: ::std::os::raw::c_int)
1589      -> ::std::os::raw::c_int;
1590 }
1591 extern "C" {
sqlite3_auto_extension(xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int1592     pub fn sqlite3_auto_extension(xEntryPoint:
1593                                       ::std::option::Option<unsafe extern "C" fn()>)
1594      -> ::std::os::raw::c_int;
1595 }
1596 extern "C" {
sqlite3_reset_auto_extension()1597     pub fn sqlite3_reset_auto_extension();
1598 }
1599 #[repr(C)]
1600 #[derive(Debug, Copy)]
1601 pub 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]
bindgen_test_layout_sqlite3_vtab()1607 fn 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 }
1611 impl Clone for sqlite3_vtab {
clone(&self) -> Self1612     fn clone(&self) -> Self { *self }
1613 }
1614 #[repr(C)]
1615 #[derive(Debug, Copy)]
1616 pub 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)]
1630 pub 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]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint()1637 fn 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 }
1643 impl Clone for sqlite3_index_info_sqlite3_index_constraint {
clone(&self) -> Self1644     fn clone(&self) -> Self { *self }
1645 }
1646 #[repr(C)]
1647 #[derive(Debug, Copy)]
1648 pub 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]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby()1653 fn 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 }
1659 impl Clone for sqlite3_index_info_sqlite3_index_orderby {
clone(&self) -> Self1660     fn clone(&self) -> Self { *self }
1661 }
1662 #[repr(C)]
1663 #[derive(Debug, Copy)]
1664 pub 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]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage()1669 fn 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 }
1675 impl Clone for sqlite3_index_info_sqlite3_index_constraint_usage {
clone(&self) -> Self1676     fn clone(&self) -> Self { *self }
1677 }
1678 #[test]
bindgen_test_layout_sqlite3_index_info()1679 fn 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 }
1683 impl Clone for sqlite3_index_info {
clone(&self) -> Self1684     fn clone(&self) -> Self { *self }
1685 }
1686 #[repr(C)]
1687 #[derive(Debug, Copy)]
1688 pub struct sqlite3_vtab_cursor {
1689     pub pVtab: *mut sqlite3_vtab,
1690 }
1691 #[test]
bindgen_test_layout_sqlite3_vtab_cursor()1692 fn 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 }
1696 impl Clone for sqlite3_vtab_cursor {
clone(&self) -> Self1697     fn clone(&self) -> Self { *self }
1698 }
1699 #[repr(C)]
1700 #[derive(Debug, Copy)]
1701 pub 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]
bindgen_test_layout_sqlite3_module()1836 fn 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 }
1840 impl Clone for sqlite3_module {
clone(&self) -> Self1841     fn clone(&self) -> Self { *self }
1842 }
1843 extern "C" {
sqlite3_create_module(db: *mut sqlite3, zName: *const ::std::os::raw::c_char, p: *const sqlite3_module, pClientData: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int1844     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 }
1850 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_int1851     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 }
1860 extern "C" {
sqlite3_declare_vtab(arg1: *mut sqlite3, zSQL: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int1861     pub fn sqlite3_declare_vtab(arg1: *mut sqlite3,
1862                                 zSQL: *const ::std::os::raw::c_char)
1863      -> ::std::os::raw::c_int;
1864 }
1865 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_int1866     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)]
1873 pub struct sqlite3_blob([u8; 0]);
1874 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_int1875     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 }
1884 extern "C" {
sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64) -> ::std::os::raw::c_int1885     pub fn sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64)
1886      -> ::std::os::raw::c_int;
1887 }
1888 extern "C" {
sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int1889     pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob)
1890      -> ::std::os::raw::c_int;
1891 }
1892 extern "C" {
sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int1893     pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob)
1894      -> ::std::os::raw::c_int;
1895 }
1896 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_int1897     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 }
1903 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_int1904     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 }
1910 extern "C" {
sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs1911     pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char)
1912      -> *mut sqlite3_vfs;
1913 }
1914 extern "C" {
sqlite3_vfs_register(arg1: *mut sqlite3_vfs, makeDflt: ::std::os::raw::c_int) -> ::std::os::raw::c_int1915     pub fn sqlite3_vfs_register(arg1: *mut sqlite3_vfs,
1916                                 makeDflt: ::std::os::raw::c_int)
1917      -> ::std::os::raw::c_int;
1918 }
1919 extern "C" {
sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int1920     pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs)
1921      -> ::std::os::raw::c_int;
1922 }
1923 extern "C" {
sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex1924     pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int)
1925      -> *mut sqlite3_mutex;
1926 }
1927 extern "C" {
sqlite3_mutex_free(arg1: *mut sqlite3_mutex)1928     pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex);
1929 }
1930 extern "C" {
sqlite3_mutex_enter(arg1: *mut sqlite3_mutex)1931     pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex);
1932 }
1933 extern "C" {
sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1934     pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex)
1935      -> ::std::os::raw::c_int;
1936 }
1937 extern "C" {
sqlite3_mutex_leave(arg1: *mut sqlite3_mutex)1938     pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex);
1939 }
1940 #[repr(C)]
1941 #[derive(Debug, Copy)]
1942 pub 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]
bindgen_test_layout_sqlite3_mutex_methods()1967 fn 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 }
1971 impl Clone for sqlite3_mutex_methods {
clone(&self) -> Self1972     fn clone(&self) -> Self { *self }
1973 }
1974 extern "C" {
sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1975     pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex)
1976      -> ::std::os::raw::c_int;
1977 }
1978 extern "C" {
sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1979     pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex)
1980      -> ::std::os::raw::c_int;
1981 }
1982 extern "C" {
sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex1983     pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex;
1984 }
1985 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_int1986     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 }
1992 extern "C" {
sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int1993     pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...)
1994      -> ::std::os::raw::c_int;
1995 }
1996 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_int1997     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 }
2003 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_int2004     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 }
2010 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_int2011     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)]
2018 pub struct sqlite3_pcache([u8; 0]);
2019 #[repr(C)]
2020 #[derive(Debug, Copy)]
2021 pub 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]
bindgen_test_layout_sqlite3_pcache_page()2026 fn 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 }
2030 impl Clone for sqlite3_pcache_page {
clone(&self) -> Self2031     fn clone(&self) -> Self { *self }
2032 }
2033 #[repr(C)]
2034 #[derive(Debug, Copy)]
2035 pub 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]
bindgen_test_layout_sqlite3_pcache_methods2()2088 fn 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 }
2092 impl Clone for sqlite3_pcache_methods2 {
clone(&self) -> Self2093     fn clone(&self) -> Self { *self }
2094 }
2095 #[repr(C)]
2096 #[derive(Debug, Copy)]
2097 pub 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]
bindgen_test_layout_sqlite3_pcache_methods()2145 fn 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 }
2149 impl Clone for sqlite3_pcache_methods {
clone(&self) -> Self2150     fn clone(&self) -> Self { *self }
2151 }
2152 #[repr(C)]
2153 #[derive(Debug, Copy, Clone)]
2154 pub struct sqlite3_backup([u8; 0]);
2155 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_backup2156     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 }
2162 extern "C" {
sqlite3_backup_step(p: *mut sqlite3_backup, nPage: ::std::os::raw::c_int) -> ::std::os::raw::c_int2163     pub fn sqlite3_backup_step(p: *mut sqlite3_backup,
2164                                nPage: ::std::os::raw::c_int)
2165      -> ::std::os::raw::c_int;
2166 }
2167 extern "C" {
sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2168     pub fn sqlite3_backup_finish(p: *mut sqlite3_backup)
2169      -> ::std::os::raw::c_int;
2170 }
2171 extern "C" {
sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2172     pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup)
2173      -> ::std::os::raw::c_int;
2174 }
2175 extern "C" {
sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2176     pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup)
2177      -> ::std::os::raw::c_int;
2178 }
2179 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_int2180     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 }
2189 extern "C" {
sqlite3_stricmp(arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int2190     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 }
2194 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_int2195     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 }
2200 extern "C" {
sqlite3_log(iErrCode: ::std::os::raw::c_int, zFormat: *const ::std::os::raw::c_char, ...)2201     pub fn sqlite3_log(iErrCode: ::std::os::raw::c_int,
2202                        zFormat: *const ::std::os::raw::c_char, ...);
2203 }
2204 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_void2205     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 }
2220 extern "C" {
sqlite3_wal_autocheckpoint(db: *mut sqlite3, N: ::std::os::raw::c_int) -> ::std::os::raw::c_int2221     pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3,
2222                                       N: ::std::os::raw::c_int)
2223      -> ::std::os::raw::c_int;
2224 }
2225 extern "C" {
sqlite3_wal_checkpoint(db: *mut sqlite3, zDb: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int2226     pub fn sqlite3_wal_checkpoint(db: *mut sqlite3,
2227                                   zDb: *const ::std::os::raw::c_char)
2228      -> ::std::os::raw::c_int;
2229 }
2230 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_int2231     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 }
2238 extern "C" {
sqlite3_vtab_config(arg1: *mut sqlite3, op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int2239     pub fn sqlite3_vtab_config(arg1: *mut sqlite3,
2240                                op: ::std::os::raw::c_int, ...)
2241      -> ::std::os::raw::c_int;
2242 }
2243 extern "C" {
sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int2244     pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3)
2245      -> ::std::os::raw::c_int;
2246 }
2247 #[repr(C)]
2248 #[derive(Debug, Copy)]
2249 pub 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]
bindgen_test_layout_sqlite3_rtree_geometry()2258 fn 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 }
2262 impl Clone for sqlite3_rtree_geometry {
clone(&self) -> Self2263     fn clone(&self) -> Self { *self }
2264 }
2265 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, n: ::std::os::raw::c_int, a: *mut f64, pRes: *mut ::std::os::raw::c_int) -> ::std::os::raw::c_int>, pContext: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int2266     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)]
2286 pub 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 }
2292 impl Clone for __va_list_tag {
clone(&self) -> Self2293     fn clone(&self) -> Self { *self }
2294 }
2295 pub type __builtin_va_list = [__va_list_tag; 1usize];
2296 
2297 pub const SQLITE_DETERMINISTIC: i32 = 2048;
2298