• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* automatically generated by rust-bindgen */
2 
3 pub const __GNUC_VA_LIST: i32 = 1;
4 pub const SQLITE_VERSION: &'static [u8; 6usize] = b"3.7.7\x00";
5 pub const SQLITE_VERSION_NUMBER: i32 = 3007007;
6 pub const SQLITE_SOURCE_ID: &'static [u8; 61usize] =
7     b"2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2\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_LOCKED_SHAREDCACHE: i32 = 262;
60 pub const SQLITE_BUSY_RECOVERY: i32 = 261;
61 pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270;
62 pub const SQLITE_CORRUPT_VTAB: i32 = 267;
63 pub const SQLITE_READONLY_RECOVERY: i32 = 264;
64 pub const SQLITE_READONLY_CANTLOCK: i32 = 520;
65 pub const SQLITE_OPEN_READONLY: i32 = 1;
66 pub const SQLITE_OPEN_READWRITE: i32 = 2;
67 pub const SQLITE_OPEN_CREATE: i32 = 4;
68 pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8;
69 pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16;
70 pub const SQLITE_OPEN_AUTOPROXY: i32 = 32;
71 pub const SQLITE_OPEN_URI: i32 = 64;
72 pub const SQLITE_OPEN_MAIN_DB: i32 = 256;
73 pub const SQLITE_OPEN_TEMP_DB: i32 = 512;
74 pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024;
75 pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048;
76 pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096;
77 pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192;
78 pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384;
79 pub const SQLITE_OPEN_NOMUTEX: i32 = 32768;
80 pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536;
81 pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072;
82 pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144;
83 pub const SQLITE_OPEN_WAL: i32 = 524288;
84 pub const SQLITE_IOCAP_ATOMIC: i32 = 1;
85 pub const SQLITE_IOCAP_ATOMIC512: i32 = 2;
86 pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4;
87 pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8;
88 pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16;
89 pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32;
90 pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64;
91 pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128;
92 pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256;
93 pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512;
94 pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024;
95 pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048;
96 pub const SQLITE_LOCK_NONE: i32 = 0;
97 pub const SQLITE_LOCK_SHARED: i32 = 1;
98 pub const SQLITE_LOCK_RESERVED: i32 = 2;
99 pub const SQLITE_LOCK_PENDING: i32 = 3;
100 pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4;
101 pub const SQLITE_SYNC_NORMAL: i32 = 2;
102 pub const SQLITE_SYNC_FULL: i32 = 3;
103 pub const SQLITE_SYNC_DATAONLY: i32 = 16;
104 pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1;
105 pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2;
106 pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3;
107 pub const SQLITE_LAST_ERRNO: i32 = 4;
108 pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5;
109 pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6;
110 pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7;
111 pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8;
112 pub const SQLITE_ACCESS_EXISTS: i32 = 0;
113 pub const SQLITE_ACCESS_READWRITE: i32 = 1;
114 pub const SQLITE_ACCESS_READ: i32 = 2;
115 pub const SQLITE_SHM_UNLOCK: i32 = 1;
116 pub const SQLITE_SHM_LOCK: i32 = 2;
117 pub const SQLITE_SHM_SHARED: i32 = 4;
118 pub const SQLITE_SHM_EXCLUSIVE: i32 = 8;
119 pub const SQLITE_SHM_NLOCK: i32 = 8;
120 pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1;
121 pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2;
122 pub const SQLITE_CONFIG_SERIALIZED: i32 = 3;
123 pub const SQLITE_CONFIG_MALLOC: i32 = 4;
124 pub const SQLITE_CONFIG_GETMALLOC: i32 = 5;
125 pub const SQLITE_CONFIG_SCRATCH: i32 = 6;
126 pub const SQLITE_CONFIG_PAGECACHE: i32 = 7;
127 pub const SQLITE_CONFIG_HEAP: i32 = 8;
128 pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9;
129 pub const SQLITE_CONFIG_MUTEX: i32 = 10;
130 pub const SQLITE_CONFIG_GETMUTEX: i32 = 11;
131 pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13;
132 pub const SQLITE_CONFIG_PCACHE: i32 = 14;
133 pub const SQLITE_CONFIG_GETPCACHE: i32 = 15;
134 pub const SQLITE_CONFIG_LOG: i32 = 16;
135 pub const SQLITE_CONFIG_URI: i32 = 17;
136 pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001;
137 pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002;
138 pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003;
139 pub const SQLITE_DENY: i32 = 1;
140 pub const SQLITE_IGNORE: i32 = 2;
141 pub const SQLITE_CREATE_INDEX: i32 = 1;
142 pub const SQLITE_CREATE_TABLE: i32 = 2;
143 pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3;
144 pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4;
145 pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5;
146 pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6;
147 pub const SQLITE_CREATE_TRIGGER: i32 = 7;
148 pub const SQLITE_CREATE_VIEW: i32 = 8;
149 pub const SQLITE_DELETE: i32 = 9;
150 pub const SQLITE_DROP_INDEX: i32 = 10;
151 pub const SQLITE_DROP_TABLE: i32 = 11;
152 pub const SQLITE_DROP_TEMP_INDEX: i32 = 12;
153 pub const SQLITE_DROP_TEMP_TABLE: i32 = 13;
154 pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14;
155 pub const SQLITE_DROP_TEMP_VIEW: i32 = 15;
156 pub const SQLITE_DROP_TRIGGER: i32 = 16;
157 pub const SQLITE_DROP_VIEW: i32 = 17;
158 pub const SQLITE_INSERT: i32 = 18;
159 pub const SQLITE_PRAGMA: i32 = 19;
160 pub const SQLITE_READ: i32 = 20;
161 pub const SQLITE_SELECT: i32 = 21;
162 pub const SQLITE_TRANSACTION: i32 = 22;
163 pub const SQLITE_UPDATE: i32 = 23;
164 pub const SQLITE_ATTACH: i32 = 24;
165 pub const SQLITE_DETACH: i32 = 25;
166 pub const SQLITE_ALTER_TABLE: i32 = 26;
167 pub const SQLITE_REINDEX: i32 = 27;
168 pub const SQLITE_ANALYZE: i32 = 28;
169 pub const SQLITE_CREATE_VTABLE: i32 = 29;
170 pub const SQLITE_DROP_VTABLE: i32 = 30;
171 pub const SQLITE_FUNCTION: i32 = 31;
172 pub const SQLITE_SAVEPOINT: i32 = 32;
173 pub const SQLITE_COPY: i32 = 0;
174 pub const SQLITE_LIMIT_LENGTH: i32 = 0;
175 pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1;
176 pub const SQLITE_LIMIT_COLUMN: i32 = 2;
177 pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3;
178 pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4;
179 pub const SQLITE_LIMIT_VDBE_OP: i32 = 5;
180 pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6;
181 pub const SQLITE_LIMIT_ATTACHED: i32 = 7;
182 pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8;
183 pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9;
184 pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10;
185 pub const SQLITE_INTEGER: i32 = 1;
186 pub const SQLITE_FLOAT: i32 = 2;
187 pub const SQLITE_BLOB: i32 = 4;
188 pub const SQLITE_NULL: i32 = 5;
189 pub const SQLITE_TEXT: i32 = 3;
190 pub const SQLITE3_TEXT: i32 = 3;
191 pub const SQLITE_UTF8: i32 = 1;
192 pub const SQLITE_UTF16LE: i32 = 2;
193 pub const SQLITE_UTF16BE: i32 = 3;
194 pub const SQLITE_UTF16: i32 = 4;
195 pub const SQLITE_ANY: i32 = 5;
196 pub const SQLITE_UTF16_ALIGNED: i32 = 8;
197 pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
198 pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
199 pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8;
200 pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16;
201 pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32;
202 pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64;
203 pub const SQLITE_MUTEX_FAST: i32 = 0;
204 pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
205 pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2;
206 pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3;
207 pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4;
208 pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4;
209 pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5;
210 pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6;
211 pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7;
212 pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7;
213 pub const SQLITE_TESTCTRL_FIRST: i32 = 5;
214 pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5;
215 pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6;
216 pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7;
217 pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8;
218 pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9;
219 pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10;
220 pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
221 pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
222 pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
223 pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
224 pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
225 pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
226 pub const SQLITE_TESTCTRL_PGHDRSZ: i32 = 17;
227 pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 18;
228 pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 19;
229 pub const SQLITE_TESTCTRL_LAST: i32 = 19;
230 pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
231 pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
232 pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
233 pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3;
234 pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4;
235 pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5;
236 pub const SQLITE_STATUS_PARSER_STACK: i32 = 6;
237 pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7;
238 pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8;
239 pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9;
240 pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0;
241 pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1;
242 pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2;
243 pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3;
244 pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4;
245 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5;
246 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6;
247 pub const SQLITE_DBSTATUS_MAX: i32 = 6;
248 pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1;
249 pub const SQLITE_STMTSTATUS_SORT: i32 = 2;
250 pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
251 pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
252 pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
253 pub const SQLITE_CHECKPOINT_RESTART: i32 = 2;
254 pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1;
255 pub const SQLITE_ROLLBACK: i32 = 1;
256 pub const SQLITE_FAIL: i32 = 3;
257 pub const SQLITE_REPLACE: i32 = 5;
258 pub type va_list = __builtin_va_list;
259 pub type __gnuc_va_list = __builtin_va_list;
260 extern "C" {
261     #[link_name = "sqlite3_version"]
262     pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize];
263 }
264 extern "C" {
sqlite3_libversion() -> *const ::std::os::raw::c_char265     pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char;
266 }
267 extern "C" {
sqlite3_sourceid() -> *const ::std::os::raw::c_char268     pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char;
269 }
270 extern "C" {
sqlite3_libversion_number() -> ::std::os::raw::c_int271     pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int;
272 }
273 extern "C" {
sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int274     pub fn sqlite3_compileoption_used(zOptName: *const ::std::os::raw::c_char)
275      -> ::std::os::raw::c_int;
276 }
277 extern "C" {
sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char278     pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int)
279      -> *const ::std::os::raw::c_char;
280 }
281 extern "C" {
sqlite3_threadsafe() -> ::std::os::raw::c_int282     pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int;
283 }
284 #[repr(C)]
285 #[derive(Debug, Copy, Clone)]
286 pub struct sqlite3([u8; 0]);
287 pub type sqlite_int64 = ::std::os::raw::c_longlong;
288 pub type sqlite_uint64 = ::std::os::raw::c_ulonglong;
289 pub type sqlite3_int64 = sqlite_int64;
290 pub type sqlite3_uint64 = sqlite_uint64;
291 extern "C" {
sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int292     pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
293 }
294 pub type sqlite3_callback =
295     ::std::option::Option<unsafe extern "C" fn(arg1:
296                                                    *mut ::std::os::raw::c_void,
297                                                arg2: ::std::os::raw::c_int,
298                                                arg3:
299                                                    *mut *mut ::std::os::raw::c_char,
300                                                arg4:
301                                                    *mut *mut ::std::os::raw::c_char)
302                               -> ::std::os::raw::c_int>;
303 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_int304     pub fn sqlite3_exec(arg1: *mut sqlite3,
305                         sql: *const ::std::os::raw::c_char,
306                         callback:
307                             ::std::option::Option<unsafe extern "C" fn(arg1:
308                                                                            *mut ::std::os::raw::c_void,
309                                                                        arg2:
310                                                                            ::std::os::raw::c_int,
311                                                                        arg3:
312                                                                            *mut *mut ::std::os::raw::c_char,
313                                                                        arg4:
314                                                                            *mut *mut ::std::os::raw::c_char)
315                                                       ->
316                                                           ::std::os::raw::c_int>,
317                         arg2: *mut ::std::os::raw::c_void,
318                         errmsg: *mut *mut ::std::os::raw::c_char)
319      -> ::std::os::raw::c_int;
320 }
321 #[repr(C)]
322 #[derive(Debug, Copy)]
323 pub struct sqlite3_file {
324     pub pMethods: *const sqlite3_file_sqlite3_io_methods,
325 }
326 #[repr(C)]
327 #[derive(Debug, Copy)]
328 pub struct sqlite3_file_sqlite3_io_methods {
329     pub iVersion: ::std::os::raw::c_int,
330     pub xClose: ::std::option::Option<unsafe extern "C" fn(arg1:
331                                                                *mut sqlite3_file)
332                                           -> ::std::os::raw::c_int>,
333     pub xRead: ::std::option::Option<unsafe extern "C" fn(arg1:
334                                                               *mut sqlite3_file,
335                                                           arg2:
336                                                               *mut ::std::os::raw::c_void,
337                                                           iAmt:
338                                                               ::std::os::raw::c_int,
339                                                           iOfst:
340                                                               sqlite3_int64)
341                                          -> ::std::os::raw::c_int>,
342     pub xWrite: ::std::option::Option<unsafe extern "C" fn(arg1:
343                                                                *mut sqlite3_file,
344                                                            arg2:
345                                                                *const ::std::os::raw::c_void,
346                                                            iAmt:
347                                                                ::std::os::raw::c_int,
348                                                            iOfst:
349                                                                sqlite3_int64)
350                                           -> ::std::os::raw::c_int>,
351     pub xTruncate: ::std::option::Option<unsafe extern "C" fn(arg1:
352                                                                   *mut sqlite3_file,
353                                                               size:
354                                                                   sqlite3_int64)
355                                              -> ::std::os::raw::c_int>,
356     pub xSync: ::std::option::Option<unsafe extern "C" fn(arg1:
357                                                               *mut sqlite3_file,
358                                                           flags:
359                                                               ::std::os::raw::c_int)
360                                          -> ::std::os::raw::c_int>,
361     pub xFileSize: ::std::option::Option<unsafe extern "C" fn(arg1:
362                                                                   *mut sqlite3_file,
363                                                               pSize:
364                                                                   *mut sqlite3_int64)
365                                              -> ::std::os::raw::c_int>,
366     pub xLock: ::std::option::Option<unsafe extern "C" fn(arg1:
367                                                               *mut sqlite3_file,
368                                                           arg2:
369                                                               ::std::os::raw::c_int)
370                                          -> ::std::os::raw::c_int>,
371     pub xUnlock: ::std::option::Option<unsafe extern "C" fn(arg1:
372                                                                 *mut sqlite3_file,
373                                                             arg2:
374                                                                 ::std::os::raw::c_int)
375                                            -> ::std::os::raw::c_int>,
376     pub xCheckReservedLock: ::std::option::Option<unsafe extern "C" fn(arg1:
377                                                                            *mut sqlite3_file,
378                                                                        pResOut:
379                                                                            *mut ::std::os::raw::c_int)
380                                                       ->
381                                                           ::std::os::raw::c_int>,
382     pub xFileControl: ::std::option::Option<unsafe extern "C" fn(arg1:
383                                                                      *mut sqlite3_file,
384                                                                  op:
385                                                                      ::std::os::raw::c_int,
386                                                                  pArg:
387                                                                      *mut ::std::os::raw::c_void)
388                                                 -> ::std::os::raw::c_int>,
389     pub xSectorSize: ::std::option::Option<unsafe extern "C" fn(arg1:
390                                                                     *mut sqlite3_file)
391                                                -> ::std::os::raw::c_int>,
392     pub xDeviceCharacteristics: ::std::option::Option<unsafe extern "C" fn(arg1:
393                                                                                *mut sqlite3_file)
394                                                           ->
395                                                               ::std::os::raw::c_int>,
396     pub xShmMap: ::std::option::Option<unsafe extern "C" fn(arg1:
397                                                                 *mut sqlite3_file,
398                                                             iPg:
399                                                                 ::std::os::raw::c_int,
400                                                             pgsz:
401                                                                 ::std::os::raw::c_int,
402                                                             arg2:
403                                                                 ::std::os::raw::c_int,
404                                                             arg3:
405                                                                 *mut *mut ::std::os::raw::c_void)
406                                            -> ::std::os::raw::c_int>,
407     pub xShmLock: ::std::option::Option<unsafe extern "C" fn(arg1:
408                                                                  *mut sqlite3_file,
409                                                              offset:
410                                                                  ::std::os::raw::c_int,
411                                                              n:
412                                                                  ::std::os::raw::c_int,
413                                                              flags:
414                                                                  ::std::os::raw::c_int)
415                                             -> ::std::os::raw::c_int>,
416     pub xShmBarrier: ::std::option::Option<unsafe extern "C" fn(arg1:
417                                                                     *mut sqlite3_file)>,
418     pub xShmUnmap: ::std::option::Option<unsafe extern "C" fn(arg1:
419                                                                   *mut sqlite3_file,
420                                                               deleteFlag:
421                                                                   ::std::os::raw::c_int)
422                                              -> ::std::os::raw::c_int>,
423 }
424 #[test]
bindgen_test_layout_sqlite3_file_sqlite3_io_methods()425 fn bindgen_test_layout_sqlite3_file_sqlite3_io_methods() {
426     assert_eq!(::std::mem::size_of::<sqlite3_file_sqlite3_io_methods>() ,
427                136usize);
428     assert_eq!(::std::mem::align_of::<sqlite3_file_sqlite3_io_methods>() ,
429                8usize);
430 }
431 impl Clone for sqlite3_file_sqlite3_io_methods {
clone(&self) -> Self432     fn clone(&self) -> Self { *self }
433 }
434 #[test]
bindgen_test_layout_sqlite3_file()435 fn bindgen_test_layout_sqlite3_file() {
436     assert_eq!(::std::mem::size_of::<sqlite3_file>() , 8usize);
437     assert_eq!(::std::mem::align_of::<sqlite3_file>() , 8usize);
438 }
439 impl Clone for sqlite3_file {
clone(&self) -> Self440     fn clone(&self) -> Self { *self }
441 }
442 pub type sqlite3_io_methods = sqlite3_file_sqlite3_io_methods;
443 #[repr(C)]
444 #[derive(Debug, Copy, Clone)]
445 pub struct sqlite3_mutex([u8; 0]);
446 #[repr(C)]
447 #[derive(Debug, Copy)]
448 pub struct sqlite3_vfs {
449     pub iVersion: ::std::os::raw::c_int,
450     pub szOsFile: ::std::os::raw::c_int,
451     pub mxPathname: ::std::os::raw::c_int,
452     pub pNext: *mut sqlite3_vfs,
453     pub zName: *const ::std::os::raw::c_char,
454     pub pAppData: *mut ::std::os::raw::c_void,
455     pub xOpen: ::std::option::Option<unsafe extern "C" fn(arg1:
456                                                               *mut sqlite3_vfs,
457                                                           zName:
458                                                               *const ::std::os::raw::c_char,
459                                                           arg2:
460                                                               *mut sqlite3_file,
461                                                           flags:
462                                                               ::std::os::raw::c_int,
463                                                           pOutFlags:
464                                                               *mut ::std::os::raw::c_int)
465                                          -> ::std::os::raw::c_int>,
466     pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1:
467                                                                 *mut sqlite3_vfs,
468                                                             zName:
469                                                                 *const ::std::os::raw::c_char,
470                                                             syncDir:
471                                                                 ::std::os::raw::c_int)
472                                            -> ::std::os::raw::c_int>,
473     pub xAccess: ::std::option::Option<unsafe extern "C" fn(arg1:
474                                                                 *mut sqlite3_vfs,
475                                                             zName:
476                                                                 *const ::std::os::raw::c_char,
477                                                             flags:
478                                                                 ::std::os::raw::c_int,
479                                                             pResOut:
480                                                                 *mut ::std::os::raw::c_int)
481                                            -> ::std::os::raw::c_int>,
482     pub xFullPathname: ::std::option::Option<unsafe extern "C" fn(arg1:
483                                                                       *mut sqlite3_vfs,
484                                                                   zName:
485                                                                       *const ::std::os::raw::c_char,
486                                                                   nOut:
487                                                                       ::std::os::raw::c_int,
488                                                                   zOut:
489                                                                       *mut ::std::os::raw::c_char)
490                                                  -> ::std::os::raw::c_int>,
491     pub xDlOpen: ::std::option::Option<unsafe extern "C" fn(arg1:
492                                                                 *mut sqlite3_vfs,
493                                                             zFilename:
494                                                                 *const ::std::os::raw::c_char)
495                                            -> *mut ::std::os::raw::c_void>,
496     pub xDlError: ::std::option::Option<unsafe extern "C" fn(arg1:
497                                                                  *mut sqlite3_vfs,
498                                                              nByte:
499                                                                  ::std::os::raw::c_int,
500                                                              zErrMsg:
501                                                                  *mut ::std::os::raw::c_char)>,
502     pub xDlSym: ::std::option::Option<unsafe extern "C" fn(arg1:
503                                                                *mut sqlite3_vfs,
504                                                            arg2:
505                                                                *mut ::std::os::raw::c_void,
506                                                            zSymbol:
507                                                                *const ::std::os::raw::c_char)
508                                           ->
509                                               ::std::option::Option<unsafe extern "C" fn()>>,
510     pub xDlClose: ::std::option::Option<unsafe extern "C" fn(arg1:
511                                                                  *mut sqlite3_vfs,
512                                                              arg2:
513                                                                  *mut ::std::os::raw::c_void)>,
514     pub xRandomness: ::std::option::Option<unsafe extern "C" fn(arg1:
515                                                                     *mut sqlite3_vfs,
516                                                                 nByte:
517                                                                     ::std::os::raw::c_int,
518                                                                 zOut:
519                                                                     *mut ::std::os::raw::c_char)
520                                                -> ::std::os::raw::c_int>,
521     pub xSleep: ::std::option::Option<unsafe extern "C" fn(arg1:
522                                                                *mut sqlite3_vfs,
523                                                            microseconds:
524                                                                ::std::os::raw::c_int)
525                                           -> ::std::os::raw::c_int>,
526     pub xCurrentTime: ::std::option::Option<unsafe extern "C" fn(arg1:
527                                                                      *mut sqlite3_vfs,
528                                                                  arg2:
529                                                                      *mut f64)
530                                                 -> ::std::os::raw::c_int>,
531     pub xGetLastError: ::std::option::Option<unsafe extern "C" fn(arg1:
532                                                                       *mut sqlite3_vfs,
533                                                                   arg2:
534                                                                       ::std::os::raw::c_int,
535                                                                   arg3:
536                                                                       *mut ::std::os::raw::c_char)
537                                                  -> ::std::os::raw::c_int>,
538     pub xCurrentTimeInt64: ::std::option::Option<unsafe extern "C" fn(arg1:
539                                                                           *mut sqlite3_vfs,
540                                                                       arg2:
541                                                                           *mut sqlite3_int64)
542                                                      ->
543                                                          ::std::os::raw::c_int>,
544     pub xSetSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
545                                                                        *mut sqlite3_vfs,
546                                                                    zName:
547                                                                        *const ::std::os::raw::c_char,
548                                                                    arg2:
549                                                                        sqlite3_syscall_ptr)
550                                                   -> ::std::os::raw::c_int>,
551     pub xGetSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
552                                                                        *mut sqlite3_vfs,
553                                                                    zName:
554                                                                        *const ::std::os::raw::c_char)
555                                                   ->
556                                                       ::std::option::Option<unsafe extern "C" fn()>>,
557     pub xNextSystemCall: ::std::option::Option<unsafe extern "C" fn(arg1:
558                                                                         *mut sqlite3_vfs,
559                                                                     zName:
560                                                                         *const ::std::os::raw::c_char)
561                                                    ->
562                                                        *const ::std::os::raw::c_char>,
563 }
564 #[test]
bindgen_test_layout_sqlite3_vfs()565 fn bindgen_test_layout_sqlite3_vfs() {
566     assert_eq!(::std::mem::size_of::<sqlite3_vfs>() , 168usize);
567     assert_eq!(::std::mem::align_of::<sqlite3_vfs>() , 8usize);
568 }
569 impl Clone for sqlite3_vfs {
clone(&self) -> Self570     fn clone(&self) -> Self { *self }
571 }
572 pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>;
573 extern "C" {
sqlite3_initialize() -> ::std::os::raw::c_int574     pub fn sqlite3_initialize() -> ::std::os::raw::c_int;
575 }
576 extern "C" {
sqlite3_shutdown() -> ::std::os::raw::c_int577     pub fn sqlite3_shutdown() -> ::std::os::raw::c_int;
578 }
579 extern "C" {
sqlite3_os_init() -> ::std::os::raw::c_int580     pub fn sqlite3_os_init() -> ::std::os::raw::c_int;
581 }
582 extern "C" {
sqlite3_os_end() -> ::std::os::raw::c_int583     pub fn sqlite3_os_end() -> ::std::os::raw::c_int;
584 }
585 extern "C" {
sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int586     pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...)
587      -> ::std::os::raw::c_int;
588 }
589 extern "C" {
sqlite3_db_config(arg1: *mut sqlite3, op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int590     pub fn sqlite3_db_config(arg1: *mut sqlite3,
591                              op: ::std::os::raw::c_int, ...)
592      -> ::std::os::raw::c_int;
593 }
594 #[repr(C)]
595 #[derive(Debug, Copy)]
596 pub struct sqlite3_mem_methods {
597     pub xMalloc: ::std::option::Option<unsafe extern "C" fn(arg1:
598                                                                 ::std::os::raw::c_int)
599                                            -> *mut ::std::os::raw::c_void>,
600     pub xFree: ::std::option::Option<unsafe extern "C" fn(arg1:
601                                                               *mut ::std::os::raw::c_void)>,
602     pub xRealloc: ::std::option::Option<unsafe extern "C" fn(arg1:
603                                                                  *mut ::std::os::raw::c_void,
604                                                              arg2:
605                                                                  ::std::os::raw::c_int)
606                                             -> *mut ::std::os::raw::c_void>,
607     pub xSize: ::std::option::Option<unsafe extern "C" fn(arg1:
608                                                               *mut ::std::os::raw::c_void)
609                                          -> ::std::os::raw::c_int>,
610     pub xRoundup: ::std::option::Option<unsafe extern "C" fn(arg1:
611                                                                  ::std::os::raw::c_int)
612                                             -> ::std::os::raw::c_int>,
613     pub xInit: ::std::option::Option<unsafe extern "C" fn(arg1:
614                                                               *mut ::std::os::raw::c_void)
615                                          -> ::std::os::raw::c_int>,
616     pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1:
617                                                                   *mut ::std::os::raw::c_void)>,
618     pub pAppData: *mut ::std::os::raw::c_void,
619 }
620 #[test]
bindgen_test_layout_sqlite3_mem_methods()621 fn bindgen_test_layout_sqlite3_mem_methods() {
622     assert_eq!(::std::mem::size_of::<sqlite3_mem_methods>() , 64usize);
623     assert_eq!(::std::mem::align_of::<sqlite3_mem_methods>() , 8usize);
624 }
625 impl Clone for sqlite3_mem_methods {
clone(&self) -> Self626     fn clone(&self) -> Self { *self }
627 }
628 extern "C" {
sqlite3_extended_result_codes(arg1: *mut sqlite3, onoff: ::std::os::raw::c_int) -> ::std::os::raw::c_int629     pub fn sqlite3_extended_result_codes(arg1: *mut sqlite3,
630                                          onoff: ::std::os::raw::c_int)
631      -> ::std::os::raw::c_int;
632 }
633 extern "C" {
sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64634     pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64;
635 }
636 extern "C" {
sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int637     pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
638 }
639 extern "C" {
sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int640     pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
641 }
642 extern "C" {
sqlite3_interrupt(arg1: *mut sqlite3)643     pub fn sqlite3_interrupt(arg1: *mut sqlite3);
644 }
645 extern "C" {
sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int646     pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char)
647      -> ::std::os::raw::c_int;
648 }
649 extern "C" {
sqlite3_complete16(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int650     pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void)
651      -> ::std::os::raw::c_int;
652 }
653 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_int654     pub fn sqlite3_busy_handler(arg1: *mut sqlite3,
655                                 arg2:
656                                     ::std::option::Option<unsafe extern "C" fn(arg1:
657                                                                                    *mut ::std::os::raw::c_void,
658                                                                                arg2:
659                                                                                    ::std::os::raw::c_int)
660                                                               ->
661                                                                   ::std::os::raw::c_int>,
662                                 arg3: *mut ::std::os::raw::c_void)
663      -> ::std::os::raw::c_int;
664 }
665 extern "C" {
sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int) -> ::std::os::raw::c_int666     pub fn sqlite3_busy_timeout(arg1: *mut sqlite3, ms: ::std::os::raw::c_int)
667      -> ::std::os::raw::c_int;
668 }
669 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_int670     pub fn sqlite3_get_table(db: *mut sqlite3,
671                              zSql: *const ::std::os::raw::c_char,
672                              pazResult: *mut *mut *mut ::std::os::raw::c_char,
673                              pnRow: *mut ::std::os::raw::c_int,
674                              pnColumn: *mut ::std::os::raw::c_int,
675                              pzErrmsg: *mut *mut ::std::os::raw::c_char)
676      -> ::std::os::raw::c_int;
677 }
678 extern "C" {
sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char)679     pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char);
680 }
681 extern "C" {
sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) -> *mut ::std::os::raw::c_char682     pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...)
683      -> *mut ::std::os::raw::c_char;
684 }
685 extern "C" {
sqlite3_vmprintf(arg1: *const ::std::os::raw::c_char, arg2: *mut __va_list_tag) -> *mut ::std::os::raw::c_char686     pub fn sqlite3_vmprintf(arg1: *const ::std::os::raw::c_char,
687                             arg2: *mut __va_list_tag)
688      -> *mut ::std::os::raw::c_char;
689 }
690 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_char691     pub fn sqlite3_snprintf(arg1: ::std::os::raw::c_int,
692                             arg2: *mut ::std::os::raw::c_char,
693                             arg3: *const ::std::os::raw::c_char, ...)
694      -> *mut ::std::os::raw::c_char;
695 }
696 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_char697     pub fn sqlite3_vsnprintf(arg1: ::std::os::raw::c_int,
698                              arg2: *mut ::std::os::raw::c_char,
699                              arg3: *const ::std::os::raw::c_char,
700                              arg4: *mut __va_list_tag)
701      -> *mut ::std::os::raw::c_char;
702 }
703 extern "C" {
sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void704     pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int)
705      -> *mut ::std::os::raw::c_void;
706 }
707 extern "C" {
sqlite3_realloc(arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void708     pub fn sqlite3_realloc(arg1: *mut ::std::os::raw::c_void,
709                            arg2: ::std::os::raw::c_int)
710      -> *mut ::std::os::raw::c_void;
711 }
712 extern "C" {
sqlite3_free(arg1: *mut ::std::os::raw::c_void)713     pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void);
714 }
715 extern "C" {
sqlite3_memory_used() -> sqlite3_int64716     pub fn sqlite3_memory_used() -> sqlite3_int64;
717 }
718 extern "C" {
sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64719     pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int)
720      -> sqlite3_int64;
721 }
722 extern "C" {
sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void)723     pub fn sqlite3_randomness(N: ::std::os::raw::c_int,
724                               P: *mut ::std::os::raw::c_void);
725 }
726 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_int727     pub fn sqlite3_set_authorizer(arg1: *mut sqlite3,
728                                   xAuth:
729                                       ::std::option::Option<unsafe extern "C" fn(arg1:
730                                                                                      *mut ::std::os::raw::c_void,
731                                                                                  arg2:
732                                                                                      ::std::os::raw::c_int,
733                                                                                  arg3:
734                                                                                      *const ::std::os::raw::c_char,
735                                                                                  arg4:
736                                                                                      *const ::std::os::raw::c_char,
737                                                                                  arg5:
738                                                                                      *const ::std::os::raw::c_char,
739                                                                                  arg6:
740                                                                                      *const ::std::os::raw::c_char)
741                                                                 ->
742                                                                     ::std::os::raw::c_int>,
743                                   pUserData: *mut ::std::os::raw::c_void)
744      -> ::std::os::raw::c_int;
745 }
746 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_void747     pub fn sqlite3_trace(arg1: *mut sqlite3,
748                          xTrace:
749                              ::std::option::Option<unsafe extern "C" fn(arg1:
750                                                                             *mut ::std::os::raw::c_void,
751                                                                         arg2:
752                                                                             *const ::std::os::raw::c_char)>,
753                          arg2: *mut ::std::os::raw::c_void)
754      -> *mut ::std::os::raw::c_void;
755 }
756 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_void757     pub fn sqlite3_profile(arg1: *mut sqlite3,
758                            xProfile:
759                                ::std::option::Option<unsafe extern "C" fn(arg1:
760                                                                               *mut ::std::os::raw::c_void,
761                                                                           arg2:
762                                                                               *const ::std::os::raw::c_char,
763                                                                           arg3:
764                                                                               sqlite3_uint64)>,
765                            arg2: *mut ::std::os::raw::c_void)
766      -> *mut ::std::os::raw::c_void;
767 }
768 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)769     pub fn sqlite3_progress_handler(arg1: *mut sqlite3,
770                                     arg2: ::std::os::raw::c_int,
771                                     arg3:
772                                         ::std::option::Option<unsafe extern "C" fn(arg1:
773                                                                                        *mut ::std::os::raw::c_void)
774                                                                   ->
775                                                                       ::std::os::raw::c_int>,
776                                     arg4: *mut ::std::os::raw::c_void);
777 }
778 extern "C" {
sqlite3_open(filename: *const ::std::os::raw::c_char, ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int779     pub fn sqlite3_open(filename: *const ::std::os::raw::c_char,
780                         ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
781 }
782 extern "C" {
sqlite3_open16(filename: *const ::std::os::raw::c_void, ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int783     pub fn sqlite3_open16(filename: *const ::std::os::raw::c_void,
784                           ppDb: *mut *mut sqlite3) -> ::std::os::raw::c_int;
785 }
786 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_int787     pub fn sqlite3_open_v2(filename: *const ::std::os::raw::c_char,
788                            ppDb: *mut *mut sqlite3,
789                            flags: ::std::os::raw::c_int,
790                            zVfs: *const ::std::os::raw::c_char)
791      -> ::std::os::raw::c_int;
792 }
793 extern "C" {
sqlite3_uri_parameter(zFilename: *const ::std::os::raw::c_char, zParam: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char794     pub fn sqlite3_uri_parameter(zFilename: *const ::std::os::raw::c_char,
795                                  zParam: *const ::std::os::raw::c_char)
796      -> *const ::std::os::raw::c_char;
797 }
798 extern "C" {
sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int799     pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int;
800 }
801 extern "C" {
sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int802     pub fn sqlite3_extended_errcode(db: *mut sqlite3)
803      -> ::std::os::raw::c_int;
804 }
805 extern "C" {
sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char806     pub fn sqlite3_errmsg(arg1: *mut sqlite3)
807      -> *const ::std::os::raw::c_char;
808 }
809 extern "C" {
sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void810     pub fn sqlite3_errmsg16(arg1: *mut sqlite3)
811      -> *const ::std::os::raw::c_void;
812 }
813 #[repr(C)]
814 #[derive(Debug, Copy, Clone)]
815 pub struct sqlite3_stmt([u8; 0]);
816 extern "C" {
sqlite3_limit(arg1: *mut sqlite3, id: ::std::os::raw::c_int, newVal: ::std::os::raw::c_int) -> ::std::os::raw::c_int817     pub fn sqlite3_limit(arg1: *mut sqlite3, id: ::std::os::raw::c_int,
818                          newVal: ::std::os::raw::c_int)
819      -> ::std::os::raw::c_int;
820 }
821 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_int822     pub fn sqlite3_prepare(db: *mut sqlite3,
823                            zSql: *const ::std::os::raw::c_char,
824                            nByte: ::std::os::raw::c_int,
825                            ppStmt: *mut *mut sqlite3_stmt,
826                            pzTail: *mut *const ::std::os::raw::c_char)
827      -> ::std::os::raw::c_int;
828 }
829 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_int830     pub fn sqlite3_prepare_v2(db: *mut sqlite3,
831                               zSql: *const ::std::os::raw::c_char,
832                               nByte: ::std::os::raw::c_int,
833                               ppStmt: *mut *mut sqlite3_stmt,
834                               pzTail: *mut *const ::std::os::raw::c_char)
835      -> ::std::os::raw::c_int;
836 }
837 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_int838     pub fn sqlite3_prepare16(db: *mut sqlite3,
839                              zSql: *const ::std::os::raw::c_void,
840                              nByte: ::std::os::raw::c_int,
841                              ppStmt: *mut *mut sqlite3_stmt,
842                              pzTail: *mut *const ::std::os::raw::c_void)
843      -> ::std::os::raw::c_int;
844 }
845 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_int846     pub fn sqlite3_prepare16_v2(db: *mut sqlite3,
847                                 zSql: *const ::std::os::raw::c_void,
848                                 nByte: ::std::os::raw::c_int,
849                                 ppStmt: *mut *mut sqlite3_stmt,
850                                 pzTail: *mut *const ::std::os::raw::c_void)
851      -> ::std::os::raw::c_int;
852 }
853 extern "C" {
sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char854     pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt)
855      -> *const ::std::os::raw::c_char;
856 }
857 extern "C" {
sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int858     pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt)
859      -> ::std::os::raw::c_int;
860 }
861 #[repr(C)]
862 #[derive(Debug, Copy, Clone)]
863 pub struct Mem([u8; 0]);
864 pub type sqlite3_value = Mem;
865 #[repr(C)]
866 #[derive(Debug, Copy, Clone)]
867 pub struct sqlite3_context([u8; 0]);
868 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_int869     pub fn sqlite3_bind_blob(arg1: *mut sqlite3_stmt,
870                              arg2: ::std::os::raw::c_int,
871                              arg3: *const ::std::os::raw::c_void,
872                              n: ::std::os::raw::c_int,
873                              arg4:
874                                  ::std::option::Option<unsafe extern "C" fn(arg1:
875                                                                                 *mut ::std::os::raw::c_void)>)
876      -> ::std::os::raw::c_int;
877 }
878 extern "C" {
sqlite3_bind_double(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: f64) -> ::std::os::raw::c_int879     pub fn sqlite3_bind_double(arg1: *mut sqlite3_stmt,
880                                arg2: ::std::os::raw::c_int, arg3: f64)
881      -> ::std::os::raw::c_int;
882 }
883 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_int884     pub fn sqlite3_bind_int(arg1: *mut sqlite3_stmt,
885                             arg2: ::std::os::raw::c_int,
886                             arg3: ::std::os::raw::c_int)
887      -> ::std::os::raw::c_int;
888 }
889 extern "C" {
sqlite3_bind_int64(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_int64) -> ::std::os::raw::c_int890     pub fn sqlite3_bind_int64(arg1: *mut sqlite3_stmt,
891                               arg2: ::std::os::raw::c_int,
892                               arg3: sqlite3_int64) -> ::std::os::raw::c_int;
893 }
894 extern "C" {
sqlite3_bind_null(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int895     pub fn sqlite3_bind_null(arg1: *mut sqlite3_stmt,
896                              arg2: ::std::os::raw::c_int)
897      -> ::std::os::raw::c_int;
898 }
899 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_int900     pub fn sqlite3_bind_text(arg1: *mut sqlite3_stmt,
901                              arg2: ::std::os::raw::c_int,
902                              arg3: *const ::std::os::raw::c_char,
903                              n: ::std::os::raw::c_int,
904                              arg4:
905                                  ::std::option::Option<unsafe extern "C" fn(arg1:
906                                                                                 *mut ::std::os::raw::c_void)>)
907      -> ::std::os::raw::c_int;
908 }
909 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_int910     pub fn sqlite3_bind_text16(arg1: *mut sqlite3_stmt,
911                                arg2: ::std::os::raw::c_int,
912                                arg3: *const ::std::os::raw::c_void,
913                                arg4: ::std::os::raw::c_int,
914                                arg5:
915                                    ::std::option::Option<unsafe extern "C" fn(arg1:
916                                                                                   *mut ::std::os::raw::c_void)>)
917      -> ::std::os::raw::c_int;
918 }
919 extern "C" {
sqlite3_bind_value(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const sqlite3_value) -> ::std::os::raw::c_int920     pub fn sqlite3_bind_value(arg1: *mut sqlite3_stmt,
921                               arg2: ::std::os::raw::c_int,
922                               arg3: *const sqlite3_value)
923      -> ::std::os::raw::c_int;
924 }
925 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_int926     pub fn sqlite3_bind_zeroblob(arg1: *mut sqlite3_stmt,
927                                  arg2: ::std::os::raw::c_int,
928                                  n: ::std::os::raw::c_int)
929      -> ::std::os::raw::c_int;
930 }
931 extern "C" {
sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int932     pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt)
933      -> ::std::os::raw::c_int;
934 }
935 extern "C" {
sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char936     pub fn sqlite3_bind_parameter_name(arg1: *mut sqlite3_stmt,
937                                        arg2: ::std::os::raw::c_int)
938      -> *const ::std::os::raw::c_char;
939 }
940 extern "C" {
sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt, zName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int941     pub fn sqlite3_bind_parameter_index(arg1: *mut sqlite3_stmt,
942                                         zName: *const ::std::os::raw::c_char)
943      -> ::std::os::raw::c_int;
944 }
945 extern "C" {
sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int946     pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt)
947      -> ::std::os::raw::c_int;
948 }
949 extern "C" {
sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int950     pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt)
951      -> ::std::os::raw::c_int;
952 }
953 extern "C" {
sqlite3_column_name(arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char954     pub fn sqlite3_column_name(arg1: *mut sqlite3_stmt,
955                                N: ::std::os::raw::c_int)
956      -> *const ::std::os::raw::c_char;
957 }
958 extern "C" {
sqlite3_column_name16(arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void959     pub fn sqlite3_column_name16(arg1: *mut sqlite3_stmt,
960                                  N: ::std::os::raw::c_int)
961      -> *const ::std::os::raw::c_void;
962 }
963 extern "C" {
sqlite3_column_database_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char964     pub fn sqlite3_column_database_name(arg1: *mut sqlite3_stmt,
965                                         arg2: ::std::os::raw::c_int)
966      -> *const ::std::os::raw::c_char;
967 }
968 extern "C" {
sqlite3_column_database_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void969     pub fn sqlite3_column_database_name16(arg1: *mut sqlite3_stmt,
970                                           arg2: ::std::os::raw::c_int)
971      -> *const ::std::os::raw::c_void;
972 }
973 extern "C" {
sqlite3_column_table_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char974     pub fn sqlite3_column_table_name(arg1: *mut sqlite3_stmt,
975                                      arg2: ::std::os::raw::c_int)
976      -> *const ::std::os::raw::c_char;
977 }
978 extern "C" {
sqlite3_column_table_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void979     pub fn sqlite3_column_table_name16(arg1: *mut sqlite3_stmt,
980                                        arg2: ::std::os::raw::c_int)
981      -> *const ::std::os::raw::c_void;
982 }
983 extern "C" {
sqlite3_column_origin_name(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char984     pub fn sqlite3_column_origin_name(arg1: *mut sqlite3_stmt,
985                                       arg2: ::std::os::raw::c_int)
986      -> *const ::std::os::raw::c_char;
987 }
988 extern "C" {
sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void989     pub fn sqlite3_column_origin_name16(arg1: *mut sqlite3_stmt,
990                                         arg2: ::std::os::raw::c_int)
991      -> *const ::std::os::raw::c_void;
992 }
993 extern "C" {
sqlite3_column_decltype(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char994     pub fn sqlite3_column_decltype(arg1: *mut sqlite3_stmt,
995                                    arg2: ::std::os::raw::c_int)
996      -> *const ::std::os::raw::c_char;
997 }
998 extern "C" {
sqlite3_column_decltype16(arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void999     pub fn sqlite3_column_decltype16(arg1: *mut sqlite3_stmt,
1000                                      arg2: ::std::os::raw::c_int)
1001      -> *const ::std::os::raw::c_void;
1002 }
1003 extern "C" {
sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1004     pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1005 }
1006 extern "C" {
sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1007     pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt)
1008      -> ::std::os::raw::c_int;
1009 }
1010 extern "C" {
sqlite3_column_blob(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1011     pub fn sqlite3_column_blob(arg1: *mut sqlite3_stmt,
1012                                iCol: ::std::os::raw::c_int)
1013      -> *const ::std::os::raw::c_void;
1014 }
1015 extern "C" {
sqlite3_column_bytes(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1016     pub fn sqlite3_column_bytes(arg1: *mut sqlite3_stmt,
1017                                 iCol: ::std::os::raw::c_int)
1018      -> ::std::os::raw::c_int;
1019 }
1020 extern "C" {
sqlite3_column_bytes16(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1021     pub fn sqlite3_column_bytes16(arg1: *mut sqlite3_stmt,
1022                                   iCol: ::std::os::raw::c_int)
1023      -> ::std::os::raw::c_int;
1024 }
1025 extern "C" {
sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f641026     pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt,
1027                                  iCol: ::std::os::raw::c_int) -> f64;
1028 }
1029 extern "C" {
sqlite3_column_int(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1030     pub fn sqlite3_column_int(arg1: *mut sqlite3_stmt,
1031                               iCol: ::std::os::raw::c_int)
1032      -> ::std::os::raw::c_int;
1033 }
1034 extern "C" {
sqlite3_column_int64(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> sqlite3_int641035     pub fn sqlite3_column_int64(arg1: *mut sqlite3_stmt,
1036                                 iCol: ::std::os::raw::c_int) -> sqlite3_int64;
1037 }
1038 extern "C" {
sqlite3_column_text(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_uchar1039     pub fn sqlite3_column_text(arg1: *mut sqlite3_stmt,
1040                                iCol: ::std::os::raw::c_int)
1041      -> *const ::std::os::raw::c_uchar;
1042 }
1043 extern "C" {
sqlite3_column_text16(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *const ::std::os::raw::c_void1044     pub fn sqlite3_column_text16(arg1: *mut sqlite3_stmt,
1045                                  iCol: ::std::os::raw::c_int)
1046      -> *const ::std::os::raw::c_void;
1047 }
1048 extern "C" {
sqlite3_column_type(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> ::std::os::raw::c_int1049     pub fn sqlite3_column_type(arg1: *mut sqlite3_stmt,
1050                                iCol: ::std::os::raw::c_int)
1051      -> ::std::os::raw::c_int;
1052 }
1053 extern "C" {
sqlite3_column_value(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> *mut sqlite3_value1054     pub fn sqlite3_column_value(arg1: *mut sqlite3_stmt,
1055                                 iCol: ::std::os::raw::c_int)
1056      -> *mut sqlite3_value;
1057 }
1058 extern "C" {
sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1059     pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt)
1060      -> ::std::os::raw::c_int;
1061 }
1062 extern "C" {
sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1063     pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1064 }
1065 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_int1066     pub fn sqlite3_create_function(db: *mut sqlite3,
1067                                    zFunctionName:
1068                                        *const ::std::os::raw::c_char,
1069                                    nArg: ::std::os::raw::c_int,
1070                                    eTextRep: ::std::os::raw::c_int,
1071                                    pApp: *mut ::std::os::raw::c_void,
1072                                    xFunc:
1073                                        ::std::option::Option<unsafe extern "C" fn(arg1:
1074                                                                                       *mut sqlite3_context,
1075                                                                                   arg2:
1076                                                                                       ::std::os::raw::c_int,
1077                                                                                   arg3:
1078                                                                                       *mut *mut sqlite3_value)>,
1079                                    xStep:
1080                                        ::std::option::Option<unsafe extern "C" fn(arg1:
1081                                                                                       *mut sqlite3_context,
1082                                                                                   arg2:
1083                                                                                       ::std::os::raw::c_int,
1084                                                                                   arg3:
1085                                                                                       *mut *mut sqlite3_value)>,
1086                                    xFinal:
1087                                        ::std::option::Option<unsafe extern "C" fn(arg1:
1088                                                                                       *mut sqlite3_context)>)
1089      -> ::std::os::raw::c_int;
1090 }
1091 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_int1092     pub fn sqlite3_create_function16(db: *mut sqlite3,
1093                                      zFunctionName:
1094                                          *const ::std::os::raw::c_void,
1095                                      nArg: ::std::os::raw::c_int,
1096                                      eTextRep: ::std::os::raw::c_int,
1097                                      pApp: *mut ::std::os::raw::c_void,
1098                                      xFunc:
1099                                          ::std::option::Option<unsafe extern "C" fn(arg1:
1100                                                                                         *mut sqlite3_context,
1101                                                                                     arg2:
1102                                                                                         ::std::os::raw::c_int,
1103                                                                                     arg3:
1104                                                                                         *mut *mut sqlite3_value)>,
1105                                      xStep:
1106                                          ::std::option::Option<unsafe extern "C" fn(arg1:
1107                                                                                         *mut sqlite3_context,
1108                                                                                     arg2:
1109                                                                                         ::std::os::raw::c_int,
1110                                                                                     arg3:
1111                                                                                         *mut *mut sqlite3_value)>,
1112                                      xFinal:
1113                                          ::std::option::Option<unsafe extern "C" fn(arg1:
1114                                                                                         *mut sqlite3_context)>)
1115      -> ::std::os::raw::c_int;
1116 }
1117 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_int1118     pub fn sqlite3_create_function_v2(db: *mut sqlite3,
1119                                       zFunctionName:
1120                                           *const ::std::os::raw::c_char,
1121                                       nArg: ::std::os::raw::c_int,
1122                                       eTextRep: ::std::os::raw::c_int,
1123                                       pApp: *mut ::std::os::raw::c_void,
1124                                       xFunc:
1125                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1126                                                                                          *mut sqlite3_context,
1127                                                                                      arg2:
1128                                                                                          ::std::os::raw::c_int,
1129                                                                                      arg3:
1130                                                                                          *mut *mut sqlite3_value)>,
1131                                       xStep:
1132                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1133                                                                                          *mut sqlite3_context,
1134                                                                                      arg2:
1135                                                                                          ::std::os::raw::c_int,
1136                                                                                      arg3:
1137                                                                                          *mut *mut sqlite3_value)>,
1138                                       xFinal:
1139                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1140                                                                                          *mut sqlite3_context)>,
1141                                       xDestroy:
1142                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1143                                                                                          *mut ::std::os::raw::c_void)>)
1144      -> ::std::os::raw::c_int;
1145 }
1146 extern "C" {
sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int1147     pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context)
1148      -> ::std::os::raw::c_int;
1149 }
1150 extern "C" {
sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1151     pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1152 }
1153 extern "C" {
sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt) -> ::std::os::raw::c_int1154     pub fn sqlite3_transfer_bindings(arg1: *mut sqlite3_stmt,
1155                                      arg2: *mut sqlite3_stmt)
1156      -> ::std::os::raw::c_int;
1157 }
1158 extern "C" {
sqlite3_global_recover() -> ::std::os::raw::c_int1159     pub fn sqlite3_global_recover() -> ::std::os::raw::c_int;
1160 }
1161 extern "C" {
sqlite3_thread_cleanup()1162     pub fn sqlite3_thread_cleanup();
1163 }
1164 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_int1165     pub fn sqlite3_memory_alarm(arg1:
1166                                     ::std::option::Option<unsafe extern "C" fn(arg1:
1167                                                                                    *mut ::std::os::raw::c_void,
1168                                                                                arg2:
1169                                                                                    sqlite3_int64,
1170                                                                                arg3:
1171                                                                                    ::std::os::raw::c_int)>,
1172                                 arg2: *mut ::std::os::raw::c_void,
1173                                 arg3: sqlite3_int64) -> ::std::os::raw::c_int;
1174 }
1175 extern "C" {
sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1176     pub fn sqlite3_value_blob(arg1: *mut sqlite3_value)
1177      -> *const ::std::os::raw::c_void;
1178 }
1179 extern "C" {
sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1180     pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value)
1181      -> ::std::os::raw::c_int;
1182 }
1183 extern "C" {
sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1184     pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value)
1185      -> ::std::os::raw::c_int;
1186 }
1187 extern "C" {
sqlite3_value_double(arg1: *mut sqlite3_value) -> f641188     pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64;
1189 }
1190 extern "C" {
sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1191     pub fn sqlite3_value_int(arg1: *mut sqlite3_value)
1192      -> ::std::os::raw::c_int;
1193 }
1194 extern "C" {
sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int641195     pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64;
1196 }
1197 extern "C" {
sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar1198     pub fn sqlite3_value_text(arg1: *mut sqlite3_value)
1199      -> *const ::std::os::raw::c_uchar;
1200 }
1201 extern "C" {
sqlite3_value_text16(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1202     pub fn sqlite3_value_text16(arg1: *mut sqlite3_value)
1203      -> *const ::std::os::raw::c_void;
1204 }
1205 extern "C" {
sqlite3_value_text16le(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1206     pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value)
1207      -> *const ::std::os::raw::c_void;
1208 }
1209 extern "C" {
sqlite3_value_text16be(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void1210     pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value)
1211      -> *const ::std::os::raw::c_void;
1212 }
1213 extern "C" {
sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1214     pub fn sqlite3_value_type(arg1: *mut sqlite3_value)
1215      -> ::std::os::raw::c_int;
1216 }
1217 extern "C" {
sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int1218     pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value)
1219      -> ::std::os::raw::c_int;
1220 }
1221 extern "C" {
sqlite3_aggregate_context(arg1: *mut sqlite3_context, nBytes: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void1222     pub fn sqlite3_aggregate_context(arg1: *mut sqlite3_context,
1223                                      nBytes: ::std::os::raw::c_int)
1224      -> *mut ::std::os::raw::c_void;
1225 }
1226 extern "C" {
sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void1227     pub fn sqlite3_user_data(arg1: *mut sqlite3_context)
1228      -> *mut ::std::os::raw::c_void;
1229 }
1230 extern "C" {
sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite31231     pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context)
1232      -> *mut sqlite3;
1233 }
1234 extern "C" {
sqlite3_get_auxdata(arg1: *mut sqlite3_context, N: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void1235     pub fn sqlite3_get_auxdata(arg1: *mut sqlite3_context,
1236                                N: ::std::os::raw::c_int)
1237      -> *mut ::std::os::raw::c_void;
1238 }
1239 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)>)1240     pub fn sqlite3_set_auxdata(arg1: *mut sqlite3_context,
1241                                N: ::std::os::raw::c_int,
1242                                arg2: *mut ::std::os::raw::c_void,
1243                                arg3:
1244                                    ::std::option::Option<unsafe extern "C" fn(arg1:
1245                                                                                   *mut ::std::os::raw::c_void)>);
1246 }
1247 pub type sqlite3_destructor_type =
1248     ::std::option::Option<unsafe extern "C" fn(arg1:
1249                                                    *mut ::std::os::raw::c_void)>;
1250 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)>)1251     pub fn sqlite3_result_blob(arg1: *mut sqlite3_context,
1252                                arg2: *const ::std::os::raw::c_void,
1253                                arg3: ::std::os::raw::c_int,
1254                                arg4:
1255                                    ::std::option::Option<unsafe extern "C" fn(arg1:
1256                                                                                   *mut ::std::os::raw::c_void)>);
1257 }
1258 extern "C" {
sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64)1259     pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64);
1260 }
1261 extern "C" {
sqlite3_result_error(arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int)1262     pub fn sqlite3_result_error(arg1: *mut sqlite3_context,
1263                                 arg2: *const ::std::os::raw::c_char,
1264                                 arg3: ::std::os::raw::c_int);
1265 }
1266 extern "C" {
sqlite3_result_error16(arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: ::std::os::raw::c_int)1267     pub fn sqlite3_result_error16(arg1: *mut sqlite3_context,
1268                                   arg2: *const ::std::os::raw::c_void,
1269                                   arg3: ::std::os::raw::c_int);
1270 }
1271 extern "C" {
sqlite3_result_error_toobig(arg1: *mut sqlite3_context)1272     pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context);
1273 }
1274 extern "C" {
sqlite3_result_error_nomem(arg1: *mut sqlite3_context)1275     pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context);
1276 }
1277 extern "C" {
sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1278     pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context,
1279                                      arg2: ::std::os::raw::c_int);
1280 }
1281 extern "C" {
sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)1282     pub fn sqlite3_result_int(arg1: *mut sqlite3_context,
1283                               arg2: ::std::os::raw::c_int);
1284 }
1285 extern "C" {
sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64)1286     pub fn sqlite3_result_int64(arg1: *mut sqlite3_context,
1287                                 arg2: sqlite3_int64);
1288 }
1289 extern "C" {
sqlite3_result_null(arg1: *mut sqlite3_context)1290     pub fn sqlite3_result_null(arg1: *mut sqlite3_context);
1291 }
1292 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)>)1293     pub fn sqlite3_result_text(arg1: *mut sqlite3_context,
1294                                arg2: *const ::std::os::raw::c_char,
1295                                arg3: ::std::os::raw::c_int,
1296                                arg4:
1297                                    ::std::option::Option<unsafe extern "C" fn(arg1:
1298                                                                                   *mut ::std::os::raw::c_void)>);
1299 }
1300 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)>)1301     pub fn sqlite3_result_text16(arg1: *mut sqlite3_context,
1302                                  arg2: *const ::std::os::raw::c_void,
1303                                  arg3: ::std::os::raw::c_int,
1304                                  arg4:
1305                                      ::std::option::Option<unsafe extern "C" fn(arg1:
1306                                                                                     *mut ::std::os::raw::c_void)>);
1307 }
1308 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)>)1309     pub fn sqlite3_result_text16le(arg1: *mut sqlite3_context,
1310                                    arg2: *const ::std::os::raw::c_void,
1311                                    arg3: ::std::os::raw::c_int,
1312                                    arg4:
1313                                        ::std::option::Option<unsafe extern "C" fn(arg1:
1314                                                                                       *mut ::std::os::raw::c_void)>);
1315 }
1316 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)>)1317     pub fn sqlite3_result_text16be(arg1: *mut sqlite3_context,
1318                                    arg2: *const ::std::os::raw::c_void,
1319                                    arg3: ::std::os::raw::c_int,
1320                                    arg4:
1321                                        ::std::option::Option<unsafe extern "C" fn(arg1:
1322                                                                                       *mut ::std::os::raw::c_void)>);
1323 }
1324 extern "C" {
sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value)1325     pub fn sqlite3_result_value(arg1: *mut sqlite3_context,
1326                                 arg2: *mut sqlite3_value);
1327 }
1328 extern "C" {
sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int)1329     pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context,
1330                                    n: ::std::os::raw::c_int);
1331 }
1332 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_int1333     pub fn sqlite3_create_collation(arg1: *mut sqlite3,
1334                                     zName: *const ::std::os::raw::c_char,
1335                                     eTextRep: ::std::os::raw::c_int,
1336                                     pArg: *mut ::std::os::raw::c_void,
1337                                     xCompare:
1338                                         ::std::option::Option<unsafe extern "C" fn(arg1:
1339                                                                                        *mut ::std::os::raw::c_void,
1340                                                                                    arg2:
1341                                                                                        ::std::os::raw::c_int,
1342                                                                                    arg3:
1343                                                                                        *const ::std::os::raw::c_void,
1344                                                                                    arg4:
1345                                                                                        ::std::os::raw::c_int,
1346                                                                                    arg5:
1347                                                                                        *const ::std::os::raw::c_void)
1348                                                                   ->
1349                                                                       ::std::os::raw::c_int>)
1350      -> ::std::os::raw::c_int;
1351 }
1352 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_int1353     pub fn sqlite3_create_collation_v2(arg1: *mut sqlite3,
1354                                        zName: *const ::std::os::raw::c_char,
1355                                        eTextRep: ::std::os::raw::c_int,
1356                                        pArg: *mut ::std::os::raw::c_void,
1357                                        xCompare:
1358                                            ::std::option::Option<unsafe extern "C" fn(arg1:
1359                                                                                           *mut ::std::os::raw::c_void,
1360                                                                                       arg2:
1361                                                                                           ::std::os::raw::c_int,
1362                                                                                       arg3:
1363                                                                                           *const ::std::os::raw::c_void,
1364                                                                                       arg4:
1365                                                                                           ::std::os::raw::c_int,
1366                                                                                       arg5:
1367                                                                                           *const ::std::os::raw::c_void)
1368                                                                      ->
1369                                                                          ::std::os::raw::c_int>,
1370                                        xDestroy:
1371                                            ::std::option::Option<unsafe extern "C" fn(arg1:
1372                                                                                           *mut ::std::os::raw::c_void)>)
1373      -> ::std::os::raw::c_int;
1374 }
1375 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_int1376     pub fn sqlite3_create_collation16(arg1: *mut sqlite3,
1377                                       zName: *const ::std::os::raw::c_void,
1378                                       eTextRep: ::std::os::raw::c_int,
1379                                       pArg: *mut ::std::os::raw::c_void,
1380                                       xCompare:
1381                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1382                                                                                          *mut ::std::os::raw::c_void,
1383                                                                                      arg2:
1384                                                                                          ::std::os::raw::c_int,
1385                                                                                      arg3:
1386                                                                                          *const ::std::os::raw::c_void,
1387                                                                                      arg4:
1388                                                                                          ::std::os::raw::c_int,
1389                                                                                      arg5:
1390                                                                                          *const ::std::os::raw::c_void)
1391                                                                     ->
1392                                                                         ::std::os::raw::c_int>)
1393      -> ::std::os::raw::c_int;
1394 }
1395 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_int1396     pub fn sqlite3_collation_needed(arg1: *mut sqlite3,
1397                                     arg2: *mut ::std::os::raw::c_void,
1398                                     arg3:
1399                                         ::std::option::Option<unsafe extern "C" fn(arg1:
1400                                                                                        *mut ::std::os::raw::c_void,
1401                                                                                    arg2:
1402                                                                                        *mut sqlite3,
1403                                                                                    eTextRep:
1404                                                                                        ::std::os::raw::c_int,
1405                                                                                    arg3:
1406                                                                                        *const ::std::os::raw::c_char)>)
1407      -> ::std::os::raw::c_int;
1408 }
1409 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_int1410     pub fn sqlite3_collation_needed16(arg1: *mut sqlite3,
1411                                       arg2: *mut ::std::os::raw::c_void,
1412                                       arg3:
1413                                           ::std::option::Option<unsafe extern "C" fn(arg1:
1414                                                                                          *mut ::std::os::raw::c_void,
1415                                                                                      arg2:
1416                                                                                          *mut sqlite3,
1417                                                                                      eTextRep:
1418                                                                                          ::std::os::raw::c_int,
1419                                                                                      arg3:
1420                                                                                          *const ::std::os::raw::c_void)>)
1421      -> ::std::os::raw::c_int;
1422 }
1423 extern "C" {
sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1424     pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int)
1425      -> ::std::os::raw::c_int;
1426 }
1427 extern "C" {
1428     #[link_name = "sqlite3_temp_directory"]
1429     pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char;
1430 }
1431 extern "C" {
sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int1432     pub fn sqlite3_get_autocommit(arg1: *mut sqlite3)
1433      -> ::std::os::raw::c_int;
1434 }
1435 extern "C" {
sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite31436     pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3;
1437 }
1438 extern "C" {
sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt1439     pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt)
1440      -> *mut sqlite3_stmt;
1441 }
1442 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_void1443     pub fn sqlite3_commit_hook(arg1: *mut sqlite3,
1444                                arg2:
1445                                    ::std::option::Option<unsafe extern "C" fn(arg1:
1446                                                                                   *mut ::std::os::raw::c_void)
1447                                                              ->
1448                                                                  ::std::os::raw::c_int>,
1449                                arg3: *mut ::std::os::raw::c_void)
1450      -> *mut ::std::os::raw::c_void;
1451 }
1452 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_void1453     pub fn sqlite3_rollback_hook(arg1: *mut sqlite3,
1454                                  arg2:
1455                                      ::std::option::Option<unsafe extern "C" fn(arg1:
1456                                                                                     *mut ::std::os::raw::c_void)>,
1457                                  arg3: *mut ::std::os::raw::c_void)
1458      -> *mut ::std::os::raw::c_void;
1459 }
1460 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_void1461     pub fn sqlite3_update_hook(arg1: *mut sqlite3,
1462                                arg2:
1463                                    ::std::option::Option<unsafe extern "C" fn(arg1:
1464                                                                                   *mut ::std::os::raw::c_void,
1465                                                                               arg2:
1466                                                                                   ::std::os::raw::c_int,
1467                                                                               arg3:
1468                                                                                   *const ::std::os::raw::c_char,
1469                                                                               arg4:
1470                                                                                   *const ::std::os::raw::c_char,
1471                                                                               arg5:
1472                                                                                   sqlite3_int64)>,
1473                                arg3: *mut ::std::os::raw::c_void)
1474      -> *mut ::std::os::raw::c_void;
1475 }
1476 extern "C" {
sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1477     pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int)
1478      -> ::std::os::raw::c_int;
1479 }
1480 extern "C" {
sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int1481     pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int)
1482      -> ::std::os::raw::c_int;
1483 }
1484 extern "C" {
sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int641485     pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64;
1486 }
1487 extern "C" {
sqlite3_soft_heap_limit(N: ::std::os::raw::c_int)1488     pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int);
1489 }
1490 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_int1491     pub fn sqlite3_table_column_metadata(db: *mut sqlite3,
1492                                          zDbName:
1493                                              *const ::std::os::raw::c_char,
1494                                          zTableName:
1495                                              *const ::std::os::raw::c_char,
1496                                          zColumnName:
1497                                              *const ::std::os::raw::c_char,
1498                                          pzDataType:
1499                                              *mut *const ::std::os::raw::c_char,
1500                                          pzCollSeq:
1501                                              *mut *const ::std::os::raw::c_char,
1502                                          pNotNull: *mut ::std::os::raw::c_int,
1503                                          pPrimaryKey:
1504                                              *mut ::std::os::raw::c_int,
1505                                          pAutoinc: *mut ::std::os::raw::c_int)
1506      -> ::std::os::raw::c_int;
1507 }
1508 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_int1509     pub fn sqlite3_load_extension(db: *mut sqlite3,
1510                                   zFile: *const ::std::os::raw::c_char,
1511                                   zProc: *const ::std::os::raw::c_char,
1512                                   pzErrMsg: *mut *mut ::std::os::raw::c_char)
1513      -> ::std::os::raw::c_int;
1514 }
1515 extern "C" {
sqlite3_enable_load_extension(db: *mut sqlite3, onoff: ::std::os::raw::c_int) -> ::std::os::raw::c_int1516     pub fn sqlite3_enable_load_extension(db: *mut sqlite3,
1517                                          onoff: ::std::os::raw::c_int)
1518      -> ::std::os::raw::c_int;
1519 }
1520 extern "C" {
sqlite3_auto_extension(xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int1521     pub fn sqlite3_auto_extension(xEntryPoint:
1522                                       ::std::option::Option<unsafe extern "C" fn()>)
1523      -> ::std::os::raw::c_int;
1524 }
1525 extern "C" {
sqlite3_reset_auto_extension()1526     pub fn sqlite3_reset_auto_extension();
1527 }
1528 #[repr(C)]
1529 #[derive(Debug, Copy)]
1530 pub struct sqlite3_vtab {
1531     pub pModule: *const sqlite3_module,
1532     pub nRef: ::std::os::raw::c_int,
1533     pub zErrMsg: *mut ::std::os::raw::c_char,
1534 }
1535 #[test]
bindgen_test_layout_sqlite3_vtab()1536 fn bindgen_test_layout_sqlite3_vtab() {
1537     assert_eq!(::std::mem::size_of::<sqlite3_vtab>() , 24usize);
1538     assert_eq!(::std::mem::align_of::<sqlite3_vtab>() , 8usize);
1539 }
1540 impl Clone for sqlite3_vtab {
clone(&self) -> Self1541     fn clone(&self) -> Self { *self }
1542 }
1543 #[repr(C)]
1544 #[derive(Debug, Copy)]
1545 pub struct sqlite3_index_info {
1546     pub nConstraint: ::std::os::raw::c_int,
1547     pub aConstraint: *mut sqlite3_index_info_sqlite3_index_constraint,
1548     pub nOrderBy: ::std::os::raw::c_int,
1549     pub aOrderBy: *mut sqlite3_index_info_sqlite3_index_orderby,
1550     pub aConstraintUsage: *mut sqlite3_index_info_sqlite3_index_constraint_usage,
1551     pub idxNum: ::std::os::raw::c_int,
1552     pub idxStr: *mut ::std::os::raw::c_char,
1553     pub needToFreeIdxStr: ::std::os::raw::c_int,
1554     pub orderByConsumed: ::std::os::raw::c_int,
1555     pub estimatedCost: f64,
1556 }
1557 #[repr(C)]
1558 #[derive(Debug, Copy)]
1559 pub struct sqlite3_index_info_sqlite3_index_constraint {
1560     pub iColumn: ::std::os::raw::c_int,
1561     pub op: ::std::os::raw::c_uchar,
1562     pub usable: ::std::os::raw::c_uchar,
1563     pub iTermOffset: ::std::os::raw::c_int,
1564 }
1565 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint()1566 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint() {
1567     assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint>()
1568                , 12usize);
1569     assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint>()
1570                , 4usize);
1571 }
1572 impl Clone for sqlite3_index_info_sqlite3_index_constraint {
clone(&self) -> Self1573     fn clone(&self) -> Self { *self }
1574 }
1575 #[repr(C)]
1576 #[derive(Debug, Copy)]
1577 pub struct sqlite3_index_info_sqlite3_index_orderby {
1578     pub iColumn: ::std::os::raw::c_int,
1579     pub desc: ::std::os::raw::c_uchar,
1580 }
1581 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby()1582 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby() {
1583     assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_orderby>()
1584                , 8usize);
1585     assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_orderby>()
1586                , 4usize);
1587 }
1588 impl Clone for sqlite3_index_info_sqlite3_index_orderby {
clone(&self) -> Self1589     fn clone(&self) -> Self { *self }
1590 }
1591 #[repr(C)]
1592 #[derive(Debug, Copy)]
1593 pub struct sqlite3_index_info_sqlite3_index_constraint_usage {
1594     pub argvIndex: ::std::os::raw::c_int,
1595     pub omit: ::std::os::raw::c_uchar,
1596 }
1597 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage()1598 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage() {
1599     assert_eq!(::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint_usage>()
1600                , 8usize);
1601     assert_eq!(::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint_usage>()
1602                , 4usize);
1603 }
1604 impl Clone for sqlite3_index_info_sqlite3_index_constraint_usage {
clone(&self) -> Self1605     fn clone(&self) -> Self { *self }
1606 }
1607 #[test]
bindgen_test_layout_sqlite3_index_info()1608 fn bindgen_test_layout_sqlite3_index_info() {
1609     assert_eq!(::std::mem::size_of::<sqlite3_index_info>() , 72usize);
1610     assert_eq!(::std::mem::align_of::<sqlite3_index_info>() , 8usize);
1611 }
1612 impl Clone for sqlite3_index_info {
clone(&self) -> Self1613     fn clone(&self) -> Self { *self }
1614 }
1615 #[repr(C)]
1616 #[derive(Debug, Copy)]
1617 pub struct sqlite3_vtab_cursor {
1618     pub pVtab: *mut sqlite3_vtab,
1619 }
1620 #[test]
bindgen_test_layout_sqlite3_vtab_cursor()1621 fn bindgen_test_layout_sqlite3_vtab_cursor() {
1622     assert_eq!(::std::mem::size_of::<sqlite3_vtab_cursor>() , 8usize);
1623     assert_eq!(::std::mem::align_of::<sqlite3_vtab_cursor>() , 8usize);
1624 }
1625 impl Clone for sqlite3_vtab_cursor {
clone(&self) -> Self1626     fn clone(&self) -> Self { *self }
1627 }
1628 #[repr(C)]
1629 #[derive(Debug, Copy)]
1630 pub struct sqlite3_module {
1631     pub iVersion: ::std::os::raw::c_int,
1632     pub xCreate: ::std::option::Option<unsafe extern "C" fn(arg1:
1633                                                                 *mut sqlite3,
1634                                                             pAux:
1635                                                                 *mut ::std::os::raw::c_void,
1636                                                             argc:
1637                                                                 ::std::os::raw::c_int,
1638                                                             argv:
1639                                                                 *const *const ::std::os::raw::c_char,
1640                                                             ppVTab:
1641                                                                 *mut *mut sqlite3_vtab,
1642                                                             arg2:
1643                                                                 *mut *mut ::std::os::raw::c_char)
1644                                            -> ::std::os::raw::c_int>,
1645     pub xConnect: ::std::option::Option<unsafe extern "C" fn(arg1:
1646                                                                  *mut sqlite3,
1647                                                              pAux:
1648                                                                  *mut ::std::os::raw::c_void,
1649                                                              argc:
1650                                                                  ::std::os::raw::c_int,
1651                                                              argv:
1652                                                                  *const *const ::std::os::raw::c_char,
1653                                                              ppVTab:
1654                                                                  *mut *mut sqlite3_vtab,
1655                                                              arg2:
1656                                                                  *mut *mut ::std::os::raw::c_char)
1657                                             -> ::std::os::raw::c_int>,
1658     pub xBestIndex: ::std::option::Option<unsafe extern "C" fn(pVTab:
1659                                                                    *mut sqlite3_vtab,
1660                                                                arg1:
1661                                                                    *mut sqlite3_index_info)
1662                                               -> ::std::os::raw::c_int>,
1663     pub xDisconnect: ::std::option::Option<unsafe extern "C" fn(pVTab:
1664                                                                     *mut sqlite3_vtab)
1665                                                -> ::std::os::raw::c_int>,
1666     pub xDestroy: ::std::option::Option<unsafe extern "C" fn(pVTab:
1667                                                                  *mut sqlite3_vtab)
1668                                             -> ::std::os::raw::c_int>,
1669     pub xOpen: ::std::option::Option<unsafe extern "C" fn(pVTab:
1670                                                               *mut sqlite3_vtab,
1671                                                           ppCursor:
1672                                                               *mut *mut sqlite3_vtab_cursor)
1673                                          -> ::std::os::raw::c_int>,
1674     pub xClose: ::std::option::Option<unsafe extern "C" fn(arg1:
1675                                                                *mut sqlite3_vtab_cursor)
1676                                           -> ::std::os::raw::c_int>,
1677     pub xFilter: ::std::option::Option<unsafe extern "C" fn(arg1:
1678                                                                 *mut sqlite3_vtab_cursor,
1679                                                             idxNum:
1680                                                                 ::std::os::raw::c_int,
1681                                                             idxStr:
1682                                                                 *const ::std::os::raw::c_char,
1683                                                             argc:
1684                                                                 ::std::os::raw::c_int,
1685                                                             argv:
1686                                                                 *mut *mut sqlite3_value)
1687                                            -> ::std::os::raw::c_int>,
1688     pub xNext: ::std::option::Option<unsafe extern "C" fn(arg1:
1689                                                               *mut sqlite3_vtab_cursor)
1690                                          -> ::std::os::raw::c_int>,
1691     pub xEof: ::std::option::Option<unsafe extern "C" fn(arg1:
1692                                                              *mut sqlite3_vtab_cursor)
1693                                         -> ::std::os::raw::c_int>,
1694     pub xColumn: ::std::option::Option<unsafe extern "C" fn(arg1:
1695                                                                 *mut sqlite3_vtab_cursor,
1696                                                             arg2:
1697                                                                 *mut sqlite3_context,
1698                                                             arg3:
1699                                                                 ::std::os::raw::c_int)
1700                                            -> ::std::os::raw::c_int>,
1701     pub xRowid: ::std::option::Option<unsafe extern "C" fn(arg1:
1702                                                                *mut sqlite3_vtab_cursor,
1703                                                            pRowid:
1704                                                                *mut sqlite3_int64)
1705                                           -> ::std::os::raw::c_int>,
1706     pub xUpdate: ::std::option::Option<unsafe extern "C" fn(arg1:
1707                                                                 *mut sqlite3_vtab,
1708                                                             arg2:
1709                                                                 ::std::os::raw::c_int,
1710                                                             arg3:
1711                                                                 *mut *mut sqlite3_value,
1712                                                             arg4:
1713                                                                 *mut sqlite3_int64)
1714                                            -> ::std::os::raw::c_int>,
1715     pub xBegin: ::std::option::Option<unsafe extern "C" fn(pVTab:
1716                                                                *mut sqlite3_vtab)
1717                                           -> ::std::os::raw::c_int>,
1718     pub xSync: ::std::option::Option<unsafe extern "C" fn(pVTab:
1719                                                               *mut sqlite3_vtab)
1720                                          -> ::std::os::raw::c_int>,
1721     pub xCommit: ::std::option::Option<unsafe extern "C" fn(pVTab:
1722                                                                 *mut sqlite3_vtab)
1723                                            -> ::std::os::raw::c_int>,
1724     pub xRollback: ::std::option::Option<unsafe extern "C" fn(pVTab:
1725                                                                   *mut sqlite3_vtab)
1726                                              -> ::std::os::raw::c_int>,
1727     pub xFindFunction: ::std::option::Option<unsafe extern "C" fn(pVtab:
1728                                                                       *mut sqlite3_vtab,
1729                                                                   nArg:
1730                                                                       ::std::os::raw::c_int,
1731                                                                   zName:
1732                                                                       *const ::std::os::raw::c_char,
1733                                                                   pxFunc:
1734                                                                       *mut ::std::option::Option<unsafe extern "C" fn(arg1:
1735                                                                                                                           *mut sqlite3_context,
1736                                                                                                                       arg2:
1737                                                                                                                           ::std::os::raw::c_int,
1738                                                                                                                       arg3:
1739                                                                                                                           *mut *mut sqlite3_value)>,
1740                                                                   ppArg:
1741                                                                       *mut *mut ::std::os::raw::c_void)
1742                                                  -> ::std::os::raw::c_int>,
1743     pub xRename: ::std::option::Option<unsafe extern "C" fn(pVtab:
1744                                                                 *mut sqlite3_vtab,
1745                                                             zNew:
1746                                                                 *const ::std::os::raw::c_char)
1747                                            -> ::std::os::raw::c_int>,
1748     pub xSavepoint: ::std::option::Option<unsafe extern "C" fn(pVTab:
1749                                                                    *mut sqlite3_vtab,
1750                                                                arg1:
1751                                                                    ::std::os::raw::c_int)
1752                                               -> ::std::os::raw::c_int>,
1753     pub xRelease: ::std::option::Option<unsafe extern "C" fn(pVTab:
1754                                                                  *mut sqlite3_vtab,
1755                                                              arg1:
1756                                                                  ::std::os::raw::c_int)
1757                                             -> ::std::os::raw::c_int>,
1758     pub xRollbackTo: ::std::option::Option<unsafe extern "C" fn(pVTab:
1759                                                                     *mut sqlite3_vtab,
1760                                                                 arg1:
1761                                                                     ::std::os::raw::c_int)
1762                                                -> ::std::os::raw::c_int>,
1763 }
1764 #[test]
bindgen_test_layout_sqlite3_module()1765 fn bindgen_test_layout_sqlite3_module() {
1766     assert_eq!(::std::mem::size_of::<sqlite3_module>() , 184usize);
1767     assert_eq!(::std::mem::align_of::<sqlite3_module>() , 8usize);
1768 }
1769 impl Clone for sqlite3_module {
clone(&self) -> Self1770     fn clone(&self) -> Self { *self }
1771 }
1772 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_int1773     pub fn sqlite3_create_module(db: *mut sqlite3,
1774                                  zName: *const ::std::os::raw::c_char,
1775                                  p: *const sqlite3_module,
1776                                  pClientData: *mut ::std::os::raw::c_void)
1777      -> ::std::os::raw::c_int;
1778 }
1779 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_int1780     pub fn sqlite3_create_module_v2(db: *mut sqlite3,
1781                                     zName: *const ::std::os::raw::c_char,
1782                                     p: *const sqlite3_module,
1783                                     pClientData: *mut ::std::os::raw::c_void,
1784                                     xDestroy:
1785                                         ::std::option::Option<unsafe extern "C" fn(arg1:
1786                                                                                        *mut ::std::os::raw::c_void)>)
1787      -> ::std::os::raw::c_int;
1788 }
1789 extern "C" {
sqlite3_declare_vtab(arg1: *mut sqlite3, zSQL: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int1790     pub fn sqlite3_declare_vtab(arg1: *mut sqlite3,
1791                                 zSQL: *const ::std::os::raw::c_char)
1792      -> ::std::os::raw::c_int;
1793 }
1794 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_int1795     pub fn sqlite3_overload_function(arg1: *mut sqlite3,
1796                                      zFuncName: *const ::std::os::raw::c_char,
1797                                      nArg: ::std::os::raw::c_int)
1798      -> ::std::os::raw::c_int;
1799 }
1800 #[repr(C)]
1801 #[derive(Debug, Copy, Clone)]
1802 pub struct sqlite3_blob([u8; 0]);
1803 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_int1804     pub fn sqlite3_blob_open(arg1: *mut sqlite3,
1805                              zDb: *const ::std::os::raw::c_char,
1806                              zTable: *const ::std::os::raw::c_char,
1807                              zColumn: *const ::std::os::raw::c_char,
1808                              iRow: sqlite3_int64,
1809                              flags: ::std::os::raw::c_int,
1810                              ppBlob: *mut *mut sqlite3_blob)
1811      -> ::std::os::raw::c_int;
1812 }
1813 extern "C" {
sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64) -> ::std::os::raw::c_int1814     pub fn sqlite3_blob_reopen(arg1: *mut sqlite3_blob, arg2: sqlite3_int64)
1815      -> ::std::os::raw::c_int;
1816 }
1817 extern "C" {
sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int1818     pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob)
1819      -> ::std::os::raw::c_int;
1820 }
1821 extern "C" {
sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int1822     pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob)
1823      -> ::std::os::raw::c_int;
1824 }
1825 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_int1826     pub fn sqlite3_blob_read(arg1: *mut sqlite3_blob,
1827                              Z: *mut ::std::os::raw::c_void,
1828                              N: ::std::os::raw::c_int,
1829                              iOffset: ::std::os::raw::c_int)
1830      -> ::std::os::raw::c_int;
1831 }
1832 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_int1833     pub fn sqlite3_blob_write(arg1: *mut sqlite3_blob,
1834                               z: *const ::std::os::raw::c_void,
1835                               n: ::std::os::raw::c_int,
1836                               iOffset: ::std::os::raw::c_int)
1837      -> ::std::os::raw::c_int;
1838 }
1839 extern "C" {
sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs1840     pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char)
1841      -> *mut sqlite3_vfs;
1842 }
1843 extern "C" {
sqlite3_vfs_register(arg1: *mut sqlite3_vfs, makeDflt: ::std::os::raw::c_int) -> ::std::os::raw::c_int1844     pub fn sqlite3_vfs_register(arg1: *mut sqlite3_vfs,
1845                                 makeDflt: ::std::os::raw::c_int)
1846      -> ::std::os::raw::c_int;
1847 }
1848 extern "C" {
sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int1849     pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs)
1850      -> ::std::os::raw::c_int;
1851 }
1852 extern "C" {
sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex1853     pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int)
1854      -> *mut sqlite3_mutex;
1855 }
1856 extern "C" {
sqlite3_mutex_free(arg1: *mut sqlite3_mutex)1857     pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex);
1858 }
1859 extern "C" {
sqlite3_mutex_enter(arg1: *mut sqlite3_mutex)1860     pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex);
1861 }
1862 extern "C" {
sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1863     pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex)
1864      -> ::std::os::raw::c_int;
1865 }
1866 extern "C" {
sqlite3_mutex_leave(arg1: *mut sqlite3_mutex)1867     pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex);
1868 }
1869 #[repr(C)]
1870 #[derive(Debug, Copy)]
1871 pub struct sqlite3_mutex_methods {
1872     pub xMutexInit: ::std::option::Option<unsafe extern "C" fn()
1873                                               -> ::std::os::raw::c_int>,
1874     pub xMutexEnd: ::std::option::Option<unsafe extern "C" fn()
1875                                              -> ::std::os::raw::c_int>,
1876     pub xMutexAlloc: ::std::option::Option<unsafe extern "C" fn(arg1:
1877                                                                     ::std::os::raw::c_int)
1878                                                -> *mut sqlite3_mutex>,
1879     pub xMutexFree: ::std::option::Option<unsafe extern "C" fn(arg1:
1880                                                                    *mut sqlite3_mutex)>,
1881     pub xMutexEnter: ::std::option::Option<unsafe extern "C" fn(arg1:
1882                                                                     *mut sqlite3_mutex)>,
1883     pub xMutexTry: ::std::option::Option<unsafe extern "C" fn(arg1:
1884                                                                   *mut sqlite3_mutex)
1885                                              -> ::std::os::raw::c_int>,
1886     pub xMutexLeave: ::std::option::Option<unsafe extern "C" fn(arg1:
1887                                                                     *mut sqlite3_mutex)>,
1888     pub xMutexHeld: ::std::option::Option<unsafe extern "C" fn(arg1:
1889                                                                    *mut sqlite3_mutex)
1890                                               -> ::std::os::raw::c_int>,
1891     pub xMutexNotheld: ::std::option::Option<unsafe extern "C" fn(arg1:
1892                                                                       *mut sqlite3_mutex)
1893                                                  -> ::std::os::raw::c_int>,
1894 }
1895 #[test]
bindgen_test_layout_sqlite3_mutex_methods()1896 fn bindgen_test_layout_sqlite3_mutex_methods() {
1897     assert_eq!(::std::mem::size_of::<sqlite3_mutex_methods>() , 72usize);
1898     assert_eq!(::std::mem::align_of::<sqlite3_mutex_methods>() , 8usize);
1899 }
1900 impl Clone for sqlite3_mutex_methods {
clone(&self) -> Self1901     fn clone(&self) -> Self { *self }
1902 }
1903 extern "C" {
sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1904     pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex)
1905      -> ::std::os::raw::c_int;
1906 }
1907 extern "C" {
sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int1908     pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex)
1909      -> ::std::os::raw::c_int;
1910 }
1911 extern "C" {
sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex1912     pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex;
1913 }
1914 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_int1915     pub fn sqlite3_file_control(arg1: *mut sqlite3,
1916                                 zDbName: *const ::std::os::raw::c_char,
1917                                 op: ::std::os::raw::c_int,
1918                                 arg2: *mut ::std::os::raw::c_void)
1919      -> ::std::os::raw::c_int;
1920 }
1921 extern "C" {
sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int1922     pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...)
1923      -> ::std::os::raw::c_int;
1924 }
1925 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_int1926     pub fn sqlite3_status(op: ::std::os::raw::c_int,
1927                           pCurrent: *mut ::std::os::raw::c_int,
1928                           pHighwater: *mut ::std::os::raw::c_int,
1929                           resetFlag: ::std::os::raw::c_int)
1930      -> ::std::os::raw::c_int;
1931 }
1932 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_int1933     pub fn sqlite3_db_status(arg1: *mut sqlite3, op: ::std::os::raw::c_int,
1934                              pCur: *mut ::std::os::raw::c_int,
1935                              pHiwtr: *mut ::std::os::raw::c_int,
1936                              resetFlg: ::std::os::raw::c_int)
1937      -> ::std::os::raw::c_int;
1938 }
1939 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_int1940     pub fn sqlite3_stmt_status(arg1: *mut sqlite3_stmt,
1941                                op: ::std::os::raw::c_int,
1942                                resetFlg: ::std::os::raw::c_int)
1943      -> ::std::os::raw::c_int;
1944 }
1945 #[repr(C)]
1946 #[derive(Debug, Copy, Clone)]
1947 pub struct sqlite3_pcache([u8; 0]);
1948 #[repr(C)]
1949 #[derive(Debug, Copy)]
1950 pub struct sqlite3_pcache_methods {
1951     pub pArg: *mut ::std::os::raw::c_void,
1952     pub xInit: ::std::option::Option<unsafe extern "C" fn(arg1:
1953                                                               *mut ::std::os::raw::c_void)
1954                                          -> ::std::os::raw::c_int>,
1955     pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1:
1956                                                                   *mut ::std::os::raw::c_void)>,
1957     pub xCreate: ::std::option::Option<unsafe extern "C" fn(szPage:
1958                                                                 ::std::os::raw::c_int,
1959                                                             bPurgeable:
1960                                                                 ::std::os::raw::c_int)
1961                                            -> *mut sqlite3_pcache>,
1962     pub xCachesize: ::std::option::Option<unsafe extern "C" fn(arg1:
1963                                                                    *mut sqlite3_pcache,
1964                                                                nCachesize:
1965                                                                    ::std::os::raw::c_int)>,
1966     pub xPagecount: ::std::option::Option<unsafe extern "C" fn(arg1:
1967                                                                    *mut sqlite3_pcache)
1968                                               -> ::std::os::raw::c_int>,
1969     pub xFetch: ::std::option::Option<unsafe extern "C" fn(arg1:
1970                                                                *mut sqlite3_pcache,
1971                                                            key:
1972                                                                ::std::os::raw::c_uint,
1973                                                            createFlag:
1974                                                                ::std::os::raw::c_int)
1975                                           -> *mut ::std::os::raw::c_void>,
1976     pub xUnpin: ::std::option::Option<unsafe extern "C" fn(arg1:
1977                                                                *mut sqlite3_pcache,
1978                                                            arg2:
1979                                                                *mut ::std::os::raw::c_void,
1980                                                            discard:
1981                                                                ::std::os::raw::c_int)>,
1982     pub xRekey: ::std::option::Option<unsafe extern "C" fn(arg1:
1983                                                                *mut sqlite3_pcache,
1984                                                            arg2:
1985                                                                *mut ::std::os::raw::c_void,
1986                                                            oldKey:
1987                                                                ::std::os::raw::c_uint,
1988                                                            newKey:
1989                                                                ::std::os::raw::c_uint)>,
1990     pub xTruncate: ::std::option::Option<unsafe extern "C" fn(arg1:
1991                                                                   *mut sqlite3_pcache,
1992                                                               iLimit:
1993                                                                   ::std::os::raw::c_uint)>,
1994     pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1:
1995                                                                  *mut sqlite3_pcache)>,
1996 }
1997 #[test]
bindgen_test_layout_sqlite3_pcache_methods()1998 fn bindgen_test_layout_sqlite3_pcache_methods() {
1999     assert_eq!(::std::mem::size_of::<sqlite3_pcache_methods>() , 88usize);
2000     assert_eq!(::std::mem::align_of::<sqlite3_pcache_methods>() , 8usize);
2001 }
2002 impl Clone for sqlite3_pcache_methods {
clone(&self) -> Self2003     fn clone(&self) -> Self { *self }
2004 }
2005 #[repr(C)]
2006 #[derive(Debug, Copy, Clone)]
2007 pub struct sqlite3_backup([u8; 0]);
2008 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_backup2009     pub fn sqlite3_backup_init(pDest: *mut sqlite3,
2010                                zDestName: *const ::std::os::raw::c_char,
2011                                pSource: *mut sqlite3,
2012                                zSourceName: *const ::std::os::raw::c_char)
2013      -> *mut sqlite3_backup;
2014 }
2015 extern "C" {
sqlite3_backup_step(p: *mut sqlite3_backup, nPage: ::std::os::raw::c_int) -> ::std::os::raw::c_int2016     pub fn sqlite3_backup_step(p: *mut sqlite3_backup,
2017                                nPage: ::std::os::raw::c_int)
2018      -> ::std::os::raw::c_int;
2019 }
2020 extern "C" {
sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2021     pub fn sqlite3_backup_finish(p: *mut sqlite3_backup)
2022      -> ::std::os::raw::c_int;
2023 }
2024 extern "C" {
sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2025     pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup)
2026      -> ::std::os::raw::c_int;
2027 }
2028 extern "C" {
sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int2029     pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup)
2030      -> ::std::os::raw::c_int;
2031 }
2032 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_int2033     pub fn sqlite3_unlock_notify(pBlocked: *mut sqlite3,
2034                                  xNotify:
2035                                      ::std::option::Option<unsafe extern "C" fn(apArg:
2036                                                                                     *mut *mut ::std::os::raw::c_void,
2037                                                                                 nArg:
2038                                                                                     ::std::os::raw::c_int)>,
2039                                  pNotifyArg: *mut ::std::os::raw::c_void)
2040      -> ::std::os::raw::c_int;
2041 }
2042 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_int2043     pub fn sqlite3_strnicmp(arg1: *const ::std::os::raw::c_char,
2044                             arg2: *const ::std::os::raw::c_char,
2045                             arg3: ::std::os::raw::c_int)
2046      -> ::std::os::raw::c_int;
2047 }
2048 extern "C" {
sqlite3_log(iErrCode: ::std::os::raw::c_int, zFormat: *const ::std::os::raw::c_char, ...)2049     pub fn sqlite3_log(iErrCode: ::std::os::raw::c_int,
2050                        zFormat: *const ::std::os::raw::c_char, ...);
2051 }
2052 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_void2053     pub fn sqlite3_wal_hook(arg1: *mut sqlite3,
2054                             arg2:
2055                                 ::std::option::Option<unsafe extern "C" fn(arg1:
2056                                                                                *mut ::std::os::raw::c_void,
2057                                                                            arg2:
2058                                                                                *mut sqlite3,
2059                                                                            arg3:
2060                                                                                *const ::std::os::raw::c_char,
2061                                                                            arg4:
2062                                                                                ::std::os::raw::c_int)
2063                                                           ->
2064                                                               ::std::os::raw::c_int>,
2065                             arg3: *mut ::std::os::raw::c_void)
2066      -> *mut ::std::os::raw::c_void;
2067 }
2068 extern "C" {
sqlite3_wal_autocheckpoint(db: *mut sqlite3, N: ::std::os::raw::c_int) -> ::std::os::raw::c_int2069     pub fn sqlite3_wal_autocheckpoint(db: *mut sqlite3,
2070                                       N: ::std::os::raw::c_int)
2071      -> ::std::os::raw::c_int;
2072 }
2073 extern "C" {
sqlite3_wal_checkpoint(db: *mut sqlite3, zDb: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int2074     pub fn sqlite3_wal_checkpoint(db: *mut sqlite3,
2075                                   zDb: *const ::std::os::raw::c_char)
2076      -> ::std::os::raw::c_int;
2077 }
2078 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_int2079     pub fn sqlite3_wal_checkpoint_v2(db: *mut sqlite3,
2080                                      zDb: *const ::std::os::raw::c_char,
2081                                      eMode: ::std::os::raw::c_int,
2082                                      pnLog: *mut ::std::os::raw::c_int,
2083                                      pnCkpt: *mut ::std::os::raw::c_int)
2084      -> ::std::os::raw::c_int;
2085 }
2086 extern "C" {
sqlite3_vtab_config(arg1: *mut sqlite3, op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int2087     pub fn sqlite3_vtab_config(arg1: *mut sqlite3,
2088                                op: ::std::os::raw::c_int, ...)
2089      -> ::std::os::raw::c_int;
2090 }
2091 extern "C" {
sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int2092     pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3)
2093      -> ::std::os::raw::c_int;
2094 }
2095 #[repr(C)]
2096 #[derive(Debug, Copy)]
2097 pub struct sqlite3_rtree_geometry {
2098     pub pContext: *mut ::std::os::raw::c_void,
2099     pub nParam: ::std::os::raw::c_int,
2100     pub aParam: *mut f64,
2101     pub pUser: *mut ::std::os::raw::c_void,
2102     pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1:
2103                                                                  *mut ::std::os::raw::c_void)>,
2104 }
2105 #[test]
bindgen_test_layout_sqlite3_rtree_geometry()2106 fn bindgen_test_layout_sqlite3_rtree_geometry() {
2107     assert_eq!(::std::mem::size_of::<sqlite3_rtree_geometry>() , 40usize);
2108     assert_eq!(::std::mem::align_of::<sqlite3_rtree_geometry>() , 8usize);
2109 }
2110 impl Clone for sqlite3_rtree_geometry {
clone(&self) -> Self2111     fn clone(&self) -> Self { *self }
2112 }
2113 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, nCoord: ::std::os::raw::c_int, aCoord: *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_int2114     pub fn sqlite3_rtree_geometry_callback(db: *mut sqlite3,
2115                                            zGeom:
2116                                                *const ::std::os::raw::c_char,
2117                                            xGeom:
2118                                                ::std::option::Option<unsafe extern "C" fn(arg1:
2119                                                                                               *mut sqlite3_rtree_geometry,
2120                                                                                           nCoord:
2121                                                                                               ::std::os::raw::c_int,
2122                                                                                           aCoord:
2123                                                                                               *mut f64,
2124                                                                                           pRes:
2125                                                                                               *mut ::std::os::raw::c_int)
2126                                                                          ->
2127                                                                              ::std::os::raw::c_int>,
2128                                            pContext:
2129                                                *mut ::std::os::raw::c_void)
2130      -> ::std::os::raw::c_int;
2131 }
2132 #[repr(C)]
2133 #[derive(Debug, Copy)]
2134 pub struct __va_list_tag {
2135     pub gp_offset: ::std::os::raw::c_uint,
2136     pub fp_offset: ::std::os::raw::c_uint,
2137     pub overflow_arg_area: *mut ::std::os::raw::c_void,
2138     pub reg_save_area: *mut ::std::os::raw::c_void,
2139 }
2140 impl Clone for __va_list_tag {
clone(&self) -> Self2141     fn clone(&self) -> Self { *self }
2142 }
2143 pub type __builtin_va_list = [__va_list_tag; 1usize];
2144 
2145 pub const SQLITE_DETERMINISTIC: i32 = 2048;
2146