1 /* automatically generated by rust-bindgen 0.54.1 */
2 
3 pub const SQLITE_VERSION: &'static [u8; 7usize] = b"3.33.0\0";
4 pub const SQLITE_VERSION_NUMBER: i32 = 3033000;
5 pub const SQLITE_SOURCE_ID: &'static [u8; 85usize] =
6     b"2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f\0";
7 pub const SQLITE_OK: i32 = 0;
8 pub const SQLITE_ERROR: i32 = 1;
9 pub const SQLITE_INTERNAL: i32 = 2;
10 pub const SQLITE_PERM: i32 = 3;
11 pub const SQLITE_ABORT: i32 = 4;
12 pub const SQLITE_BUSY: i32 = 5;
13 pub const SQLITE_LOCKED: i32 = 6;
14 pub const SQLITE_NOMEM: i32 = 7;
15 pub const SQLITE_READONLY: i32 = 8;
16 pub const SQLITE_INTERRUPT: i32 = 9;
17 pub const SQLITE_IOERR: i32 = 10;
18 pub const SQLITE_CORRUPT: i32 = 11;
19 pub const SQLITE_NOTFOUND: i32 = 12;
20 pub const SQLITE_FULL: i32 = 13;
21 pub const SQLITE_CANTOPEN: i32 = 14;
22 pub const SQLITE_PROTOCOL: i32 = 15;
23 pub const SQLITE_EMPTY: i32 = 16;
24 pub const SQLITE_SCHEMA: i32 = 17;
25 pub const SQLITE_TOOBIG: i32 = 18;
26 pub const SQLITE_CONSTRAINT: i32 = 19;
27 pub const SQLITE_MISMATCH: i32 = 20;
28 pub const SQLITE_MISUSE: i32 = 21;
29 pub const SQLITE_NOLFS: i32 = 22;
30 pub const SQLITE_AUTH: i32 = 23;
31 pub const SQLITE_FORMAT: i32 = 24;
32 pub const SQLITE_RANGE: i32 = 25;
33 pub const SQLITE_NOTADB: i32 = 26;
34 pub const SQLITE_NOTICE: i32 = 27;
35 pub const SQLITE_WARNING: i32 = 28;
36 pub const SQLITE_ROW: i32 = 100;
37 pub const SQLITE_DONE: i32 = 101;
38 pub const SQLITE_ERROR_MISSING_COLLSEQ: i32 = 257;
39 pub const SQLITE_ERROR_RETRY: i32 = 513;
40 pub const SQLITE_ERROR_SNAPSHOT: i32 = 769;
41 pub const SQLITE_IOERR_READ: i32 = 266;
42 pub const SQLITE_IOERR_SHORT_READ: i32 = 522;
43 pub const SQLITE_IOERR_WRITE: i32 = 778;
44 pub const SQLITE_IOERR_FSYNC: i32 = 1034;
45 pub const SQLITE_IOERR_DIR_FSYNC: i32 = 1290;
46 pub const SQLITE_IOERR_TRUNCATE: i32 = 1546;
47 pub const SQLITE_IOERR_FSTAT: i32 = 1802;
48 pub const SQLITE_IOERR_UNLOCK: i32 = 2058;
49 pub const SQLITE_IOERR_RDLOCK: i32 = 2314;
50 pub const SQLITE_IOERR_DELETE: i32 = 2570;
51 pub const SQLITE_IOERR_BLOCKED: i32 = 2826;
52 pub const SQLITE_IOERR_NOMEM: i32 = 3082;
53 pub const SQLITE_IOERR_ACCESS: i32 = 3338;
54 pub const SQLITE_IOERR_CHECKRESERVEDLOCK: i32 = 3594;
55 pub const SQLITE_IOERR_LOCK: i32 = 3850;
56 pub const SQLITE_IOERR_CLOSE: i32 = 4106;
57 pub const SQLITE_IOERR_DIR_CLOSE: i32 = 4362;
58 pub const SQLITE_IOERR_SHMOPEN: i32 = 4618;
59 pub const SQLITE_IOERR_SHMSIZE: i32 = 4874;
60 pub const SQLITE_IOERR_SHMLOCK: i32 = 5130;
61 pub const SQLITE_IOERR_SHMMAP: i32 = 5386;
62 pub const SQLITE_IOERR_SEEK: i32 = 5642;
63 pub const SQLITE_IOERR_DELETE_NOENT: i32 = 5898;
64 pub const SQLITE_IOERR_MMAP: i32 = 6154;
65 pub const SQLITE_IOERR_GETTEMPPATH: i32 = 6410;
66 pub const SQLITE_IOERR_CONVPATH: i32 = 6666;
67 pub const SQLITE_IOERR_VNODE: i32 = 6922;
68 pub const SQLITE_IOERR_AUTH: i32 = 7178;
69 pub const SQLITE_IOERR_BEGIN_ATOMIC: i32 = 7434;
70 pub const SQLITE_IOERR_COMMIT_ATOMIC: i32 = 7690;
71 pub const SQLITE_IOERR_ROLLBACK_ATOMIC: i32 = 7946;
72 pub const SQLITE_IOERR_DATA: i32 = 8202;
73 pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262;
74 pub const SQLITE_LOCKED_VTAB: i32 = 518;
75 pub const SQLITE_BUSY_RECOVERY: i32 = 261;
76 pub const SQLITE_BUSY_SNAPSHOT: i32 = 517;
77 pub const SQLITE_BUSY_TIMEOUT: i32 = 773;
78 pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270;
79 pub const SQLITE_CANTOPEN_ISDIR: i32 = 526;
80 pub const SQLITE_CANTOPEN_FULLPATH: i32 = 782;
81 pub const SQLITE_CANTOPEN_CONVPATH: i32 = 1038;
82 pub const SQLITE_CANTOPEN_DIRTYWAL: i32 = 1294;
83 pub const SQLITE_CANTOPEN_SYMLINK: i32 = 1550;
84 pub const SQLITE_CORRUPT_VTAB: i32 = 267;
85 pub const SQLITE_CORRUPT_SEQUENCE: i32 = 523;
86 pub const SQLITE_CORRUPT_INDEX: i32 = 779;
87 pub const SQLITE_READONLY_RECOVERY: i32 = 264;
88 pub const SQLITE_READONLY_CANTLOCK: i32 = 520;
89 pub const SQLITE_READONLY_ROLLBACK: i32 = 776;
90 pub const SQLITE_READONLY_DBMOVED: i32 = 1032;
91 pub const SQLITE_READONLY_CANTINIT: i32 = 1288;
92 pub const SQLITE_READONLY_DIRECTORY: i32 = 1544;
93 pub const SQLITE_ABORT_ROLLBACK: i32 = 516;
94 pub const SQLITE_CONSTRAINT_CHECK: i32 = 275;
95 pub const SQLITE_CONSTRAINT_COMMITHOOK: i32 = 531;
96 pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787;
97 pub const SQLITE_CONSTRAINT_FUNCTION: i32 = 1043;
98 pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299;
99 pub const SQLITE_CONSTRAINT_PRIMARYKEY: i32 = 1555;
100 pub const SQLITE_CONSTRAINT_TRIGGER: i32 = 1811;
101 pub const SQLITE_CONSTRAINT_UNIQUE: i32 = 2067;
102 pub const SQLITE_CONSTRAINT_VTAB: i32 = 2323;
103 pub const SQLITE_CONSTRAINT_ROWID: i32 = 2579;
104 pub const SQLITE_CONSTRAINT_PINNED: i32 = 2835;
105 pub const SQLITE_NOTICE_RECOVER_WAL: i32 = 283;
106 pub const SQLITE_NOTICE_RECOVER_ROLLBACK: i32 = 539;
107 pub const SQLITE_WARNING_AUTOINDEX: i32 = 284;
108 pub const SQLITE_AUTH_USER: i32 = 279;
109 pub const SQLITE_OK_LOAD_PERMANENTLY: i32 = 256;
110 pub const SQLITE_OK_SYMLINK: i32 = 512;
111 pub const SQLITE_OPEN_READONLY: i32 = 1;
112 pub const SQLITE_OPEN_READWRITE: i32 = 2;
113 pub const SQLITE_OPEN_CREATE: i32 = 4;
114 pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8;
115 pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16;
116 pub const SQLITE_OPEN_AUTOPROXY: i32 = 32;
117 pub const SQLITE_OPEN_URI: i32 = 64;
118 pub const SQLITE_OPEN_MEMORY: i32 = 128;
119 pub const SQLITE_OPEN_MAIN_DB: i32 = 256;
120 pub const SQLITE_OPEN_TEMP_DB: i32 = 512;
121 pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024;
122 pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048;
123 pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096;
124 pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192;
125 pub const SQLITE_OPEN_SUPER_JOURNAL: i32 = 16384;
126 pub const SQLITE_OPEN_NOMUTEX: i32 = 32768;
127 pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536;
128 pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072;
129 pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144;
130 pub const SQLITE_OPEN_WAL: i32 = 524288;
131 pub const SQLITE_OPEN_NOFOLLOW: i32 = 16777216;
132 pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384;
133 pub const SQLITE_IOCAP_ATOMIC: i32 = 1;
134 pub const SQLITE_IOCAP_ATOMIC512: i32 = 2;
135 pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4;
136 pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8;
137 pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16;
138 pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32;
139 pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64;
140 pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128;
141 pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256;
142 pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512;
143 pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024;
144 pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048;
145 pub const SQLITE_IOCAP_POWERSAFE_OVERWRITE: i32 = 4096;
146 pub const SQLITE_IOCAP_IMMUTABLE: i32 = 8192;
147 pub const SQLITE_IOCAP_BATCH_ATOMIC: i32 = 16384;
148 pub const SQLITE_LOCK_NONE: i32 = 0;
149 pub const SQLITE_LOCK_SHARED: i32 = 1;
150 pub const SQLITE_LOCK_RESERVED: i32 = 2;
151 pub const SQLITE_LOCK_PENDING: i32 = 3;
152 pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4;
153 pub const SQLITE_SYNC_NORMAL: i32 = 2;
154 pub const SQLITE_SYNC_FULL: i32 = 3;
155 pub const SQLITE_SYNC_DATAONLY: i32 = 16;
156 pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1;
157 pub const SQLITE_FCNTL_GET_LOCKPROXYFILE: i32 = 2;
158 pub const SQLITE_FCNTL_SET_LOCKPROXYFILE: i32 = 3;
159 pub const SQLITE_FCNTL_LAST_ERRNO: i32 = 4;
160 pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5;
161 pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6;
162 pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7;
163 pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8;
164 pub const SQLITE_FCNTL_WIN32_AV_RETRY: i32 = 9;
165 pub const SQLITE_FCNTL_PERSIST_WAL: i32 = 10;
166 pub const SQLITE_FCNTL_OVERWRITE: i32 = 11;
167 pub const SQLITE_FCNTL_VFSNAME: i32 = 12;
168 pub const SQLITE_FCNTL_POWERSAFE_OVERWRITE: i32 = 13;
169 pub const SQLITE_FCNTL_PRAGMA: i32 = 14;
170 pub const SQLITE_FCNTL_BUSYHANDLER: i32 = 15;
171 pub const SQLITE_FCNTL_TEMPFILENAME: i32 = 16;
172 pub const SQLITE_FCNTL_MMAP_SIZE: i32 = 18;
173 pub const SQLITE_FCNTL_TRACE: i32 = 19;
174 pub const SQLITE_FCNTL_HAS_MOVED: i32 = 20;
175 pub const SQLITE_FCNTL_SYNC: i32 = 21;
176 pub const SQLITE_FCNTL_COMMIT_PHASETWO: i32 = 22;
177 pub const SQLITE_FCNTL_WIN32_SET_HANDLE: i32 = 23;
178 pub const SQLITE_FCNTL_WAL_BLOCK: i32 = 24;
179 pub const SQLITE_FCNTL_ZIPVFS: i32 = 25;
180 pub const SQLITE_FCNTL_RBU: i32 = 26;
181 pub const SQLITE_FCNTL_VFS_POINTER: i32 = 27;
182 pub const SQLITE_FCNTL_JOURNAL_POINTER: i32 = 28;
183 pub const SQLITE_FCNTL_WIN32_GET_HANDLE: i32 = 29;
184 pub const SQLITE_FCNTL_PDB: i32 = 30;
185 pub const SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: i32 = 31;
186 pub const SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: i32 = 32;
187 pub const SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: i32 = 33;
188 pub const SQLITE_FCNTL_LOCK_TIMEOUT: i32 = 34;
189 pub const SQLITE_FCNTL_DATA_VERSION: i32 = 35;
190 pub const SQLITE_FCNTL_SIZE_LIMIT: i32 = 36;
191 pub const SQLITE_FCNTL_CKPT_DONE: i32 = 37;
192 pub const SQLITE_FCNTL_RESERVE_BYTES: i32 = 38;
193 pub const SQLITE_FCNTL_CKPT_START: i32 = 39;
194 pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2;
195 pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3;
196 pub const SQLITE_LAST_ERRNO: i32 = 4;
197 pub const SQLITE_ACCESS_EXISTS: i32 = 0;
198 pub const SQLITE_ACCESS_READWRITE: i32 = 1;
199 pub const SQLITE_ACCESS_READ: i32 = 2;
200 pub const SQLITE_SHM_UNLOCK: i32 = 1;
201 pub const SQLITE_SHM_LOCK: i32 = 2;
202 pub const SQLITE_SHM_SHARED: i32 = 4;
203 pub const SQLITE_SHM_EXCLUSIVE: i32 = 8;
204 pub const SQLITE_SHM_NLOCK: i32 = 8;
205 pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1;
206 pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2;
207 pub const SQLITE_CONFIG_SERIALIZED: i32 = 3;
208 pub const SQLITE_CONFIG_MALLOC: i32 = 4;
209 pub const SQLITE_CONFIG_GETMALLOC: i32 = 5;
210 pub const SQLITE_CONFIG_SCRATCH: i32 = 6;
211 pub const SQLITE_CONFIG_PAGECACHE: i32 = 7;
212 pub const SQLITE_CONFIG_HEAP: i32 = 8;
213 pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9;
214 pub const SQLITE_CONFIG_MUTEX: i32 = 10;
215 pub const SQLITE_CONFIG_GETMUTEX: i32 = 11;
216 pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13;
217 pub const SQLITE_CONFIG_PCACHE: i32 = 14;
218 pub const SQLITE_CONFIG_GETPCACHE: i32 = 15;
219 pub const SQLITE_CONFIG_LOG: i32 = 16;
220 pub const SQLITE_CONFIG_URI: i32 = 17;
221 pub const SQLITE_CONFIG_PCACHE2: i32 = 18;
222 pub const SQLITE_CONFIG_GETPCACHE2: i32 = 19;
223 pub const SQLITE_CONFIG_COVERING_INDEX_SCAN: i32 = 20;
224 pub const SQLITE_CONFIG_SQLLOG: i32 = 21;
225 pub const SQLITE_CONFIG_MMAP_SIZE: i32 = 22;
226 pub const SQLITE_CONFIG_WIN32_HEAPSIZE: i32 = 23;
227 pub const SQLITE_CONFIG_PCACHE_HDRSZ: i32 = 24;
228 pub const SQLITE_CONFIG_PMASZ: i32 = 25;
229 pub const SQLITE_CONFIG_STMTJRNL_SPILL: i32 = 26;
230 pub const SQLITE_CONFIG_SMALL_MALLOC: i32 = 27;
231 pub const SQLITE_CONFIG_SORTERREF_SIZE: i32 = 28;
232 pub const SQLITE_CONFIG_MEMDB_MAXSIZE: i32 = 29;
233 pub const SQLITE_DBCONFIG_MAINDBNAME: i32 = 1000;
234 pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001;
235 pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002;
236 pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003;
237 pub const SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER: i32 = 1004;
238 pub const SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: i32 = 1005;
239 pub const SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE: i32 = 1006;
240 pub const SQLITE_DBCONFIG_ENABLE_QPSG: i32 = 1007;
241 pub const SQLITE_DBCONFIG_TRIGGER_EQP: i32 = 1008;
242 pub const SQLITE_DBCONFIG_RESET_DATABASE: i32 = 1009;
243 pub const SQLITE_DBCONFIG_DEFENSIVE: i32 = 1010;
244 pub const SQLITE_DBCONFIG_WRITABLE_SCHEMA: i32 = 1011;
245 pub const SQLITE_DBCONFIG_LEGACY_ALTER_TABLE: i32 = 1012;
246 pub const SQLITE_DBCONFIG_DQS_DML: i32 = 1013;
247 pub const SQLITE_DBCONFIG_DQS_DDL: i32 = 1014;
248 pub const SQLITE_DBCONFIG_ENABLE_VIEW: i32 = 1015;
249 pub const SQLITE_DBCONFIG_LEGACY_FILE_FORMAT: i32 = 1016;
250 pub const SQLITE_DBCONFIG_TRUSTED_SCHEMA: i32 = 1017;
251 pub const SQLITE_DBCONFIG_MAX: i32 = 1017;
252 pub const SQLITE_DENY: i32 = 1;
253 pub const SQLITE_IGNORE: i32 = 2;
254 pub const SQLITE_CREATE_INDEX: i32 = 1;
255 pub const SQLITE_CREATE_TABLE: i32 = 2;
256 pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3;
257 pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4;
258 pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5;
259 pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6;
260 pub const SQLITE_CREATE_TRIGGER: i32 = 7;
261 pub const SQLITE_CREATE_VIEW: i32 = 8;
262 pub const SQLITE_DELETE: i32 = 9;
263 pub const SQLITE_DROP_INDEX: i32 = 10;
264 pub const SQLITE_DROP_TABLE: i32 = 11;
265 pub const SQLITE_DROP_TEMP_INDEX: i32 = 12;
266 pub const SQLITE_DROP_TEMP_TABLE: i32 = 13;
267 pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14;
268 pub const SQLITE_DROP_TEMP_VIEW: i32 = 15;
269 pub const SQLITE_DROP_TRIGGER: i32 = 16;
270 pub const SQLITE_DROP_VIEW: i32 = 17;
271 pub const SQLITE_INSERT: i32 = 18;
272 pub const SQLITE_PRAGMA: i32 = 19;
273 pub const SQLITE_READ: i32 = 20;
274 pub const SQLITE_SELECT: i32 = 21;
275 pub const SQLITE_TRANSACTION: i32 = 22;
276 pub const SQLITE_UPDATE: i32 = 23;
277 pub const SQLITE_ATTACH: i32 = 24;
278 pub const SQLITE_DETACH: i32 = 25;
279 pub const SQLITE_ALTER_TABLE: i32 = 26;
280 pub const SQLITE_REINDEX: i32 = 27;
281 pub const SQLITE_ANALYZE: i32 = 28;
282 pub const SQLITE_CREATE_VTABLE: i32 = 29;
283 pub const SQLITE_DROP_VTABLE: i32 = 30;
284 pub const SQLITE_FUNCTION: i32 = 31;
285 pub const SQLITE_SAVEPOINT: i32 = 32;
286 pub const SQLITE_COPY: i32 = 0;
287 pub const SQLITE_RECURSIVE: i32 = 33;
288 pub const SQLITE_TRACE_STMT: i32 = 1;
289 pub const SQLITE_TRACE_PROFILE: i32 = 2;
290 pub const SQLITE_TRACE_ROW: i32 = 4;
291 pub const SQLITE_TRACE_CLOSE: i32 = 8;
292 pub const SQLITE_LIMIT_LENGTH: i32 = 0;
293 pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1;
294 pub const SQLITE_LIMIT_COLUMN: i32 = 2;
295 pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3;
296 pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4;
297 pub const SQLITE_LIMIT_VDBE_OP: i32 = 5;
298 pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6;
299 pub const SQLITE_LIMIT_ATTACHED: i32 = 7;
300 pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8;
301 pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9;
302 pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10;
303 pub const SQLITE_LIMIT_WORKER_THREADS: i32 = 11;
304 pub const SQLITE_PREPARE_PERSISTENT: i32 = 1;
305 pub const SQLITE_PREPARE_NORMALIZE: i32 = 2;
306 pub const SQLITE_PREPARE_NO_VTAB: i32 = 4;
307 pub const SQLITE_INTEGER: i32 = 1;
308 pub const SQLITE_FLOAT: i32 = 2;
309 pub const SQLITE_BLOB: i32 = 4;
310 pub const SQLITE_NULL: i32 = 5;
311 pub const SQLITE_TEXT: i32 = 3;
312 pub const SQLITE3_TEXT: i32 = 3;
313 pub const SQLITE_UTF8: i32 = 1;
314 pub const SQLITE_UTF16LE: i32 = 2;
315 pub const SQLITE_UTF16BE: i32 = 3;
316 pub const SQLITE_UTF16: i32 = 4;
317 pub const SQLITE_ANY: i32 = 5;
318 pub const SQLITE_UTF16_ALIGNED: i32 = 8;
319 pub const SQLITE_DETERMINISTIC: i32 = 2048;
320 pub const SQLITE_DIRECTONLY: i32 = 524288;
321 pub const SQLITE_SUBTYPE: i32 = 1048576;
322 pub const SQLITE_INNOCUOUS: i32 = 2097152;
323 pub const SQLITE_WIN32_DATA_DIRECTORY_TYPE: i32 = 1;
324 pub const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: i32 = 2;
325 pub const SQLITE_INDEX_SCAN_UNIQUE: i32 = 1;
326 pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
327 pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
328 pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8;
329 pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16;
330 pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32;
331 pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64;
332 pub const SQLITE_INDEX_CONSTRAINT_LIKE: i32 = 65;
333 pub const SQLITE_INDEX_CONSTRAINT_GLOB: i32 = 66;
334 pub const SQLITE_INDEX_CONSTRAINT_REGEXP: i32 = 67;
335 pub const SQLITE_INDEX_CONSTRAINT_NE: i32 = 68;
336 pub const SQLITE_INDEX_CONSTRAINT_ISNOT: i32 = 69;
337 pub const SQLITE_INDEX_CONSTRAINT_ISNOTNULL: i32 = 70;
338 pub const SQLITE_INDEX_CONSTRAINT_ISNULL: i32 = 71;
339 pub const SQLITE_INDEX_CONSTRAINT_IS: i32 = 72;
340 pub const SQLITE_INDEX_CONSTRAINT_FUNCTION: i32 = 150;
341 pub const SQLITE_MUTEX_FAST: i32 = 0;
342 pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
343 pub const SQLITE_MUTEX_STATIC_MAIN: i32 = 2;
344 pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3;
345 pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4;
346 pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4;
347 pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5;
348 pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6;
349 pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7;
350 pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7;
351 pub const SQLITE_MUTEX_STATIC_APP1: i32 = 8;
352 pub const SQLITE_MUTEX_STATIC_APP2: i32 = 9;
353 pub const SQLITE_MUTEX_STATIC_APP3: i32 = 10;
354 pub const SQLITE_MUTEX_STATIC_VFS1: i32 = 11;
355 pub const SQLITE_MUTEX_STATIC_VFS2: i32 = 12;
356 pub const SQLITE_MUTEX_STATIC_VFS3: i32 = 13;
357 pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2;
358 pub const SQLITE_TESTCTRL_FIRST: i32 = 5;
359 pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5;
360 pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6;
361 pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7;
362 pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8;
363 pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9;
364 pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10;
365 pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
366 pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
367 pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
368 pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
369 pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
370 pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
371 pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17;
372 pub const SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: i32 = 17;
373 pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 18;
374 pub const SQLITE_TESTCTRL_EXPLAIN_STMT: i32 = 19;
375 pub const SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: i32 = 19;
376 pub const SQLITE_TESTCTRL_NEVER_CORRUPT: i32 = 20;
377 pub const SQLITE_TESTCTRL_VDBE_COVERAGE: i32 = 21;
378 pub const SQLITE_TESTCTRL_BYTEORDER: i32 = 22;
379 pub const SQLITE_TESTCTRL_ISINIT: i32 = 23;
380 pub const SQLITE_TESTCTRL_SORTER_MMAP: i32 = 24;
381 pub const SQLITE_TESTCTRL_IMPOSTER: i32 = 25;
382 pub const SQLITE_TESTCTRL_PARSER_COVERAGE: i32 = 26;
383 pub const SQLITE_TESTCTRL_RESULT_INTREAL: i32 = 27;
384 pub const SQLITE_TESTCTRL_PRNG_SEED: i32 = 28;
385 pub const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: i32 = 29;
386 pub const SQLITE_TESTCTRL_LAST: i32 = 29;
387 pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
388 pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
389 pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
390 pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3;
391 pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4;
392 pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5;
393 pub const SQLITE_STATUS_PARSER_STACK: i32 = 6;
394 pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7;
395 pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8;
396 pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9;
397 pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0;
398 pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1;
399 pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2;
400 pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3;
401 pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4;
402 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5;
403 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6;
404 pub const SQLITE_DBSTATUS_CACHE_HIT: i32 = 7;
405 pub const SQLITE_DBSTATUS_CACHE_MISS: i32 = 8;
406 pub const SQLITE_DBSTATUS_CACHE_WRITE: i32 = 9;
407 pub const SQLITE_DBSTATUS_DEFERRED_FKS: i32 = 10;
408 pub const SQLITE_DBSTATUS_CACHE_USED_SHARED: i32 = 11;
409 pub const SQLITE_DBSTATUS_CACHE_SPILL: i32 = 12;
410 pub const SQLITE_DBSTATUS_MAX: i32 = 12;
411 pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1;
412 pub const SQLITE_STMTSTATUS_SORT: i32 = 2;
413 pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
414 pub const SQLITE_STMTSTATUS_VM_STEP: i32 = 4;
415 pub const SQLITE_STMTSTATUS_REPREPARE: i32 = 5;
416 pub const SQLITE_STMTSTATUS_RUN: i32 = 6;
417 pub const SQLITE_STMTSTATUS_MEMUSED: i32 = 99;
418 pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
419 pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
420 pub const SQLITE_CHECKPOINT_RESTART: i32 = 2;
421 pub const SQLITE_CHECKPOINT_TRUNCATE: i32 = 3;
422 pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1;
423 pub const SQLITE_VTAB_INNOCUOUS: i32 = 2;
424 pub const SQLITE_VTAB_DIRECTONLY: i32 = 3;
425 pub const SQLITE_ROLLBACK: i32 = 1;
426 pub const SQLITE_FAIL: i32 = 3;
427 pub const SQLITE_REPLACE: i32 = 5;
428 pub const SQLITE_SCANSTAT_NLOOP: i32 = 0;
429 pub const SQLITE_SCANSTAT_NVISIT: i32 = 1;
430 pub const SQLITE_SCANSTAT_EST: i32 = 2;
431 pub const SQLITE_SCANSTAT_NAME: i32 = 3;
432 pub const SQLITE_SCANSTAT_EXPLAIN: i32 = 4;
433 pub const SQLITE_SCANSTAT_SELECTID: i32 = 5;
434 pub const SQLITE_SERIALIZE_NOCOPY: i32 = 1;
435 pub const SQLITE_DESERIALIZE_FREEONCLOSE: i32 = 1;
436 pub const SQLITE_DESERIALIZE_RESIZEABLE: i32 = 2;
437 pub const SQLITE_DESERIALIZE_READONLY: i32 = 4;
438 pub const NOT_WITHIN: i32 = 0;
439 pub const PARTLY_WITHIN: i32 = 1;
440 pub const FULLY_WITHIN: i32 = 2;
441 pub const FTS5_TOKENIZE_QUERY: i32 = 1;
442 pub const FTS5_TOKENIZE_PREFIX: i32 = 2;
443 pub const FTS5_TOKENIZE_DOCUMENT: i32 = 4;
444 pub const FTS5_TOKENIZE_AUX: i32 = 8;
445 pub const FTS5_TOKEN_COLOCATED: i32 = 1;
446 extern "C" {
447     pub static mut sqlite3_version: [::std::os::raw::c_char; 0usize];
448 }
449 extern "C" {
sqlite3_libversion() -> *const ::std::os::raw::c_char450     pub fn sqlite3_libversion() -> *const ::std::os::raw::c_char;
451 }
452 extern "C" {
sqlite3_sourceid() -> *const ::std::os::raw::c_char453     pub fn sqlite3_sourceid() -> *const ::std::os::raw::c_char;
454 }
455 extern "C" {
sqlite3_libversion_number() -> ::std::os::raw::c_int456     pub fn sqlite3_libversion_number() -> ::std::os::raw::c_int;
457 }
458 extern "C" {
sqlite3_compileoption_used( zOptName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int459     pub fn sqlite3_compileoption_used(
460         zOptName: *const ::std::os::raw::c_char,
461     ) -> ::std::os::raw::c_int;
462 }
463 extern "C" {
sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char464     pub fn sqlite3_compileoption_get(N: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
465 }
466 extern "C" {
sqlite3_threadsafe() -> ::std::os::raw::c_int467     pub fn sqlite3_threadsafe() -> ::std::os::raw::c_int;
468 }
469 #[repr(C)]
470 #[derive(Debug, Copy, Clone)]
471 pub struct sqlite3 {
472     _unused: [u8; 0],
473 }
474 pub type sqlite_int64 = ::std::os::raw::c_longlong;
475 pub type sqlite_uint64 = ::std::os::raw::c_ulonglong;
476 pub type sqlite3_int64 = sqlite_int64;
477 pub type sqlite3_uint64 = sqlite_uint64;
478 extern "C" {
sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int479     pub fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
480 }
481 extern "C" {
sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int482     pub fn sqlite3_close_v2(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
483 }
484 pub type sqlite3_callback = ::std::option::Option<
485     unsafe extern "C" fn(
486         arg1: *mut ::std::os::raw::c_void,
487         arg2: ::std::os::raw::c_int,
488         arg3: *mut *mut ::std::os::raw::c_char,
489         arg4: *mut *mut ::std::os::raw::c_char,
490     ) -> ::std::os::raw::c_int,
491 >;
492 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_int493     pub fn sqlite3_exec(
494         arg1: *mut sqlite3,
495         sql: *const ::std::os::raw::c_char,
496         callback: ::std::option::Option<
497             unsafe extern "C" fn(
498                 arg1: *mut ::std::os::raw::c_void,
499                 arg2: ::std::os::raw::c_int,
500                 arg3: *mut *mut ::std::os::raw::c_char,
501                 arg4: *mut *mut ::std::os::raw::c_char,
502             ) -> ::std::os::raw::c_int,
503         >,
504         arg2: *mut ::std::os::raw::c_void,
505         errmsg: *mut *mut ::std::os::raw::c_char,
506     ) -> ::std::os::raw::c_int;
507 }
508 #[repr(C)]
509 #[derive(Debug, Copy, Clone)]
510 pub struct sqlite3_file {
511     pub pMethods: *const sqlite3_io_methods,
512 }
513 #[test]
bindgen_test_layout_sqlite3_file()514 fn bindgen_test_layout_sqlite3_file() {
515     assert_eq!(
516         ::std::mem::size_of::<sqlite3_file>(),
517         8usize,
518         concat!("Size of: ", stringify!(sqlite3_file))
519     );
520     assert_eq!(
521         ::std::mem::align_of::<sqlite3_file>(),
522         8usize,
523         concat!("Alignment of ", stringify!(sqlite3_file))
524     );
525     assert_eq!(
526         unsafe { &(*(::std::ptr::null::<sqlite3_file>())).pMethods as *const _ as usize },
527         0usize,
528         concat!(
529             "Offset of field: ",
530             stringify!(sqlite3_file),
531             "::",
532             stringify!(pMethods)
533         )
534     );
535 }
536 #[repr(C)]
537 #[derive(Debug, Copy, Clone)]
538 pub struct sqlite3_io_methods {
539     pub iVersion: ::std::os::raw::c_int,
540     pub xClose: ::std::option::Option<
541         unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
542     >,
543     pub xRead: ::std::option::Option<
544         unsafe extern "C" fn(
545             arg1: *mut sqlite3_file,
546             arg2: *mut ::std::os::raw::c_void,
547             iAmt: ::std::os::raw::c_int,
548             iOfst: sqlite3_int64,
549         ) -> ::std::os::raw::c_int,
550     >,
551     pub xWrite: ::std::option::Option<
552         unsafe extern "C" fn(
553             arg1: *mut sqlite3_file,
554             arg2: *const ::std::os::raw::c_void,
555             iAmt: ::std::os::raw::c_int,
556             iOfst: sqlite3_int64,
557         ) -> ::std::os::raw::c_int,
558     >,
559     pub xTruncate: ::std::option::Option<
560         unsafe extern "C" fn(arg1: *mut sqlite3_file, size: sqlite3_int64) -> ::std::os::raw::c_int,
561     >,
562     pub xSync: ::std::option::Option<
563         unsafe extern "C" fn(
564             arg1: *mut sqlite3_file,
565             flags: ::std::os::raw::c_int,
566         ) -> ::std::os::raw::c_int,
567     >,
568     pub xFileSize: ::std::option::Option<
569         unsafe extern "C" fn(
570             arg1: *mut sqlite3_file,
571             pSize: *mut sqlite3_int64,
572         ) -> ::std::os::raw::c_int,
573     >,
574     pub xLock: ::std::option::Option<
575         unsafe extern "C" fn(
576             arg1: *mut sqlite3_file,
577             arg2: ::std::os::raw::c_int,
578         ) -> ::std::os::raw::c_int,
579     >,
580     pub xUnlock: ::std::option::Option<
581         unsafe extern "C" fn(
582             arg1: *mut sqlite3_file,
583             arg2: ::std::os::raw::c_int,
584         ) -> ::std::os::raw::c_int,
585     >,
586     pub xCheckReservedLock: ::std::option::Option<
587         unsafe extern "C" fn(
588             arg1: *mut sqlite3_file,
589             pResOut: *mut ::std::os::raw::c_int,
590         ) -> ::std::os::raw::c_int,
591     >,
592     pub xFileControl: ::std::option::Option<
593         unsafe extern "C" fn(
594             arg1: *mut sqlite3_file,
595             op: ::std::os::raw::c_int,
596             pArg: *mut ::std::os::raw::c_void,
597         ) -> ::std::os::raw::c_int,
598     >,
599     pub xSectorSize: ::std::option::Option<
600         unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
601     >,
602     pub xDeviceCharacteristics: ::std::option::Option<
603         unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
604     >,
605     pub xShmMap: ::std::option::Option<
606         unsafe extern "C" fn(
607             arg1: *mut sqlite3_file,
608             iPg: ::std::os::raw::c_int,
609             pgsz: ::std::os::raw::c_int,
610             arg2: ::std::os::raw::c_int,
611             arg3: *mut *mut ::std::os::raw::c_void,
612         ) -> ::std::os::raw::c_int,
613     >,
614     pub xShmLock: ::std::option::Option<
615         unsafe extern "C" fn(
616             arg1: *mut sqlite3_file,
617             offset: ::std::os::raw::c_int,
618             n: ::std::os::raw::c_int,
619             flags: ::std::os::raw::c_int,
620         ) -> ::std::os::raw::c_int,
621     >,
622     pub xShmBarrier: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_file)>,
623     pub xShmUnmap: ::std::option::Option<
624         unsafe extern "C" fn(
625             arg1: *mut sqlite3_file,
626             deleteFlag: ::std::os::raw::c_int,
627         ) -> ::std::os::raw::c_int,
628     >,
629     pub xFetch: ::std::option::Option<
630         unsafe extern "C" fn(
631             arg1: *mut sqlite3_file,
632             iOfst: sqlite3_int64,
633             iAmt: ::std::os::raw::c_int,
634             pp: *mut *mut ::std::os::raw::c_void,
635         ) -> ::std::os::raw::c_int,
636     >,
637     pub xUnfetch: ::std::option::Option<
638         unsafe extern "C" fn(
639             arg1: *mut sqlite3_file,
640             iOfst: sqlite3_int64,
641             p: *mut ::std::os::raw::c_void,
642         ) -> ::std::os::raw::c_int,
643     >,
644 }
645 #[test]
bindgen_test_layout_sqlite3_io_methods()646 fn bindgen_test_layout_sqlite3_io_methods() {
647     assert_eq!(
648         ::std::mem::size_of::<sqlite3_io_methods>(),
649         152usize,
650         concat!("Size of: ", stringify!(sqlite3_io_methods))
651     );
652     assert_eq!(
653         ::std::mem::align_of::<sqlite3_io_methods>(),
654         8usize,
655         concat!("Alignment of ", stringify!(sqlite3_io_methods))
656     );
657     assert_eq!(
658         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).iVersion as *const _ as usize },
659         0usize,
660         concat!(
661             "Offset of field: ",
662             stringify!(sqlite3_io_methods),
663             "::",
664             stringify!(iVersion)
665         )
666     );
667     assert_eq!(
668         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xClose as *const _ as usize },
669         8usize,
670         concat!(
671             "Offset of field: ",
672             stringify!(sqlite3_io_methods),
673             "::",
674             stringify!(xClose)
675         )
676     );
677     assert_eq!(
678         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xRead as *const _ as usize },
679         16usize,
680         concat!(
681             "Offset of field: ",
682             stringify!(sqlite3_io_methods),
683             "::",
684             stringify!(xRead)
685         )
686     );
687     assert_eq!(
688         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xWrite as *const _ as usize },
689         24usize,
690         concat!(
691             "Offset of field: ",
692             stringify!(sqlite3_io_methods),
693             "::",
694             stringify!(xWrite)
695         )
696     );
697     assert_eq!(
698         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xTruncate as *const _ as usize },
699         32usize,
700         concat!(
701             "Offset of field: ",
702             stringify!(sqlite3_io_methods),
703             "::",
704             stringify!(xTruncate)
705         )
706     );
707     assert_eq!(
708         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xSync as *const _ as usize },
709         40usize,
710         concat!(
711             "Offset of field: ",
712             stringify!(sqlite3_io_methods),
713             "::",
714             stringify!(xSync)
715         )
716     );
717     assert_eq!(
718         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xFileSize as *const _ as usize },
719         48usize,
720         concat!(
721             "Offset of field: ",
722             stringify!(sqlite3_io_methods),
723             "::",
724             stringify!(xFileSize)
725         )
726     );
727     assert_eq!(
728         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xLock as *const _ as usize },
729         56usize,
730         concat!(
731             "Offset of field: ",
732             stringify!(sqlite3_io_methods),
733             "::",
734             stringify!(xLock)
735         )
736     );
737     assert_eq!(
738         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xUnlock as *const _ as usize },
739         64usize,
740         concat!(
741             "Offset of field: ",
742             stringify!(sqlite3_io_methods),
743             "::",
744             stringify!(xUnlock)
745         )
746     );
747     assert_eq!(
748         unsafe {
749             &(*(::std::ptr::null::<sqlite3_io_methods>())).xCheckReservedLock as *const _ as usize
750         },
751         72usize,
752         concat!(
753             "Offset of field: ",
754             stringify!(sqlite3_io_methods),
755             "::",
756             stringify!(xCheckReservedLock)
757         )
758     );
759     assert_eq!(
760         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xFileControl as *const _ as usize },
761         80usize,
762         concat!(
763             "Offset of field: ",
764             stringify!(sqlite3_io_methods),
765             "::",
766             stringify!(xFileControl)
767         )
768     );
769     assert_eq!(
770         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xSectorSize as *const _ as usize },
771         88usize,
772         concat!(
773             "Offset of field: ",
774             stringify!(sqlite3_io_methods),
775             "::",
776             stringify!(xSectorSize)
777         )
778     );
779     assert_eq!(
780         unsafe {
781             &(*(::std::ptr::null::<sqlite3_io_methods>())).xDeviceCharacteristics as *const _
782                 as usize
783         },
784         96usize,
785         concat!(
786             "Offset of field: ",
787             stringify!(sqlite3_io_methods),
788             "::",
789             stringify!(xDeviceCharacteristics)
790         )
791     );
792     assert_eq!(
793         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xShmMap as *const _ as usize },
794         104usize,
795         concat!(
796             "Offset of field: ",
797             stringify!(sqlite3_io_methods),
798             "::",
799             stringify!(xShmMap)
800         )
801     );
802     assert_eq!(
803         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xShmLock as *const _ as usize },
804         112usize,
805         concat!(
806             "Offset of field: ",
807             stringify!(sqlite3_io_methods),
808             "::",
809             stringify!(xShmLock)
810         )
811     );
812     assert_eq!(
813         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xShmBarrier as *const _ as usize },
814         120usize,
815         concat!(
816             "Offset of field: ",
817             stringify!(sqlite3_io_methods),
818             "::",
819             stringify!(xShmBarrier)
820         )
821     );
822     assert_eq!(
823         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xShmUnmap as *const _ as usize },
824         128usize,
825         concat!(
826             "Offset of field: ",
827             stringify!(sqlite3_io_methods),
828             "::",
829             stringify!(xShmUnmap)
830         )
831     );
832     assert_eq!(
833         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xFetch as *const _ as usize },
834         136usize,
835         concat!(
836             "Offset of field: ",
837             stringify!(sqlite3_io_methods),
838             "::",
839             stringify!(xFetch)
840         )
841     );
842     assert_eq!(
843         unsafe { &(*(::std::ptr::null::<sqlite3_io_methods>())).xUnfetch as *const _ as usize },
844         144usize,
845         concat!(
846             "Offset of field: ",
847             stringify!(sqlite3_io_methods),
848             "::",
849             stringify!(xUnfetch)
850         )
851     );
852 }
853 #[repr(C)]
854 #[derive(Debug, Copy, Clone)]
855 pub struct sqlite3_mutex {
856     _unused: [u8; 0],
857 }
858 #[repr(C)]
859 #[derive(Debug, Copy, Clone)]
860 pub struct sqlite3_api_routines {
861     _unused: [u8; 0],
862 }
863 pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>;
864 #[repr(C)]
865 #[derive(Debug, Copy, Clone)]
866 pub struct sqlite3_vfs {
867     pub iVersion: ::std::os::raw::c_int,
868     pub szOsFile: ::std::os::raw::c_int,
869     pub mxPathname: ::std::os::raw::c_int,
870     pub pNext: *mut sqlite3_vfs,
871     pub zName: *const ::std::os::raw::c_char,
872     pub pAppData: *mut ::std::os::raw::c_void,
873     pub xOpen: ::std::option::Option<
874         unsafe extern "C" fn(
875             arg1: *mut sqlite3_vfs,
876             zName: *const ::std::os::raw::c_char,
877             arg2: *mut sqlite3_file,
878             flags: ::std::os::raw::c_int,
879             pOutFlags: *mut ::std::os::raw::c_int,
880         ) -> ::std::os::raw::c_int,
881     >,
882     pub xDelete: ::std::option::Option<
883         unsafe extern "C" fn(
884             arg1: *mut sqlite3_vfs,
885             zName: *const ::std::os::raw::c_char,
886             syncDir: ::std::os::raw::c_int,
887         ) -> ::std::os::raw::c_int,
888     >,
889     pub xAccess: ::std::option::Option<
890         unsafe extern "C" fn(
891             arg1: *mut sqlite3_vfs,
892             zName: *const ::std::os::raw::c_char,
893             flags: ::std::os::raw::c_int,
894             pResOut: *mut ::std::os::raw::c_int,
895         ) -> ::std::os::raw::c_int,
896     >,
897     pub xFullPathname: ::std::option::Option<
898         unsafe extern "C" fn(
899             arg1: *mut sqlite3_vfs,
900             zName: *const ::std::os::raw::c_char,
901             nOut: ::std::os::raw::c_int,
902             zOut: *mut ::std::os::raw::c_char,
903         ) -> ::std::os::raw::c_int,
904     >,
905     pub xDlOpen: ::std::option::Option<
906         unsafe extern "C" fn(
907             arg1: *mut sqlite3_vfs,
908             zFilename: *const ::std::os::raw::c_char,
909         ) -> *mut ::std::os::raw::c_void,
910     >,
911     pub xDlError: ::std::option::Option<
912         unsafe extern "C" fn(
913             arg1: *mut sqlite3_vfs,
914             nByte: ::std::os::raw::c_int,
915             zErrMsg: *mut ::std::os::raw::c_char,
916         ),
917     >,
918     pub xDlSym: ::std::option::Option<
919         unsafe extern "C" fn(
920             arg1: *mut sqlite3_vfs,
921             arg2: *mut ::std::os::raw::c_void,
922             zSymbol: *const ::std::os::raw::c_char,
923         ) -> ::std::option::Option<
924             unsafe extern "C" fn(
925                 arg1: *mut sqlite3_vfs,
926                 arg2: *mut ::std::os::raw::c_void,
927                 zSymbol: *const ::std::os::raw::c_char,
928             ),
929         >,
930     >,
931     pub xDlClose: ::std::option::Option<
932         unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut ::std::os::raw::c_void),
933     >,
934     pub xRandomness: ::std::option::Option<
935         unsafe extern "C" fn(
936             arg1: *mut sqlite3_vfs,
937             nByte: ::std::os::raw::c_int,
938             zOut: *mut ::std::os::raw::c_char,
939         ) -> ::std::os::raw::c_int,
940     >,
941     pub xSleep: ::std::option::Option<
942         unsafe extern "C" fn(
943             arg1: *mut sqlite3_vfs,
944             microseconds: ::std::os::raw::c_int,
945         ) -> ::std::os::raw::c_int,
946     >,
947     pub xCurrentTime: ::std::option::Option<
948         unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut f64) -> ::std::os::raw::c_int,
949     >,
950     pub xGetLastError: ::std::option::Option<
951         unsafe extern "C" fn(
952             arg1: *mut sqlite3_vfs,
953             arg2: ::std::os::raw::c_int,
954             arg3: *mut ::std::os::raw::c_char,
955         ) -> ::std::os::raw::c_int,
956     >,
957     pub xCurrentTimeInt64: ::std::option::Option<
958         unsafe extern "C" fn(
959             arg1: *mut sqlite3_vfs,
960             arg2: *mut sqlite3_int64,
961         ) -> ::std::os::raw::c_int,
962     >,
963     pub xSetSystemCall: ::std::option::Option<
964         unsafe extern "C" fn(
965             arg1: *mut sqlite3_vfs,
966             zName: *const ::std::os::raw::c_char,
967             arg2: sqlite3_syscall_ptr,
968         ) -> ::std::os::raw::c_int,
969     >,
970     pub xGetSystemCall: ::std::option::Option<
971         unsafe extern "C" fn(
972             arg1: *mut sqlite3_vfs,
973             zName: *const ::std::os::raw::c_char,
974         ) -> sqlite3_syscall_ptr,
975     >,
976     pub xNextSystemCall: ::std::option::Option<
977         unsafe extern "C" fn(
978             arg1: *mut sqlite3_vfs,
979             zName: *const ::std::os::raw::c_char,
980         ) -> *const ::std::os::raw::c_char,
981     >,
982 }
983 #[test]
bindgen_test_layout_sqlite3_vfs()984 fn bindgen_test_layout_sqlite3_vfs() {
985     assert_eq!(
986         ::std::mem::size_of::<sqlite3_vfs>(),
987         168usize,
988         concat!("Size of: ", stringify!(sqlite3_vfs))
989     );
990     assert_eq!(
991         ::std::mem::align_of::<sqlite3_vfs>(),
992         8usize,
993         concat!("Alignment of ", stringify!(sqlite3_vfs))
994     );
995     assert_eq!(
996         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).iVersion as *const _ as usize },
997         0usize,
998         concat!(
999             "Offset of field: ",
1000             stringify!(sqlite3_vfs),
1001             "::",
1002             stringify!(iVersion)
1003         )
1004     );
1005     assert_eq!(
1006         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).szOsFile as *const _ as usize },
1007         4usize,
1008         concat!(
1009             "Offset of field: ",
1010             stringify!(sqlite3_vfs),
1011             "::",
1012             stringify!(szOsFile)
1013         )
1014     );
1015     assert_eq!(
1016         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).mxPathname as *const _ as usize },
1017         8usize,
1018         concat!(
1019             "Offset of field: ",
1020             stringify!(sqlite3_vfs),
1021             "::",
1022             stringify!(mxPathname)
1023         )
1024     );
1025     assert_eq!(
1026         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).pNext as *const _ as usize },
1027         16usize,
1028         concat!(
1029             "Offset of field: ",
1030             stringify!(sqlite3_vfs),
1031             "::",
1032             stringify!(pNext)
1033         )
1034     );
1035     assert_eq!(
1036         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).zName as *const _ as usize },
1037         24usize,
1038         concat!(
1039             "Offset of field: ",
1040             stringify!(sqlite3_vfs),
1041             "::",
1042             stringify!(zName)
1043         )
1044     );
1045     assert_eq!(
1046         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).pAppData as *const _ as usize },
1047         32usize,
1048         concat!(
1049             "Offset of field: ",
1050             stringify!(sqlite3_vfs),
1051             "::",
1052             stringify!(pAppData)
1053         )
1054     );
1055     assert_eq!(
1056         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xOpen as *const _ as usize },
1057         40usize,
1058         concat!(
1059             "Offset of field: ",
1060             stringify!(sqlite3_vfs),
1061             "::",
1062             stringify!(xOpen)
1063         )
1064     );
1065     assert_eq!(
1066         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xDelete as *const _ as usize },
1067         48usize,
1068         concat!(
1069             "Offset of field: ",
1070             stringify!(sqlite3_vfs),
1071             "::",
1072             stringify!(xDelete)
1073         )
1074     );
1075     assert_eq!(
1076         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xAccess as *const _ as usize },
1077         56usize,
1078         concat!(
1079             "Offset of field: ",
1080             stringify!(sqlite3_vfs),
1081             "::",
1082             stringify!(xAccess)
1083         )
1084     );
1085     assert_eq!(
1086         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xFullPathname as *const _ as usize },
1087         64usize,
1088         concat!(
1089             "Offset of field: ",
1090             stringify!(sqlite3_vfs),
1091             "::",
1092             stringify!(xFullPathname)
1093         )
1094     );
1095     assert_eq!(
1096         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xDlOpen as *const _ as usize },
1097         72usize,
1098         concat!(
1099             "Offset of field: ",
1100             stringify!(sqlite3_vfs),
1101             "::",
1102             stringify!(xDlOpen)
1103         )
1104     );
1105     assert_eq!(
1106         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xDlError as *const _ as usize },
1107         80usize,
1108         concat!(
1109             "Offset of field: ",
1110             stringify!(sqlite3_vfs),
1111             "::",
1112             stringify!(xDlError)
1113         )
1114     );
1115     assert_eq!(
1116         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xDlSym as *const _ as usize },
1117         88usize,
1118         concat!(
1119             "Offset of field: ",
1120             stringify!(sqlite3_vfs),
1121             "::",
1122             stringify!(xDlSym)
1123         )
1124     );
1125     assert_eq!(
1126         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xDlClose as *const _ as usize },
1127         96usize,
1128         concat!(
1129             "Offset of field: ",
1130             stringify!(sqlite3_vfs),
1131             "::",
1132             stringify!(xDlClose)
1133         )
1134     );
1135     assert_eq!(
1136         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xRandomness as *const _ as usize },
1137         104usize,
1138         concat!(
1139             "Offset of field: ",
1140             stringify!(sqlite3_vfs),
1141             "::",
1142             stringify!(xRandomness)
1143         )
1144     );
1145     assert_eq!(
1146         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xSleep as *const _ as usize },
1147         112usize,
1148         concat!(
1149             "Offset of field: ",
1150             stringify!(sqlite3_vfs),
1151             "::",
1152             stringify!(xSleep)
1153         )
1154     );
1155     assert_eq!(
1156         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xCurrentTime as *const _ as usize },
1157         120usize,
1158         concat!(
1159             "Offset of field: ",
1160             stringify!(sqlite3_vfs),
1161             "::",
1162             stringify!(xCurrentTime)
1163         )
1164     );
1165     assert_eq!(
1166         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xGetLastError as *const _ as usize },
1167         128usize,
1168         concat!(
1169             "Offset of field: ",
1170             stringify!(sqlite3_vfs),
1171             "::",
1172             stringify!(xGetLastError)
1173         )
1174     );
1175     assert_eq!(
1176         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xCurrentTimeInt64 as *const _ as usize },
1177         136usize,
1178         concat!(
1179             "Offset of field: ",
1180             stringify!(sqlite3_vfs),
1181             "::",
1182             stringify!(xCurrentTimeInt64)
1183         )
1184     );
1185     assert_eq!(
1186         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xSetSystemCall as *const _ as usize },
1187         144usize,
1188         concat!(
1189             "Offset of field: ",
1190             stringify!(sqlite3_vfs),
1191             "::",
1192             stringify!(xSetSystemCall)
1193         )
1194     );
1195     assert_eq!(
1196         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xGetSystemCall as *const _ as usize },
1197         152usize,
1198         concat!(
1199             "Offset of field: ",
1200             stringify!(sqlite3_vfs),
1201             "::",
1202             stringify!(xGetSystemCall)
1203         )
1204     );
1205     assert_eq!(
1206         unsafe { &(*(::std::ptr::null::<sqlite3_vfs>())).xNextSystemCall as *const _ as usize },
1207         160usize,
1208         concat!(
1209             "Offset of field: ",
1210             stringify!(sqlite3_vfs),
1211             "::",
1212             stringify!(xNextSystemCall)
1213         )
1214     );
1215 }
1216 extern "C" {
sqlite3_initialize() -> ::std::os::raw::c_int1217     pub fn sqlite3_initialize() -> ::std::os::raw::c_int;
1218 }
1219 extern "C" {
sqlite3_shutdown() -> ::std::os::raw::c_int1220     pub fn sqlite3_shutdown() -> ::std::os::raw::c_int;
1221 }
1222 extern "C" {
sqlite3_os_init() -> ::std::os::raw::c_int1223     pub fn sqlite3_os_init() -> ::std::os::raw::c_int;
1224 }
1225 extern "C" {
sqlite3_os_end() -> ::std::os::raw::c_int1226     pub fn sqlite3_os_end() -> ::std::os::raw::c_int;
1227 }
1228 extern "C" {
sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int1229     pub fn sqlite3_config(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int;
1230 }
1231 extern "C" {
sqlite3_db_config( arg1: *mut sqlite3, op: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int1232     pub fn sqlite3_db_config(
1233         arg1: *mut sqlite3,
1234         op: ::std::os::raw::c_int,
1235         ...
1236     ) -> ::std::os::raw::c_int;
1237 }
1238 #[repr(C)]
1239 #[derive(Debug, Copy, Clone)]
1240 pub struct sqlite3_mem_methods {
1241     pub xMalloc: ::std::option::Option<
1242         unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void,
1243     >,
1244     pub xFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1245     pub xRealloc: ::std::option::Option<
1246         unsafe extern "C" fn(
1247             arg1: *mut ::std::os::raw::c_void,
1248             arg2: ::std::os::raw::c_int,
1249         ) -> *mut ::std::os::raw::c_void,
1250     >,
1251     pub xSize: ::std::option::Option<
1252         unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1253     >,
1254     pub xRoundup: ::std::option::Option<
1255         unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
1256     >,
1257     pub xInit: ::std::option::Option<
1258         unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1259     >,
1260     pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1261     pub pAppData: *mut ::std::os::raw::c_void,
1262 }
1263 #[test]
bindgen_test_layout_sqlite3_mem_methods()1264 fn bindgen_test_layout_sqlite3_mem_methods() {
1265     assert_eq!(
1266         ::std::mem::size_of::<sqlite3_mem_methods>(),
1267         64usize,
1268         concat!("Size of: ", stringify!(sqlite3_mem_methods))
1269     );
1270     assert_eq!(
1271         ::std::mem::align_of::<sqlite3_mem_methods>(),
1272         8usize,
1273         concat!("Alignment of ", stringify!(sqlite3_mem_methods))
1274     );
1275     assert_eq!(
1276         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xMalloc as *const _ as usize },
1277         0usize,
1278         concat!(
1279             "Offset of field: ",
1280             stringify!(sqlite3_mem_methods),
1281             "::",
1282             stringify!(xMalloc)
1283         )
1284     );
1285     assert_eq!(
1286         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xFree as *const _ as usize },
1287         8usize,
1288         concat!(
1289             "Offset of field: ",
1290             stringify!(sqlite3_mem_methods),
1291             "::",
1292             stringify!(xFree)
1293         )
1294     );
1295     assert_eq!(
1296         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xRealloc as *const _ as usize },
1297         16usize,
1298         concat!(
1299             "Offset of field: ",
1300             stringify!(sqlite3_mem_methods),
1301             "::",
1302             stringify!(xRealloc)
1303         )
1304     );
1305     assert_eq!(
1306         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xSize as *const _ as usize },
1307         24usize,
1308         concat!(
1309             "Offset of field: ",
1310             stringify!(sqlite3_mem_methods),
1311             "::",
1312             stringify!(xSize)
1313         )
1314     );
1315     assert_eq!(
1316         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xRoundup as *const _ as usize },
1317         32usize,
1318         concat!(
1319             "Offset of field: ",
1320             stringify!(sqlite3_mem_methods),
1321             "::",
1322             stringify!(xRoundup)
1323         )
1324     );
1325     assert_eq!(
1326         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xInit as *const _ as usize },
1327         40usize,
1328         concat!(
1329             "Offset of field: ",
1330             stringify!(sqlite3_mem_methods),
1331             "::",
1332             stringify!(xInit)
1333         )
1334     );
1335     assert_eq!(
1336         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).xShutdown as *const _ as usize },
1337         48usize,
1338         concat!(
1339             "Offset of field: ",
1340             stringify!(sqlite3_mem_methods),
1341             "::",
1342             stringify!(xShutdown)
1343         )
1344     );
1345     assert_eq!(
1346         unsafe { &(*(::std::ptr::null::<sqlite3_mem_methods>())).pAppData as *const _ as usize },
1347         56usize,
1348         concat!(
1349             "Offset of field: ",
1350             stringify!(sqlite3_mem_methods),
1351             "::",
1352             stringify!(pAppData)
1353         )
1354     );
1355 }
1356 extern "C" {
sqlite3_extended_result_codes( arg1: *mut sqlite3, onoff: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1357     pub fn sqlite3_extended_result_codes(
1358         arg1: *mut sqlite3,
1359         onoff: ::std::os::raw::c_int,
1360     ) -> ::std::os::raw::c_int;
1361 }
1362 extern "C" {
sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int641363     pub fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite3_int64;
1364 }
1365 extern "C" {
sqlite3_set_last_insert_rowid(arg1: *mut sqlite3, arg2: sqlite3_int64)1366     pub fn sqlite3_set_last_insert_rowid(arg1: *mut sqlite3, arg2: sqlite3_int64);
1367 }
1368 extern "C" {
sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int1369     pub fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
1370 }
1371 extern "C" {
sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int1372     pub fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
1373 }
1374 extern "C" {
sqlite3_interrupt(arg1: *mut sqlite3)1375     pub fn sqlite3_interrupt(arg1: *mut sqlite3);
1376 }
1377 extern "C" {
sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int1378     pub fn sqlite3_complete(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1379 }
1380 extern "C" {
sqlite3_complete16(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int1381     pub fn sqlite3_complete16(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int;
1382 }
1383 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_int1384     pub fn sqlite3_busy_handler(
1385         arg1: *mut sqlite3,
1386         arg2: ::std::option::Option<
1387             unsafe extern "C" fn(
1388                 arg1: *mut ::std::os::raw::c_void,
1389                 arg2: ::std::os::raw::c_int,
1390             ) -> ::std::os::raw::c_int,
1391         >,
1392         arg3: *mut ::std::os::raw::c_void,
1393     ) -> ::std::os::raw::c_int;
1394 }
1395 extern "C" {
sqlite3_busy_timeout( arg1: *mut sqlite3, ms: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1396     pub fn sqlite3_busy_timeout(
1397         arg1: *mut sqlite3,
1398         ms: ::std::os::raw::c_int,
1399     ) -> ::std::os::raw::c_int;
1400 }
1401 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_int1402     pub fn sqlite3_get_table(
1403         db: *mut sqlite3,
1404         zSql: *const ::std::os::raw::c_char,
1405         pazResult: *mut *mut *mut ::std::os::raw::c_char,
1406         pnRow: *mut ::std::os::raw::c_int,
1407         pnColumn: *mut ::std::os::raw::c_int,
1408         pzErrmsg: *mut *mut ::std::os::raw::c_char,
1409     ) -> ::std::os::raw::c_int;
1410 }
1411 extern "C" {
sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char)1412     pub fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char);
1413 }
1414 extern "C" {
sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...) -> *mut ::std::os::raw::c_char1415     pub fn sqlite3_mprintf(arg1: *const ::std::os::raw::c_char, ...)
1416         -> *mut ::std::os::raw::c_char;
1417 }
1418 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_char1419     pub fn sqlite3_snprintf(
1420         arg1: ::std::os::raw::c_int,
1421         arg2: *mut ::std::os::raw::c_char,
1422         arg3: *const ::std::os::raw::c_char,
1423         ...
1424     ) -> *mut ::std::os::raw::c_char;
1425 }
1426 extern "C" {
sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void1427     pub fn sqlite3_malloc(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void;
1428 }
1429 extern "C" {
sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void1430     pub fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void;
1431 }
1432 extern "C" {
sqlite3_realloc( arg1: *mut ::std::os::raw::c_void, arg2: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void1433     pub fn sqlite3_realloc(
1434         arg1: *mut ::std::os::raw::c_void,
1435         arg2: ::std::os::raw::c_int,
1436     ) -> *mut ::std::os::raw::c_void;
1437 }
1438 extern "C" {
sqlite3_realloc64( arg1: *mut ::std::os::raw::c_void, arg2: sqlite3_uint64, ) -> *mut ::std::os::raw::c_void1439     pub fn sqlite3_realloc64(
1440         arg1: *mut ::std::os::raw::c_void,
1441         arg2: sqlite3_uint64,
1442     ) -> *mut ::std::os::raw::c_void;
1443 }
1444 extern "C" {
sqlite3_free(arg1: *mut ::std::os::raw::c_void)1445     pub fn sqlite3_free(arg1: *mut ::std::os::raw::c_void);
1446 }
1447 extern "C" {
sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint641448     pub fn sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64;
1449 }
1450 extern "C" {
sqlite3_memory_used() -> sqlite3_int641451     pub fn sqlite3_memory_used() -> sqlite3_int64;
1452 }
1453 extern "C" {
sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int641454     pub fn sqlite3_memory_highwater(resetFlag: ::std::os::raw::c_int) -> sqlite3_int64;
1455 }
1456 extern "C" {
sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void)1457     pub fn sqlite3_randomness(N: ::std::os::raw::c_int, P: *mut ::std::os::raw::c_void);
1458 }
1459 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_int1460     pub fn sqlite3_set_authorizer(
1461         arg1: *mut sqlite3,
1462         xAuth: ::std::option::Option<
1463             unsafe extern "C" fn(
1464                 arg1: *mut ::std::os::raw::c_void,
1465                 arg2: ::std::os::raw::c_int,
1466                 arg3: *const ::std::os::raw::c_char,
1467                 arg4: *const ::std::os::raw::c_char,
1468                 arg5: *const ::std::os::raw::c_char,
1469                 arg6: *const ::std::os::raw::c_char,
1470             ) -> ::std::os::raw::c_int,
1471         >,
1472         pUserData: *mut ::std::os::raw::c_void,
1473     ) -> ::std::os::raw::c_int;
1474 }
1475 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_void1476     pub fn sqlite3_trace(
1477         arg1: *mut sqlite3,
1478         xTrace: ::std::option::Option<
1479             unsafe extern "C" fn(
1480                 arg1: *mut ::std::os::raw::c_void,
1481                 arg2: *const ::std::os::raw::c_char,
1482             ),
1483         >,
1484         arg2: *mut ::std::os::raw::c_void,
1485     ) -> *mut ::std::os::raw::c_void;
1486 }
1487 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_void1488     pub fn sqlite3_profile(
1489         arg1: *mut sqlite3,
1490         xProfile: ::std::option::Option<
1491             unsafe extern "C" fn(
1492                 arg1: *mut ::std::os::raw::c_void,
1493                 arg2: *const ::std::os::raw::c_char,
1494                 arg3: sqlite3_uint64,
1495             ),
1496         >,
1497         arg2: *mut ::std::os::raw::c_void,
1498     ) -> *mut ::std::os::raw::c_void;
1499 }
1500 extern "C" {
sqlite3_trace_v2( arg1: *mut sqlite3, uMask: ::std::os::raw::c_uint, xCallback: ::std::option::Option< unsafe extern "C" fn( arg1: ::std::os::raw::c_uint, arg2: *mut ::std::os::raw::c_void, arg3: *mut ::std::os::raw::c_void, arg4: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int, >, pCtx: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int1501     pub fn sqlite3_trace_v2(
1502         arg1: *mut sqlite3,
1503         uMask: ::std::os::raw::c_uint,
1504         xCallback: ::std::option::Option<
1505             unsafe extern "C" fn(
1506                 arg1: ::std::os::raw::c_uint,
1507                 arg2: *mut ::std::os::raw::c_void,
1508                 arg3: *mut ::std::os::raw::c_void,
1509                 arg4: *mut ::std::os::raw::c_void,
1510             ) -> ::std::os::raw::c_int,
1511         >,
1512         pCtx: *mut ::std::os::raw::c_void,
1513     ) -> ::std::os::raw::c_int;
1514 }
1515 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, )1516     pub fn sqlite3_progress_handler(
1517         arg1: *mut sqlite3,
1518         arg2: ::std::os::raw::c_int,
1519         arg3: ::std::option::Option<
1520             unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1521         >,
1522         arg4: *mut ::std::os::raw::c_void,
1523     );
1524 }
1525 extern "C" {
sqlite3_open( filename: *const ::std::os::raw::c_char, ppDb: *mut *mut sqlite3, ) -> ::std::os::raw::c_int1526     pub fn sqlite3_open(
1527         filename: *const ::std::os::raw::c_char,
1528         ppDb: *mut *mut sqlite3,
1529     ) -> ::std::os::raw::c_int;
1530 }
1531 extern "C" {
sqlite3_open16( filename: *const ::std::os::raw::c_void, ppDb: *mut *mut sqlite3, ) -> ::std::os::raw::c_int1532     pub fn sqlite3_open16(
1533         filename: *const ::std::os::raw::c_void,
1534         ppDb: *mut *mut sqlite3,
1535     ) -> ::std::os::raw::c_int;
1536 }
1537 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_int1538     pub fn sqlite3_open_v2(
1539         filename: *const ::std::os::raw::c_char,
1540         ppDb: *mut *mut sqlite3,
1541         flags: ::std::os::raw::c_int,
1542         zVfs: *const ::std::os::raw::c_char,
1543     ) -> ::std::os::raw::c_int;
1544 }
1545 extern "C" {
sqlite3_uri_parameter( zFilename: *const ::std::os::raw::c_char, zParam: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char1546     pub fn sqlite3_uri_parameter(
1547         zFilename: *const ::std::os::raw::c_char,
1548         zParam: *const ::std::os::raw::c_char,
1549     ) -> *const ::std::os::raw::c_char;
1550 }
1551 extern "C" {
sqlite3_uri_boolean( zFile: *const ::std::os::raw::c_char, zParam: *const ::std::os::raw::c_char, bDefault: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1552     pub fn sqlite3_uri_boolean(
1553         zFile: *const ::std::os::raw::c_char,
1554         zParam: *const ::std::os::raw::c_char,
1555         bDefault: ::std::os::raw::c_int,
1556     ) -> ::std::os::raw::c_int;
1557 }
1558 extern "C" {
sqlite3_uri_int64( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_int64, ) -> sqlite3_int641559     pub fn sqlite3_uri_int64(
1560         arg1: *const ::std::os::raw::c_char,
1561         arg2: *const ::std::os::raw::c_char,
1562         arg3: sqlite3_int64,
1563     ) -> sqlite3_int64;
1564 }
1565 extern "C" {
sqlite3_uri_key( zFilename: *const ::std::os::raw::c_char, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1566     pub fn sqlite3_uri_key(
1567         zFilename: *const ::std::os::raw::c_char,
1568         N: ::std::os::raw::c_int,
1569     ) -> *const ::std::os::raw::c_char;
1570 }
1571 extern "C" {
sqlite3_filename_database( arg1: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char1572     pub fn sqlite3_filename_database(
1573         arg1: *const ::std::os::raw::c_char,
1574     ) -> *const ::std::os::raw::c_char;
1575 }
1576 extern "C" {
sqlite3_filename_journal( arg1: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char1577     pub fn sqlite3_filename_journal(
1578         arg1: *const ::std::os::raw::c_char,
1579     ) -> *const ::std::os::raw::c_char;
1580 }
1581 extern "C" {
sqlite3_filename_wal( arg1: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char1582     pub fn sqlite3_filename_wal(
1583         arg1: *const ::std::os::raw::c_char,
1584     ) -> *const ::std::os::raw::c_char;
1585 }
1586 extern "C" {
sqlite3_database_file_object(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_file1587     pub fn sqlite3_database_file_object(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_file;
1588 }
1589 extern "C" {
sqlite3_create_filename( zDatabase: *const ::std::os::raw::c_char, zJournal: *const ::std::os::raw::c_char, zWal: *const ::std::os::raw::c_char, nParam: ::std::os::raw::c_int, azParam: *mut *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_char1590     pub fn sqlite3_create_filename(
1591         zDatabase: *const ::std::os::raw::c_char,
1592         zJournal: *const ::std::os::raw::c_char,
1593         zWal: *const ::std::os::raw::c_char,
1594         nParam: ::std::os::raw::c_int,
1595         azParam: *mut *const ::std::os::raw::c_char,
1596     ) -> *mut ::std::os::raw::c_char;
1597 }
1598 extern "C" {
sqlite3_free_filename(arg1: *mut ::std::os::raw::c_char)1599     pub fn sqlite3_free_filename(arg1: *mut ::std::os::raw::c_char);
1600 }
1601 extern "C" {
sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int1602     pub fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int;
1603 }
1604 extern "C" {
sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int1605     pub fn sqlite3_extended_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int;
1606 }
1607 extern "C" {
sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char1608     pub fn sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char;
1609 }
1610 extern "C" {
sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void1611     pub fn sqlite3_errmsg16(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void;
1612 }
1613 extern "C" {
sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char1614     pub fn sqlite3_errstr(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char;
1615 }
1616 #[repr(C)]
1617 #[derive(Debug, Copy, Clone)]
1618 pub struct sqlite3_stmt {
1619     _unused: [u8; 0],
1620 }
1621 extern "C" {
sqlite3_limit( arg1: *mut sqlite3, id: ::std::os::raw::c_int, newVal: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1622     pub fn sqlite3_limit(
1623         arg1: *mut sqlite3,
1624         id: ::std::os::raw::c_int,
1625         newVal: ::std::os::raw::c_int,
1626     ) -> ::std::os::raw::c_int;
1627 }
1628 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_int1629     pub fn sqlite3_prepare(
1630         db: *mut sqlite3,
1631         zSql: *const ::std::os::raw::c_char,
1632         nByte: ::std::os::raw::c_int,
1633         ppStmt: *mut *mut sqlite3_stmt,
1634         pzTail: *mut *const ::std::os::raw::c_char,
1635     ) -> ::std::os::raw::c_int;
1636 }
1637 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_int1638     pub fn sqlite3_prepare_v2(
1639         db: *mut sqlite3,
1640         zSql: *const ::std::os::raw::c_char,
1641         nByte: ::std::os::raw::c_int,
1642         ppStmt: *mut *mut sqlite3_stmt,
1643         pzTail: *mut *const ::std::os::raw::c_char,
1644     ) -> ::std::os::raw::c_int;
1645 }
1646 extern "C" {
sqlite3_prepare_v3( db: *mut sqlite3, zSql: *const ::std::os::raw::c_char, nByte: ::std::os::raw::c_int, prepFlags: ::std::os::raw::c_uint, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1647     pub fn sqlite3_prepare_v3(
1648         db: *mut sqlite3,
1649         zSql: *const ::std::os::raw::c_char,
1650         nByte: ::std::os::raw::c_int,
1651         prepFlags: ::std::os::raw::c_uint,
1652         ppStmt: *mut *mut sqlite3_stmt,
1653         pzTail: *mut *const ::std::os::raw::c_char,
1654     ) -> ::std::os::raw::c_int;
1655 }
1656 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_int1657     pub fn sqlite3_prepare16(
1658         db: *mut sqlite3,
1659         zSql: *const ::std::os::raw::c_void,
1660         nByte: ::std::os::raw::c_int,
1661         ppStmt: *mut *mut sqlite3_stmt,
1662         pzTail: *mut *const ::std::os::raw::c_void,
1663     ) -> ::std::os::raw::c_int;
1664 }
1665 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_int1666     pub fn sqlite3_prepare16_v2(
1667         db: *mut sqlite3,
1668         zSql: *const ::std::os::raw::c_void,
1669         nByte: ::std::os::raw::c_int,
1670         ppStmt: *mut *mut sqlite3_stmt,
1671         pzTail: *mut *const ::std::os::raw::c_void,
1672     ) -> ::std::os::raw::c_int;
1673 }
1674 extern "C" {
sqlite3_prepare16_v3( db: *mut sqlite3, zSql: *const ::std::os::raw::c_void, nByte: ::std::os::raw::c_int, prepFlags: ::std::os::raw::c_uint, ppStmt: *mut *mut sqlite3_stmt, pzTail: *mut *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int1675     pub fn sqlite3_prepare16_v3(
1676         db: *mut sqlite3,
1677         zSql: *const ::std::os::raw::c_void,
1678         nByte: ::std::os::raw::c_int,
1679         prepFlags: ::std::os::raw::c_uint,
1680         ppStmt: *mut *mut sqlite3_stmt,
1681         pzTail: *mut *const ::std::os::raw::c_void,
1682     ) -> ::std::os::raw::c_int;
1683 }
1684 extern "C" {
sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char1685     pub fn sqlite3_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char;
1686 }
1687 extern "C" {
sqlite3_expanded_sql(pStmt: *mut sqlite3_stmt) -> *mut ::std::os::raw::c_char1688     pub fn sqlite3_expanded_sql(pStmt: *mut sqlite3_stmt) -> *mut ::std::os::raw::c_char;
1689 }
1690 extern "C" {
sqlite3_normalized_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char1691     pub fn sqlite3_normalized_sql(pStmt: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char;
1692 }
1693 extern "C" {
sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1694     pub fn sqlite3_stmt_readonly(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1695 }
1696 extern "C" {
sqlite3_stmt_isexplain(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1697     pub fn sqlite3_stmt_isexplain(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1698 }
1699 extern "C" {
sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1700     pub fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1701 }
1702 #[repr(C)]
1703 #[derive(Debug, Copy, Clone)]
1704 pub struct sqlite3_value {
1705     _unused: [u8; 0],
1706 }
1707 #[repr(C)]
1708 #[derive(Debug, Copy, Clone)]
1709 pub struct sqlite3_context {
1710     _unused: [u8; 0],
1711 }
1712 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_int1713     pub fn sqlite3_bind_blob(
1714         arg1: *mut sqlite3_stmt,
1715         arg2: ::std::os::raw::c_int,
1716         arg3: *const ::std::os::raw::c_void,
1717         n: ::std::os::raw::c_int,
1718         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1719     ) -> ::std::os::raw::c_int;
1720 }
1721 extern "C" {
sqlite3_bind_blob64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_void, arg4: sqlite3_uint64, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1722     pub fn sqlite3_bind_blob64(
1723         arg1: *mut sqlite3_stmt,
1724         arg2: ::std::os::raw::c_int,
1725         arg3: *const ::std::os::raw::c_void,
1726         arg4: sqlite3_uint64,
1727         arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1728     ) -> ::std::os::raw::c_int;
1729 }
1730 extern "C" {
sqlite3_bind_double( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: f64, ) -> ::std::os::raw::c_int1731     pub fn sqlite3_bind_double(
1732         arg1: *mut sqlite3_stmt,
1733         arg2: ::std::os::raw::c_int,
1734         arg3: f64,
1735     ) -> ::std::os::raw::c_int;
1736 }
1737 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_int1738     pub fn sqlite3_bind_int(
1739         arg1: *mut sqlite3_stmt,
1740         arg2: ::std::os::raw::c_int,
1741         arg3: ::std::os::raw::c_int,
1742     ) -> ::std::os::raw::c_int;
1743 }
1744 extern "C" {
sqlite3_bind_int64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_int64, ) -> ::std::os::raw::c_int1745     pub fn sqlite3_bind_int64(
1746         arg1: *mut sqlite3_stmt,
1747         arg2: ::std::os::raw::c_int,
1748         arg3: sqlite3_int64,
1749     ) -> ::std::os::raw::c_int;
1750 }
1751 extern "C" {
sqlite3_bind_null( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1752     pub fn sqlite3_bind_null(
1753         arg1: *mut sqlite3_stmt,
1754         arg2: ::std::os::raw::c_int,
1755     ) -> ::std::os::raw::c_int;
1756 }
1757 extern "C" {
sqlite3_bind_text( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, arg4: ::std::os::raw::c_int, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1758     pub fn sqlite3_bind_text(
1759         arg1: *mut sqlite3_stmt,
1760         arg2: ::std::os::raw::c_int,
1761         arg3: *const ::std::os::raw::c_char,
1762         arg4: ::std::os::raw::c_int,
1763         arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1764     ) -> ::std::os::raw::c_int;
1765 }
1766 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_int1767     pub fn sqlite3_bind_text16(
1768         arg1: *mut sqlite3_stmt,
1769         arg2: ::std::os::raw::c_int,
1770         arg3: *const ::std::os::raw::c_void,
1771         arg4: ::std::os::raw::c_int,
1772         arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1773     ) -> ::std::os::raw::c_int;
1774 }
1775 extern "C" {
sqlite3_bind_text64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const ::std::os::raw::c_char, arg4: sqlite3_uint64, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, encoding: ::std::os::raw::c_uchar, ) -> ::std::os::raw::c_int1776     pub fn sqlite3_bind_text64(
1777         arg1: *mut sqlite3_stmt,
1778         arg2: ::std::os::raw::c_int,
1779         arg3: *const ::std::os::raw::c_char,
1780         arg4: sqlite3_uint64,
1781         arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1782         encoding: ::std::os::raw::c_uchar,
1783     ) -> ::std::os::raw::c_int;
1784 }
1785 extern "C" {
sqlite3_bind_value( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *const sqlite3_value, ) -> ::std::os::raw::c_int1786     pub fn sqlite3_bind_value(
1787         arg1: *mut sqlite3_stmt,
1788         arg2: ::std::os::raw::c_int,
1789         arg3: *const sqlite3_value,
1790     ) -> ::std::os::raw::c_int;
1791 }
1792 extern "C" {
sqlite3_bind_pointer( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: *mut ::std::os::raw::c_void, arg4: *const ::std::os::raw::c_char, arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int1793     pub fn sqlite3_bind_pointer(
1794         arg1: *mut sqlite3_stmt,
1795         arg2: ::std::os::raw::c_int,
1796         arg3: *mut ::std::os::raw::c_void,
1797         arg4: *const ::std::os::raw::c_char,
1798         arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1799     ) -> ::std::os::raw::c_int;
1800 }
1801 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_int1802     pub fn sqlite3_bind_zeroblob(
1803         arg1: *mut sqlite3_stmt,
1804         arg2: ::std::os::raw::c_int,
1805         n: ::std::os::raw::c_int,
1806     ) -> ::std::os::raw::c_int;
1807 }
1808 extern "C" {
sqlite3_bind_zeroblob64( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, arg3: sqlite3_uint64, ) -> ::std::os::raw::c_int1809     pub fn sqlite3_bind_zeroblob64(
1810         arg1: *mut sqlite3_stmt,
1811         arg2: ::std::os::raw::c_int,
1812         arg3: sqlite3_uint64,
1813     ) -> ::std::os::raw::c_int;
1814 }
1815 extern "C" {
sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1816     pub fn sqlite3_bind_parameter_count(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1817 }
1818 extern "C" {
sqlite3_bind_parameter_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1819     pub fn sqlite3_bind_parameter_name(
1820         arg1: *mut sqlite3_stmt,
1821         arg2: ::std::os::raw::c_int,
1822     ) -> *const ::std::os::raw::c_char;
1823 }
1824 extern "C" {
sqlite3_bind_parameter_index( arg1: *mut sqlite3_stmt, zName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int1825     pub fn sqlite3_bind_parameter_index(
1826         arg1: *mut sqlite3_stmt,
1827         zName: *const ::std::os::raw::c_char,
1828     ) -> ::std::os::raw::c_int;
1829 }
1830 extern "C" {
sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1831     pub fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1832 }
1833 extern "C" {
sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1834     pub fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1835 }
1836 extern "C" {
sqlite3_column_name( arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1837     pub fn sqlite3_column_name(
1838         arg1: *mut sqlite3_stmt,
1839         N: ::std::os::raw::c_int,
1840     ) -> *const ::std::os::raw::c_char;
1841 }
1842 extern "C" {
sqlite3_column_name16( arg1: *mut sqlite3_stmt, N: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1843     pub fn sqlite3_column_name16(
1844         arg1: *mut sqlite3_stmt,
1845         N: ::std::os::raw::c_int,
1846     ) -> *const ::std::os::raw::c_void;
1847 }
1848 extern "C" {
sqlite3_column_database_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1849     pub fn sqlite3_column_database_name(
1850         arg1: *mut sqlite3_stmt,
1851         arg2: ::std::os::raw::c_int,
1852     ) -> *const ::std::os::raw::c_char;
1853 }
1854 extern "C" {
sqlite3_column_database_name16( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1855     pub fn sqlite3_column_database_name16(
1856         arg1: *mut sqlite3_stmt,
1857         arg2: ::std::os::raw::c_int,
1858     ) -> *const ::std::os::raw::c_void;
1859 }
1860 extern "C" {
sqlite3_column_table_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1861     pub fn sqlite3_column_table_name(
1862         arg1: *mut sqlite3_stmt,
1863         arg2: ::std::os::raw::c_int,
1864     ) -> *const ::std::os::raw::c_char;
1865 }
1866 extern "C" {
sqlite3_column_table_name16( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1867     pub fn sqlite3_column_table_name16(
1868         arg1: *mut sqlite3_stmt,
1869         arg2: ::std::os::raw::c_int,
1870     ) -> *const ::std::os::raw::c_void;
1871 }
1872 extern "C" {
sqlite3_column_origin_name( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1873     pub fn sqlite3_column_origin_name(
1874         arg1: *mut sqlite3_stmt,
1875         arg2: ::std::os::raw::c_int,
1876     ) -> *const ::std::os::raw::c_char;
1877 }
1878 extern "C" {
sqlite3_column_origin_name16( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1879     pub fn sqlite3_column_origin_name16(
1880         arg1: *mut sqlite3_stmt,
1881         arg2: ::std::os::raw::c_int,
1882     ) -> *const ::std::os::raw::c_void;
1883 }
1884 extern "C" {
sqlite3_column_decltype( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char1885     pub fn sqlite3_column_decltype(
1886         arg1: *mut sqlite3_stmt,
1887         arg2: ::std::os::raw::c_int,
1888     ) -> *const ::std::os::raw::c_char;
1889 }
1890 extern "C" {
sqlite3_column_decltype16( arg1: *mut sqlite3_stmt, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1891     pub fn sqlite3_column_decltype16(
1892         arg1: *mut sqlite3_stmt,
1893         arg2: ::std::os::raw::c_int,
1894     ) -> *const ::std::os::raw::c_void;
1895 }
1896 extern "C" {
sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int1897     pub fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1898 }
1899 extern "C" {
sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1900     pub fn sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1901 }
1902 extern "C" {
sqlite3_column_blob( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1903     pub fn sqlite3_column_blob(
1904         arg1: *mut sqlite3_stmt,
1905         iCol: ::std::os::raw::c_int,
1906     ) -> *const ::std::os::raw::c_void;
1907 }
1908 extern "C" {
sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f641909     pub fn sqlite3_column_double(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f64;
1910 }
1911 extern "C" {
sqlite3_column_int( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1912     pub fn sqlite3_column_int(
1913         arg1: *mut sqlite3_stmt,
1914         iCol: ::std::os::raw::c_int,
1915     ) -> ::std::os::raw::c_int;
1916 }
1917 extern "C" {
sqlite3_column_int64( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> sqlite3_int641918     pub fn sqlite3_column_int64(
1919         arg1: *mut sqlite3_stmt,
1920         iCol: ::std::os::raw::c_int,
1921     ) -> sqlite3_int64;
1922 }
1923 extern "C" {
sqlite3_column_text( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_uchar1924     pub fn sqlite3_column_text(
1925         arg1: *mut sqlite3_stmt,
1926         iCol: ::std::os::raw::c_int,
1927     ) -> *const ::std::os::raw::c_uchar;
1928 }
1929 extern "C" {
sqlite3_column_text16( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_void1930     pub fn sqlite3_column_text16(
1931         arg1: *mut sqlite3_stmt,
1932         iCol: ::std::os::raw::c_int,
1933     ) -> *const ::std::os::raw::c_void;
1934 }
1935 extern "C" {
sqlite3_column_value( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> *mut sqlite3_value1936     pub fn sqlite3_column_value(
1937         arg1: *mut sqlite3_stmt,
1938         iCol: ::std::os::raw::c_int,
1939     ) -> *mut sqlite3_value;
1940 }
1941 extern "C" {
sqlite3_column_bytes( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1942     pub fn sqlite3_column_bytes(
1943         arg1: *mut sqlite3_stmt,
1944         iCol: ::std::os::raw::c_int,
1945     ) -> ::std::os::raw::c_int;
1946 }
1947 extern "C" {
sqlite3_column_bytes16( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1948     pub fn sqlite3_column_bytes16(
1949         arg1: *mut sqlite3_stmt,
1950         iCol: ::std::os::raw::c_int,
1951     ) -> ::std::os::raw::c_int;
1952 }
1953 extern "C" {
sqlite3_column_type( arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int1954     pub fn sqlite3_column_type(
1955         arg1: *mut sqlite3_stmt,
1956         iCol: ::std::os::raw::c_int,
1957     ) -> ::std::os::raw::c_int;
1958 }
1959 extern "C" {
sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1960     pub fn sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1961 }
1962 extern "C" {
sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int1963     pub fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
1964 }
1965 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_int1966     pub fn sqlite3_create_function(
1967         db: *mut sqlite3,
1968         zFunctionName: *const ::std::os::raw::c_char,
1969         nArg: ::std::os::raw::c_int,
1970         eTextRep: ::std::os::raw::c_int,
1971         pApp: *mut ::std::os::raw::c_void,
1972         xFunc: ::std::option::Option<
1973             unsafe extern "C" fn(
1974                 arg1: *mut sqlite3_context,
1975                 arg2: ::std::os::raw::c_int,
1976                 arg3: *mut *mut sqlite3_value,
1977             ),
1978         >,
1979         xStep: ::std::option::Option<
1980             unsafe extern "C" fn(
1981                 arg1: *mut sqlite3_context,
1982                 arg2: ::std::os::raw::c_int,
1983                 arg3: *mut *mut sqlite3_value,
1984             ),
1985         >,
1986         xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
1987     ) -> ::std::os::raw::c_int;
1988 }
1989 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_int1990     pub fn sqlite3_create_function16(
1991         db: *mut sqlite3,
1992         zFunctionName: *const ::std::os::raw::c_void,
1993         nArg: ::std::os::raw::c_int,
1994         eTextRep: ::std::os::raw::c_int,
1995         pApp: *mut ::std::os::raw::c_void,
1996         xFunc: ::std::option::Option<
1997             unsafe extern "C" fn(
1998                 arg1: *mut sqlite3_context,
1999                 arg2: ::std::os::raw::c_int,
2000                 arg3: *mut *mut sqlite3_value,
2001             ),
2002         >,
2003         xStep: ::std::option::Option<
2004             unsafe extern "C" fn(
2005                 arg1: *mut sqlite3_context,
2006                 arg2: ::std::os::raw::c_int,
2007                 arg3: *mut *mut sqlite3_value,
2008             ),
2009         >,
2010         xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2011     ) -> ::std::os::raw::c_int;
2012 }
2013 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_int2014     pub fn sqlite3_create_function_v2(
2015         db: *mut sqlite3,
2016         zFunctionName: *const ::std::os::raw::c_char,
2017         nArg: ::std::os::raw::c_int,
2018         eTextRep: ::std::os::raw::c_int,
2019         pApp: *mut ::std::os::raw::c_void,
2020         xFunc: ::std::option::Option<
2021             unsafe extern "C" fn(
2022                 arg1: *mut sqlite3_context,
2023                 arg2: ::std::os::raw::c_int,
2024                 arg3: *mut *mut sqlite3_value,
2025             ),
2026         >,
2027         xStep: ::std::option::Option<
2028             unsafe extern "C" fn(
2029                 arg1: *mut sqlite3_context,
2030                 arg2: ::std::os::raw::c_int,
2031                 arg3: *mut *mut sqlite3_value,
2032             ),
2033         >,
2034         xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2035         xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2036     ) -> ::std::os::raw::c_int;
2037 }
2038 extern "C" {
sqlite3_create_window_function( db: *mut sqlite3, zFunctionName: *const ::std::os::raw::c_char, nArg: ::std::os::raw::c_int, eTextRep: ::std::os::raw::c_int, pApp: *mut ::std::os::raw::c_void, xStep: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>, xInverse: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int, arg3: *mut *mut sqlite3_value, ), >, xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int2039     pub fn sqlite3_create_window_function(
2040         db: *mut sqlite3,
2041         zFunctionName: *const ::std::os::raw::c_char,
2042         nArg: ::std::os::raw::c_int,
2043         eTextRep: ::std::os::raw::c_int,
2044         pApp: *mut ::std::os::raw::c_void,
2045         xStep: ::std::option::Option<
2046             unsafe extern "C" fn(
2047                 arg1: *mut sqlite3_context,
2048                 arg2: ::std::os::raw::c_int,
2049                 arg3: *mut *mut sqlite3_value,
2050             ),
2051         >,
2052         xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2053         xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2054         xInverse: ::std::option::Option<
2055             unsafe extern "C" fn(
2056                 arg1: *mut sqlite3_context,
2057                 arg2: ::std::os::raw::c_int,
2058                 arg3: *mut *mut sqlite3_value,
2059             ),
2060         >,
2061         xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2062     ) -> ::std::os::raw::c_int;
2063 }
2064 extern "C" {
sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int2065     pub fn sqlite3_aggregate_count(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int;
2066 }
2067 extern "C" {
sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int2068     pub fn sqlite3_expired(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int;
2069 }
2070 extern "C" {
sqlite3_transfer_bindings( arg1: *mut sqlite3_stmt, arg2: *mut sqlite3_stmt, ) -> ::std::os::raw::c_int2071     pub fn sqlite3_transfer_bindings(
2072         arg1: *mut sqlite3_stmt,
2073         arg2: *mut sqlite3_stmt,
2074     ) -> ::std::os::raw::c_int;
2075 }
2076 extern "C" {
sqlite3_global_recover() -> ::std::os::raw::c_int2077     pub fn sqlite3_global_recover() -> ::std::os::raw::c_int;
2078 }
2079 extern "C" {
sqlite3_thread_cleanup()2080     pub fn sqlite3_thread_cleanup();
2081 }
2082 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_int2083     pub fn sqlite3_memory_alarm(
2084         arg1: ::std::option::Option<
2085             unsafe extern "C" fn(
2086                 arg1: *mut ::std::os::raw::c_void,
2087                 arg2: sqlite3_int64,
2088                 arg3: ::std::os::raw::c_int,
2089             ),
2090         >,
2091         arg2: *mut ::std::os::raw::c_void,
2092         arg3: sqlite3_int64,
2093     ) -> ::std::os::raw::c_int;
2094 }
2095 extern "C" {
sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void2096     pub fn sqlite3_value_blob(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
2097 }
2098 extern "C" {
sqlite3_value_double(arg1: *mut sqlite3_value) -> f642099     pub fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64;
2100 }
2101 extern "C" {
sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2102     pub fn sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2103 }
2104 extern "C" {
sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int642105     pub fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite3_int64;
2106 }
2107 extern "C" {
sqlite3_value_pointer( arg1: *mut sqlite3_value, arg2: *const ::std::os::raw::c_char, ) -> *mut ::std::os::raw::c_void2108     pub fn sqlite3_value_pointer(
2109         arg1: *mut sqlite3_value,
2110         arg2: *const ::std::os::raw::c_char,
2111     ) -> *mut ::std::os::raw::c_void;
2112 }
2113 extern "C" {
sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar2114     pub fn sqlite3_value_text(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar;
2115 }
2116 extern "C" {
sqlite3_value_text16(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void2117     pub fn sqlite3_value_text16(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
2118 }
2119 extern "C" {
sqlite3_value_text16le(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void2120     pub fn sqlite3_value_text16le(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
2121 }
2122 extern "C" {
sqlite3_value_text16be(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void2123     pub fn sqlite3_value_text16be(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void;
2124 }
2125 extern "C" {
sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2126     pub fn sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2127 }
2128 extern "C" {
sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2129     pub fn sqlite3_value_bytes16(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2130 }
2131 extern "C" {
sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2132     pub fn sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2133 }
2134 extern "C" {
sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2135     pub fn sqlite3_value_numeric_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2136 }
2137 extern "C" {
sqlite3_value_nochange(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2138     pub fn sqlite3_value_nochange(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2139 }
2140 extern "C" {
sqlite3_value_frombind(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int2141     pub fn sqlite3_value_frombind(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int;
2142 }
2143 extern "C" {
sqlite3_value_subtype(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint2144     pub fn sqlite3_value_subtype(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint;
2145 }
2146 extern "C" {
sqlite3_value_dup(arg1: *const sqlite3_value) -> *mut sqlite3_value2147     pub fn sqlite3_value_dup(arg1: *const sqlite3_value) -> *mut sqlite3_value;
2148 }
2149 extern "C" {
sqlite3_value_free(arg1: *mut sqlite3_value)2150     pub fn sqlite3_value_free(arg1: *mut sqlite3_value);
2151 }
2152 extern "C" {
sqlite3_aggregate_context( arg1: *mut sqlite3_context, nBytes: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void2153     pub fn sqlite3_aggregate_context(
2154         arg1: *mut sqlite3_context,
2155         nBytes: ::std::os::raw::c_int,
2156     ) -> *mut ::std::os::raw::c_void;
2157 }
2158 extern "C" {
sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void2159     pub fn sqlite3_user_data(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void;
2160 }
2161 extern "C" {
sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite32162     pub fn sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite3;
2163 }
2164 extern "C" {
sqlite3_get_auxdata( arg1: *mut sqlite3_context, N: ::std::os::raw::c_int, ) -> *mut ::std::os::raw::c_void2165     pub fn sqlite3_get_auxdata(
2166         arg1: *mut sqlite3_context,
2167         N: ::std::os::raw::c_int,
2168     ) -> *mut ::std::os::raw::c_void;
2169 }
2170 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)>, )2171     pub fn sqlite3_set_auxdata(
2172         arg1: *mut sqlite3_context,
2173         N: ::std::os::raw::c_int,
2174         arg2: *mut ::std::os::raw::c_void,
2175         arg3: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2176     );
2177 }
2178 pub type sqlite3_destructor_type =
2179     ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
2180 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)>, )2181     pub fn sqlite3_result_blob(
2182         arg1: *mut sqlite3_context,
2183         arg2: *const ::std::os::raw::c_void,
2184         arg3: ::std::os::raw::c_int,
2185         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2186     );
2187 }
2188 extern "C" {
sqlite3_result_blob64( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: sqlite3_uint64, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )2189     pub fn sqlite3_result_blob64(
2190         arg1: *mut sqlite3_context,
2191         arg2: *const ::std::os::raw::c_void,
2192         arg3: sqlite3_uint64,
2193         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2194     );
2195 }
2196 extern "C" {
sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64)2197     pub fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64);
2198 }
2199 extern "C" {
sqlite3_result_error( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: ::std::os::raw::c_int, )2200     pub fn sqlite3_result_error(
2201         arg1: *mut sqlite3_context,
2202         arg2: *const ::std::os::raw::c_char,
2203         arg3: ::std::os::raw::c_int,
2204     );
2205 }
2206 extern "C" {
sqlite3_result_error16( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_void, arg3: ::std::os::raw::c_int, )2207     pub fn sqlite3_result_error16(
2208         arg1: *mut sqlite3_context,
2209         arg2: *const ::std::os::raw::c_void,
2210         arg3: ::std::os::raw::c_int,
2211     );
2212 }
2213 extern "C" {
sqlite3_result_error_toobig(arg1: *mut sqlite3_context)2214     pub fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context);
2215 }
2216 extern "C" {
sqlite3_result_error_nomem(arg1: *mut sqlite3_context)2217     pub fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context);
2218 }
2219 extern "C" {
sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)2220     pub fn sqlite3_result_error_code(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int);
2221 }
2222 extern "C" {
sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int)2223     pub fn sqlite3_result_int(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int);
2224 }
2225 extern "C" {
sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64)2226     pub fn sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite3_int64);
2227 }
2228 extern "C" {
sqlite3_result_null(arg1: *mut sqlite3_context)2229     pub fn sqlite3_result_null(arg1: *mut sqlite3_context);
2230 }
2231 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)>, )2232     pub fn sqlite3_result_text(
2233         arg1: *mut sqlite3_context,
2234         arg2: *const ::std::os::raw::c_char,
2235         arg3: ::std::os::raw::c_int,
2236         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2237     );
2238 }
2239 extern "C" {
sqlite3_result_text64( arg1: *mut sqlite3_context, arg2: *const ::std::os::raw::c_char, arg3: sqlite3_uint64, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, encoding: ::std::os::raw::c_uchar, )2240     pub fn sqlite3_result_text64(
2241         arg1: *mut sqlite3_context,
2242         arg2: *const ::std::os::raw::c_char,
2243         arg3: sqlite3_uint64,
2244         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2245         encoding: ::std::os::raw::c_uchar,
2246     );
2247 }
2248 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)>, )2249     pub fn sqlite3_result_text16(
2250         arg1: *mut sqlite3_context,
2251         arg2: *const ::std::os::raw::c_void,
2252         arg3: ::std::os::raw::c_int,
2253         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2254     );
2255 }
2256 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)>, )2257     pub fn sqlite3_result_text16le(
2258         arg1: *mut sqlite3_context,
2259         arg2: *const ::std::os::raw::c_void,
2260         arg3: ::std::os::raw::c_int,
2261         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2262     );
2263 }
2264 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)>, )2265     pub fn sqlite3_result_text16be(
2266         arg1: *mut sqlite3_context,
2267         arg2: *const ::std::os::raw::c_void,
2268         arg3: ::std::os::raw::c_int,
2269         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2270     );
2271 }
2272 extern "C" {
sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value)2273     pub fn sqlite3_result_value(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value);
2274 }
2275 extern "C" {
sqlite3_result_pointer( arg1: *mut sqlite3_context, arg2: *mut ::std::os::raw::c_void, arg3: *const ::std::os::raw::c_char, arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, )2276     pub fn sqlite3_result_pointer(
2277         arg1: *mut sqlite3_context,
2278         arg2: *mut ::std::os::raw::c_void,
2279         arg3: *const ::std::os::raw::c_char,
2280         arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2281     );
2282 }
2283 extern "C" {
sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int)2284     pub fn sqlite3_result_zeroblob(arg1: *mut sqlite3_context, n: ::std::os::raw::c_int);
2285 }
2286 extern "C" {
sqlite3_result_zeroblob64( arg1: *mut sqlite3_context, n: sqlite3_uint64, ) -> ::std::os::raw::c_int2287     pub fn sqlite3_result_zeroblob64(
2288         arg1: *mut sqlite3_context,
2289         n: sqlite3_uint64,
2290     ) -> ::std::os::raw::c_int;
2291 }
2292 extern "C" {
sqlite3_result_subtype(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_uint)2293     pub fn sqlite3_result_subtype(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_uint);
2294 }
2295 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_int2296     pub fn sqlite3_create_collation(
2297         arg1: *mut sqlite3,
2298         zName: *const ::std::os::raw::c_char,
2299         eTextRep: ::std::os::raw::c_int,
2300         pArg: *mut ::std::os::raw::c_void,
2301         xCompare: ::std::option::Option<
2302             unsafe extern "C" fn(
2303                 arg1: *mut ::std::os::raw::c_void,
2304                 arg2: ::std::os::raw::c_int,
2305                 arg3: *const ::std::os::raw::c_void,
2306                 arg4: ::std::os::raw::c_int,
2307                 arg5: *const ::std::os::raw::c_void,
2308             ) -> ::std::os::raw::c_int,
2309         >,
2310     ) -> ::std::os::raw::c_int;
2311 }
2312 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_int2313     pub fn sqlite3_create_collation_v2(
2314         arg1: *mut sqlite3,
2315         zName: *const ::std::os::raw::c_char,
2316         eTextRep: ::std::os::raw::c_int,
2317         pArg: *mut ::std::os::raw::c_void,
2318         xCompare: ::std::option::Option<
2319             unsafe extern "C" fn(
2320                 arg1: *mut ::std::os::raw::c_void,
2321                 arg2: ::std::os::raw::c_int,
2322                 arg3: *const ::std::os::raw::c_void,
2323                 arg4: ::std::os::raw::c_int,
2324                 arg5: *const ::std::os::raw::c_void,
2325             ) -> ::std::os::raw::c_int,
2326         >,
2327         xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2328     ) -> ::std::os::raw::c_int;
2329 }
2330 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_int2331     pub fn sqlite3_create_collation16(
2332         arg1: *mut sqlite3,
2333         zName: *const ::std::os::raw::c_void,
2334         eTextRep: ::std::os::raw::c_int,
2335         pArg: *mut ::std::os::raw::c_void,
2336         xCompare: ::std::option::Option<
2337             unsafe extern "C" fn(
2338                 arg1: *mut ::std::os::raw::c_void,
2339                 arg2: ::std::os::raw::c_int,
2340                 arg3: *const ::std::os::raw::c_void,
2341                 arg4: ::std::os::raw::c_int,
2342                 arg5: *const ::std::os::raw::c_void,
2343             ) -> ::std::os::raw::c_int,
2344         >,
2345     ) -> ::std::os::raw::c_int;
2346 }
2347 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_int2348     pub fn sqlite3_collation_needed(
2349         arg1: *mut sqlite3,
2350         arg2: *mut ::std::os::raw::c_void,
2351         arg3: ::std::option::Option<
2352             unsafe extern "C" fn(
2353                 arg1: *mut ::std::os::raw::c_void,
2354                 arg2: *mut sqlite3,
2355                 eTextRep: ::std::os::raw::c_int,
2356                 arg3: *const ::std::os::raw::c_char,
2357             ),
2358         >,
2359     ) -> ::std::os::raw::c_int;
2360 }
2361 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_int2362     pub fn sqlite3_collation_needed16(
2363         arg1: *mut sqlite3,
2364         arg2: *mut ::std::os::raw::c_void,
2365         arg3: ::std::option::Option<
2366             unsafe extern "C" fn(
2367                 arg1: *mut ::std::os::raw::c_void,
2368                 arg2: *mut sqlite3,
2369                 eTextRep: ::std::os::raw::c_int,
2370                 arg3: *const ::std::os::raw::c_void,
2371             ),
2372         >,
2373     ) -> ::std::os::raw::c_int;
2374 }
2375 extern "C" {
sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int2376     pub fn sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2377 }
2378 extern "C" {
2379     pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char;
2380 }
2381 extern "C" {
2382     pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char;
2383 }
2384 extern "C" {
sqlite3_win32_set_directory( type_: ::std::os::raw::c_ulong, zValue: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2385     pub fn sqlite3_win32_set_directory(
2386         type_: ::std::os::raw::c_ulong,
2387         zValue: *mut ::std::os::raw::c_void,
2388     ) -> ::std::os::raw::c_int;
2389 }
2390 extern "C" {
sqlite3_win32_set_directory8( type_: ::std::os::raw::c_ulong, zValue: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2391     pub fn sqlite3_win32_set_directory8(
2392         type_: ::std::os::raw::c_ulong,
2393         zValue: *const ::std::os::raw::c_char,
2394     ) -> ::std::os::raw::c_int;
2395 }
2396 extern "C" {
sqlite3_win32_set_directory16( type_: ::std::os::raw::c_ulong, zValue: *const ::std::os::raw::c_void, ) -> ::std::os::raw::c_int2397     pub fn sqlite3_win32_set_directory16(
2398         type_: ::std::os::raw::c_ulong,
2399         zValue: *const ::std::os::raw::c_void,
2400     ) -> ::std::os::raw::c_int;
2401 }
2402 extern "C" {
sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int2403     pub fn sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
2404 }
2405 extern "C" {
sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite32406     pub fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3;
2407 }
2408 extern "C" {
sqlite3_db_filename( db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char, ) -> *const ::std::os::raw::c_char2409     pub fn sqlite3_db_filename(
2410         db: *mut sqlite3,
2411         zDbName: *const ::std::os::raw::c_char,
2412     ) -> *const ::std::os::raw::c_char;
2413 }
2414 extern "C" {
sqlite3_db_readonly( db: *mut sqlite3, zDbName: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int2415     pub fn sqlite3_db_readonly(
2416         db: *mut sqlite3,
2417         zDbName: *const ::std::os::raw::c_char,
2418     ) -> ::std::os::raw::c_int;
2419 }
2420 extern "C" {
sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt2421     pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt;
2422 }
2423 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_void2424     pub fn sqlite3_commit_hook(
2425         arg1: *mut sqlite3,
2426         arg2: ::std::option::Option<
2427             unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
2428         >,
2429         arg3: *mut ::std::os::raw::c_void,
2430     ) -> *mut ::std::os::raw::c_void;
2431 }
2432 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_void2433     pub fn sqlite3_rollback_hook(
2434         arg1: *mut sqlite3,
2435         arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2436         arg3: *mut ::std::os::raw::c_void,
2437     ) -> *mut ::std::os::raw::c_void;
2438 }
2439 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_void2440     pub fn sqlite3_update_hook(
2441         arg1: *mut sqlite3,
2442         arg2: ::std::option::Option<
2443             unsafe extern "C" fn(
2444                 arg1: *mut ::std::os::raw::c_void,
2445                 arg2: ::std::os::raw::c_int,
2446                 arg3: *const ::std::os::raw::c_char,
2447                 arg4: *const ::std::os::raw::c_char,
2448                 arg5: sqlite3_int64,
2449             ),
2450         >,
2451         arg3: *mut ::std::os::raw::c_void,
2452     ) -> *mut ::std::os::raw::c_void;
2453 }
2454 extern "C" {
sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int2455     pub fn sqlite3_enable_shared_cache(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2456 }
2457 extern "C" {
sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int2458     pub fn sqlite3_release_memory(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2459 }
2460 extern "C" {
sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int2461     pub fn sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
2462 }
2463 extern "C" {
sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int642464     pub fn sqlite3_soft_heap_limit64(N: sqlite3_int64) -> sqlite3_int64;
2465 }
2466 extern "C" {
sqlite3_hard_heap_limit64(N: sqlite3_int64) -> sqlite3_int642467     pub fn sqlite3_hard_heap_limit64(N: sqlite3_int64) -> sqlite3_int64;
2468 }
2469 extern "C" {
sqlite3_soft_heap_limit(N: ::std::os::raw::c_int)2470     pub fn sqlite3_soft_heap_limit(N: ::std::os::raw::c_int);
2471 }
2472 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_int2473     pub fn sqlite3_table_column_metadata(
2474         db: *mut sqlite3,
2475         zDbName: *const ::std::os::raw::c_char,
2476         zTableName: *const ::std::os::raw::c_char,
2477         zColumnName: *const ::std::os::raw::c_char,
2478         pzDataType: *mut *const ::std::os::raw::c_char,
2479         pzCollSeq: *mut *const ::std::os::raw::c_char,
2480         pNotNull: *mut ::std::os::raw::c_int,
2481         pPrimaryKey: *mut ::std::os::raw::c_int,
2482         pAutoinc: *mut ::std::os::raw::c_int,
2483     ) -> ::std::os::raw::c_int;
2484 }
2485 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_int2486     pub fn sqlite3_load_extension(
2487         db: *mut sqlite3,
2488         zFile: *const ::std::os::raw::c_char,
2489         zProc: *const ::std::os::raw::c_char,
2490         pzErrMsg: *mut *mut ::std::os::raw::c_char,
2491     ) -> ::std::os::raw::c_int;
2492 }
2493 extern "C" {
sqlite3_enable_load_extension( db: *mut sqlite3, onoff: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int2494     pub fn sqlite3_enable_load_extension(
2495         db: *mut sqlite3,
2496         onoff: ::std::os::raw::c_int,
2497     ) -> ::std::os::raw::c_int;
2498 }
2499 extern "C" {
sqlite3_auto_extension( xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>, ) -> ::std::os::raw::c_int2500     pub fn sqlite3_auto_extension(
2501         xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>,
2502     ) -> ::std::os::raw::c_int;
2503 }
2504 extern "C" {
sqlite3_cancel_auto_extension( xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>, ) -> ::std::os::raw::c_int2505     pub fn sqlite3_cancel_auto_extension(
2506         xEntryPoint: ::std::option::Option<unsafe extern "C" fn()>,
2507     ) -> ::std::os::raw::c_int;
2508 }
2509 extern "C" {
sqlite3_reset_auto_extension()2510     pub fn sqlite3_reset_auto_extension();
2511 }
2512 #[repr(C)]
2513 #[derive(Debug, Copy, Clone)]
2514 pub struct sqlite3_module {
2515     pub iVersion: ::std::os::raw::c_int,
2516     pub xCreate: ::std::option::Option<
2517         unsafe extern "C" fn(
2518             arg1: *mut sqlite3,
2519             pAux: *mut ::std::os::raw::c_void,
2520             argc: ::std::os::raw::c_int,
2521             argv: *const *const ::std::os::raw::c_char,
2522             ppVTab: *mut *mut sqlite3_vtab,
2523             arg2: *mut *mut ::std::os::raw::c_char,
2524         ) -> ::std::os::raw::c_int,
2525     >,
2526     pub xConnect: ::std::option::Option<
2527         unsafe extern "C" fn(
2528             arg1: *mut sqlite3,
2529             pAux: *mut ::std::os::raw::c_void,
2530             argc: ::std::os::raw::c_int,
2531             argv: *const *const ::std::os::raw::c_char,
2532             ppVTab: *mut *mut sqlite3_vtab,
2533             arg2: *mut *mut ::std::os::raw::c_char,
2534         ) -> ::std::os::raw::c_int,
2535     >,
2536     pub xBestIndex: ::std::option::Option<
2537         unsafe extern "C" fn(
2538             pVTab: *mut sqlite3_vtab,
2539             arg1: *mut sqlite3_index_info,
2540         ) -> ::std::os::raw::c_int,
2541     >,
2542     pub xDisconnect: ::std::option::Option<
2543         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2544     >,
2545     pub xDestroy: ::std::option::Option<
2546         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2547     >,
2548     pub xOpen: ::std::option::Option<
2549         unsafe extern "C" fn(
2550             pVTab: *mut sqlite3_vtab,
2551             ppCursor: *mut *mut sqlite3_vtab_cursor,
2552         ) -> ::std::os::raw::c_int,
2553     >,
2554     pub xClose: ::std::option::Option<
2555         unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
2556     >,
2557     pub xFilter: ::std::option::Option<
2558         unsafe extern "C" fn(
2559             arg1: *mut sqlite3_vtab_cursor,
2560             idxNum: ::std::os::raw::c_int,
2561             idxStr: *const ::std::os::raw::c_char,
2562             argc: ::std::os::raw::c_int,
2563             argv: *mut *mut sqlite3_value,
2564         ) -> ::std::os::raw::c_int,
2565     >,
2566     pub xNext: ::std::option::Option<
2567         unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
2568     >,
2569     pub xEof: ::std::option::Option<
2570         unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
2571     >,
2572     pub xColumn: ::std::option::Option<
2573         unsafe extern "C" fn(
2574             arg1: *mut sqlite3_vtab_cursor,
2575             arg2: *mut sqlite3_context,
2576             arg3: ::std::os::raw::c_int,
2577         ) -> ::std::os::raw::c_int,
2578     >,
2579     pub xRowid: ::std::option::Option<
2580         unsafe extern "C" fn(
2581             arg1: *mut sqlite3_vtab_cursor,
2582             pRowid: *mut sqlite3_int64,
2583         ) -> ::std::os::raw::c_int,
2584     >,
2585     pub xUpdate: ::std::option::Option<
2586         unsafe extern "C" fn(
2587             arg1: *mut sqlite3_vtab,
2588             arg2: ::std::os::raw::c_int,
2589             arg3: *mut *mut sqlite3_value,
2590             arg4: *mut sqlite3_int64,
2591         ) -> ::std::os::raw::c_int,
2592     >,
2593     pub xBegin: ::std::option::Option<
2594         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2595     >,
2596     pub xSync: ::std::option::Option<
2597         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2598     >,
2599     pub xCommit: ::std::option::Option<
2600         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2601     >,
2602     pub xRollback: ::std::option::Option<
2603         unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
2604     >,
2605     pub xFindFunction: ::std::option::Option<
2606         unsafe extern "C" fn(
2607             pVtab: *mut sqlite3_vtab,
2608             nArg: ::std::os::raw::c_int,
2609             zName: *const ::std::os::raw::c_char,
2610             pxFunc: *mut ::std::option::Option<
2611                 unsafe extern "C" fn(
2612                     arg1: *mut sqlite3_context,
2613                     arg2: ::std::os::raw::c_int,
2614                     arg3: *mut *mut sqlite3_value,
2615                 ),
2616             >,
2617             ppArg: *mut *mut ::std::os::raw::c_void,
2618         ) -> ::std::os::raw::c_int,
2619     >,
2620     pub xRename: ::std::option::Option<
2621         unsafe extern "C" fn(
2622             pVtab: *mut sqlite3_vtab,
2623             zNew: *const ::std::os::raw::c_char,
2624         ) -> ::std::os::raw::c_int,
2625     >,
2626     pub xSavepoint: ::std::option::Option<
2627         unsafe extern "C" fn(
2628             pVTab: *mut sqlite3_vtab,
2629             arg1: ::std::os::raw::c_int,
2630         ) -> ::std::os::raw::c_int,
2631     >,
2632     pub xRelease: ::std::option::Option<
2633         unsafe extern "C" fn(
2634             pVTab: *mut sqlite3_vtab,
2635             arg1: ::std::os::raw::c_int,
2636         ) -> ::std::os::raw::c_int,
2637     >,
2638     pub xRollbackTo: ::std::option::Option<
2639         unsafe extern "C" fn(
2640             pVTab: *mut sqlite3_vtab,
2641             arg1: ::std::os::raw::c_int,
2642         ) -> ::std::os::raw::c_int,
2643     >,
2644     pub xShadowName: ::std::option::Option<
2645         unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
2646     >,
2647 }
2648 #[test]
bindgen_test_layout_sqlite3_module()2649 fn bindgen_test_layout_sqlite3_module() {
2650     assert_eq!(
2651         ::std::mem::size_of::<sqlite3_module>(),
2652         192usize,
2653         concat!("Size of: ", stringify!(sqlite3_module))
2654     );
2655     assert_eq!(
2656         ::std::mem::align_of::<sqlite3_module>(),
2657         8usize,
2658         concat!("Alignment of ", stringify!(sqlite3_module))
2659     );
2660     assert_eq!(
2661         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).iVersion as *const _ as usize },
2662         0usize,
2663         concat!(
2664             "Offset of field: ",
2665             stringify!(sqlite3_module),
2666             "::",
2667             stringify!(iVersion)
2668         )
2669     );
2670     assert_eq!(
2671         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xCreate as *const _ as usize },
2672         8usize,
2673         concat!(
2674             "Offset of field: ",
2675             stringify!(sqlite3_module),
2676             "::",
2677             stringify!(xCreate)
2678         )
2679     );
2680     assert_eq!(
2681         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xConnect as *const _ as usize },
2682         16usize,
2683         concat!(
2684             "Offset of field: ",
2685             stringify!(sqlite3_module),
2686             "::",
2687             stringify!(xConnect)
2688         )
2689     );
2690     assert_eq!(
2691         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xBestIndex as *const _ as usize },
2692         24usize,
2693         concat!(
2694             "Offset of field: ",
2695             stringify!(sqlite3_module),
2696             "::",
2697             stringify!(xBestIndex)
2698         )
2699     );
2700     assert_eq!(
2701         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xDisconnect as *const _ as usize },
2702         32usize,
2703         concat!(
2704             "Offset of field: ",
2705             stringify!(sqlite3_module),
2706             "::",
2707             stringify!(xDisconnect)
2708         )
2709     );
2710     assert_eq!(
2711         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xDestroy as *const _ as usize },
2712         40usize,
2713         concat!(
2714             "Offset of field: ",
2715             stringify!(sqlite3_module),
2716             "::",
2717             stringify!(xDestroy)
2718         )
2719     );
2720     assert_eq!(
2721         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xOpen as *const _ as usize },
2722         48usize,
2723         concat!(
2724             "Offset of field: ",
2725             stringify!(sqlite3_module),
2726             "::",
2727             stringify!(xOpen)
2728         )
2729     );
2730     assert_eq!(
2731         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xClose as *const _ as usize },
2732         56usize,
2733         concat!(
2734             "Offset of field: ",
2735             stringify!(sqlite3_module),
2736             "::",
2737             stringify!(xClose)
2738         )
2739     );
2740     assert_eq!(
2741         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xFilter as *const _ as usize },
2742         64usize,
2743         concat!(
2744             "Offset of field: ",
2745             stringify!(sqlite3_module),
2746             "::",
2747             stringify!(xFilter)
2748         )
2749     );
2750     assert_eq!(
2751         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xNext as *const _ as usize },
2752         72usize,
2753         concat!(
2754             "Offset of field: ",
2755             stringify!(sqlite3_module),
2756             "::",
2757             stringify!(xNext)
2758         )
2759     );
2760     assert_eq!(
2761         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xEof as *const _ as usize },
2762         80usize,
2763         concat!(
2764             "Offset of field: ",
2765             stringify!(sqlite3_module),
2766             "::",
2767             stringify!(xEof)
2768         )
2769     );
2770     assert_eq!(
2771         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xColumn as *const _ as usize },
2772         88usize,
2773         concat!(
2774             "Offset of field: ",
2775             stringify!(sqlite3_module),
2776             "::",
2777             stringify!(xColumn)
2778         )
2779     );
2780     assert_eq!(
2781         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xRowid as *const _ as usize },
2782         96usize,
2783         concat!(
2784             "Offset of field: ",
2785             stringify!(sqlite3_module),
2786             "::",
2787             stringify!(xRowid)
2788         )
2789     );
2790     assert_eq!(
2791         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xUpdate as *const _ as usize },
2792         104usize,
2793         concat!(
2794             "Offset of field: ",
2795             stringify!(sqlite3_module),
2796             "::",
2797             stringify!(xUpdate)
2798         )
2799     );
2800     assert_eq!(
2801         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xBegin as *const _ as usize },
2802         112usize,
2803         concat!(
2804             "Offset of field: ",
2805             stringify!(sqlite3_module),
2806             "::",
2807             stringify!(xBegin)
2808         )
2809     );
2810     assert_eq!(
2811         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xSync as *const _ as usize },
2812         120usize,
2813         concat!(
2814             "Offset of field: ",
2815             stringify!(sqlite3_module),
2816             "::",
2817             stringify!(xSync)
2818         )
2819     );
2820     assert_eq!(
2821         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xCommit as *const _ as usize },
2822         128usize,
2823         concat!(
2824             "Offset of field: ",
2825             stringify!(sqlite3_module),
2826             "::",
2827             stringify!(xCommit)
2828         )
2829     );
2830     assert_eq!(
2831         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xRollback as *const _ as usize },
2832         136usize,
2833         concat!(
2834             "Offset of field: ",
2835             stringify!(sqlite3_module),
2836             "::",
2837             stringify!(xRollback)
2838         )
2839     );
2840     assert_eq!(
2841         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xFindFunction as *const _ as usize },
2842         144usize,
2843         concat!(
2844             "Offset of field: ",
2845             stringify!(sqlite3_module),
2846             "::",
2847             stringify!(xFindFunction)
2848         )
2849     );
2850     assert_eq!(
2851         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xRename as *const _ as usize },
2852         152usize,
2853         concat!(
2854             "Offset of field: ",
2855             stringify!(sqlite3_module),
2856             "::",
2857             stringify!(xRename)
2858         )
2859     );
2860     assert_eq!(
2861         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xSavepoint as *const _ as usize },
2862         160usize,
2863         concat!(
2864             "Offset of field: ",
2865             stringify!(sqlite3_module),
2866             "::",
2867             stringify!(xSavepoint)
2868         )
2869     );
2870     assert_eq!(
2871         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xRelease as *const _ as usize },
2872         168usize,
2873         concat!(
2874             "Offset of field: ",
2875             stringify!(sqlite3_module),
2876             "::",
2877             stringify!(xRelease)
2878         )
2879     );
2880     assert_eq!(
2881         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xRollbackTo as *const _ as usize },
2882         176usize,
2883         concat!(
2884             "Offset of field: ",
2885             stringify!(sqlite3_module),
2886             "::",
2887             stringify!(xRollbackTo)
2888         )
2889     );
2890     assert_eq!(
2891         unsafe { &(*(::std::ptr::null::<sqlite3_module>())).xShadowName as *const _ as usize },
2892         184usize,
2893         concat!(
2894             "Offset of field: ",
2895             stringify!(sqlite3_module),
2896             "::",
2897             stringify!(xShadowName)
2898         )
2899     );
2900 }
2901 #[repr(C)]
2902 #[derive(Debug, Copy, Clone)]
2903 pub struct sqlite3_index_info {
2904     pub nConstraint: ::std::os::raw::c_int,
2905     pub aConstraint: *mut sqlite3_index_info_sqlite3_index_constraint,
2906     pub nOrderBy: ::std::os::raw::c_int,
2907     pub aOrderBy: *mut sqlite3_index_info_sqlite3_index_orderby,
2908     pub aConstraintUsage: *mut sqlite3_index_info_sqlite3_index_constraint_usage,
2909     pub idxNum: ::std::os::raw::c_int,
2910     pub idxStr: *mut ::std::os::raw::c_char,
2911     pub needToFreeIdxStr: ::std::os::raw::c_int,
2912     pub orderByConsumed: ::std::os::raw::c_int,
2913     pub estimatedCost: f64,
2914     pub estimatedRows: sqlite3_int64,
2915     pub idxFlags: ::std::os::raw::c_int,
2916     pub colUsed: sqlite3_uint64,
2917 }
2918 #[repr(C)]
2919 #[derive(Debug, Copy, Clone)]
2920 pub struct sqlite3_index_info_sqlite3_index_constraint {
2921     pub iColumn: ::std::os::raw::c_int,
2922     pub op: ::std::os::raw::c_uchar,
2923     pub usable: ::std::os::raw::c_uchar,
2924     pub iTermOffset: ::std::os::raw::c_int,
2925 }
2926 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint()2927 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint() {
2928     assert_eq!(
2929         ::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint>(),
2930         12usize,
2931         concat!(
2932             "Size of: ",
2933             stringify!(sqlite3_index_info_sqlite3_index_constraint)
2934         )
2935     );
2936     assert_eq!(
2937         ::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint>(),
2938         4usize,
2939         concat!(
2940             "Alignment of ",
2941             stringify!(sqlite3_index_info_sqlite3_index_constraint)
2942         )
2943     );
2944     assert_eq!(
2945         unsafe {
2946             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint>())).iColumn
2947                 as *const _ as usize
2948         },
2949         0usize,
2950         concat!(
2951             "Offset of field: ",
2952             stringify!(sqlite3_index_info_sqlite3_index_constraint),
2953             "::",
2954             stringify!(iColumn)
2955         )
2956     );
2957     assert_eq!(
2958         unsafe {
2959             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint>())).op as *const _
2960                 as usize
2961         },
2962         4usize,
2963         concat!(
2964             "Offset of field: ",
2965             stringify!(sqlite3_index_info_sqlite3_index_constraint),
2966             "::",
2967             stringify!(op)
2968         )
2969     );
2970     assert_eq!(
2971         unsafe {
2972             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint>())).usable
2973                 as *const _ as usize
2974         },
2975         5usize,
2976         concat!(
2977             "Offset of field: ",
2978             stringify!(sqlite3_index_info_sqlite3_index_constraint),
2979             "::",
2980             stringify!(usable)
2981         )
2982     );
2983     assert_eq!(
2984         unsafe {
2985             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint>())).iTermOffset
2986                 as *const _ as usize
2987         },
2988         8usize,
2989         concat!(
2990             "Offset of field: ",
2991             stringify!(sqlite3_index_info_sqlite3_index_constraint),
2992             "::",
2993             stringify!(iTermOffset)
2994         )
2995     );
2996 }
2997 #[repr(C)]
2998 #[derive(Debug, Copy, Clone)]
2999 pub struct sqlite3_index_info_sqlite3_index_orderby {
3000     pub iColumn: ::std::os::raw::c_int,
3001     pub desc: ::std::os::raw::c_uchar,
3002 }
3003 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby()3004 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_orderby() {
3005     assert_eq!(
3006         ::std::mem::size_of::<sqlite3_index_info_sqlite3_index_orderby>(),
3007         8usize,
3008         concat!(
3009             "Size of: ",
3010             stringify!(sqlite3_index_info_sqlite3_index_orderby)
3011         )
3012     );
3013     assert_eq!(
3014         ::std::mem::align_of::<sqlite3_index_info_sqlite3_index_orderby>(),
3015         4usize,
3016         concat!(
3017             "Alignment of ",
3018             stringify!(sqlite3_index_info_sqlite3_index_orderby)
3019         )
3020     );
3021     assert_eq!(
3022         unsafe {
3023             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_orderby>())).iColumn as *const _
3024                 as usize
3025         },
3026         0usize,
3027         concat!(
3028             "Offset of field: ",
3029             stringify!(sqlite3_index_info_sqlite3_index_orderby),
3030             "::",
3031             stringify!(iColumn)
3032         )
3033     );
3034     assert_eq!(
3035         unsafe {
3036             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_orderby>())).desc as *const _
3037                 as usize
3038         },
3039         4usize,
3040         concat!(
3041             "Offset of field: ",
3042             stringify!(sqlite3_index_info_sqlite3_index_orderby),
3043             "::",
3044             stringify!(desc)
3045         )
3046     );
3047 }
3048 #[repr(C)]
3049 #[derive(Debug, Copy, Clone)]
3050 pub struct sqlite3_index_info_sqlite3_index_constraint_usage {
3051     pub argvIndex: ::std::os::raw::c_int,
3052     pub omit: ::std::os::raw::c_uchar,
3053 }
3054 #[test]
bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage()3055 fn bindgen_test_layout_sqlite3_index_info_sqlite3_index_constraint_usage() {
3056     assert_eq!(
3057         ::std::mem::size_of::<sqlite3_index_info_sqlite3_index_constraint_usage>(),
3058         8usize,
3059         concat!(
3060             "Size of: ",
3061             stringify!(sqlite3_index_info_sqlite3_index_constraint_usage)
3062         )
3063     );
3064     assert_eq!(
3065         ::std::mem::align_of::<sqlite3_index_info_sqlite3_index_constraint_usage>(),
3066         4usize,
3067         concat!(
3068             "Alignment of ",
3069             stringify!(sqlite3_index_info_sqlite3_index_constraint_usage)
3070         )
3071     );
3072     assert_eq!(
3073         unsafe {
3074             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint_usage>())).argvIndex
3075                 as *const _ as usize
3076         },
3077         0usize,
3078         concat!(
3079             "Offset of field: ",
3080             stringify!(sqlite3_index_info_sqlite3_index_constraint_usage),
3081             "::",
3082             stringify!(argvIndex)
3083         )
3084     );
3085     assert_eq!(
3086         unsafe {
3087             &(*(::std::ptr::null::<sqlite3_index_info_sqlite3_index_constraint_usage>())).omit
3088                 as *const _ as usize
3089         },
3090         4usize,
3091         concat!(
3092             "Offset of field: ",
3093             stringify!(sqlite3_index_info_sqlite3_index_constraint_usage),
3094             "::",
3095             stringify!(omit)
3096         )
3097     );
3098 }
3099 #[test]
bindgen_test_layout_sqlite3_index_info()3100 fn bindgen_test_layout_sqlite3_index_info() {
3101     assert_eq!(
3102         ::std::mem::size_of::<sqlite3_index_info>(),
3103         96usize,
3104         concat!("Size of: ", stringify!(sqlite3_index_info))
3105     );
3106     assert_eq!(
3107         ::std::mem::align_of::<sqlite3_index_info>(),
3108         8usize,
3109         concat!("Alignment of ", stringify!(sqlite3_index_info))
3110     );
3111     assert_eq!(
3112         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).nConstraint as *const _ as usize },
3113         0usize,
3114         concat!(
3115             "Offset of field: ",
3116             stringify!(sqlite3_index_info),
3117             "::",
3118             stringify!(nConstraint)
3119         )
3120     );
3121     assert_eq!(
3122         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).aConstraint as *const _ as usize },
3123         8usize,
3124         concat!(
3125             "Offset of field: ",
3126             stringify!(sqlite3_index_info),
3127             "::",
3128             stringify!(aConstraint)
3129         )
3130     );
3131     assert_eq!(
3132         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).nOrderBy as *const _ as usize },
3133         16usize,
3134         concat!(
3135             "Offset of field: ",
3136             stringify!(sqlite3_index_info),
3137             "::",
3138             stringify!(nOrderBy)
3139         )
3140     );
3141     assert_eq!(
3142         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).aOrderBy as *const _ as usize },
3143         24usize,
3144         concat!(
3145             "Offset of field: ",
3146             stringify!(sqlite3_index_info),
3147             "::",
3148             stringify!(aOrderBy)
3149         )
3150     );
3151     assert_eq!(
3152         unsafe {
3153             &(*(::std::ptr::null::<sqlite3_index_info>())).aConstraintUsage as *const _ as usize
3154         },
3155         32usize,
3156         concat!(
3157             "Offset of field: ",
3158             stringify!(sqlite3_index_info),
3159             "::",
3160             stringify!(aConstraintUsage)
3161         )
3162     );
3163     assert_eq!(
3164         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).idxNum as *const _ as usize },
3165         40usize,
3166         concat!(
3167             "Offset of field: ",
3168             stringify!(sqlite3_index_info),
3169             "::",
3170             stringify!(idxNum)
3171         )
3172     );
3173     assert_eq!(
3174         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).idxStr as *const _ as usize },
3175         48usize,
3176         concat!(
3177             "Offset of field: ",
3178             stringify!(sqlite3_index_info),
3179             "::",
3180             stringify!(idxStr)
3181         )
3182     );
3183     assert_eq!(
3184         unsafe {
3185             &(*(::std::ptr::null::<sqlite3_index_info>())).needToFreeIdxStr as *const _ as usize
3186         },
3187         56usize,
3188         concat!(
3189             "Offset of field: ",
3190             stringify!(sqlite3_index_info),
3191             "::",
3192             stringify!(needToFreeIdxStr)
3193         )
3194     );
3195     assert_eq!(
3196         unsafe {
3197             &(*(::std::ptr::null::<sqlite3_index_info>())).orderByConsumed as *const _ as usize
3198         },
3199         60usize,
3200         concat!(
3201             "Offset of field: ",
3202             stringify!(sqlite3_index_info),
3203             "::",
3204             stringify!(orderByConsumed)
3205         )
3206     );
3207     assert_eq!(
3208         unsafe {
3209             &(*(::std::ptr::null::<sqlite3_index_info>())).estimatedCost as *const _ as usize
3210         },
3211         64usize,
3212         concat!(
3213             "Offset of field: ",
3214             stringify!(sqlite3_index_info),
3215             "::",
3216             stringify!(estimatedCost)
3217         )
3218     );
3219     assert_eq!(
3220         unsafe {
3221             &(*(::std::ptr::null::<sqlite3_index_info>())).estimatedRows as *const _ as usize
3222         },
3223         72usize,
3224         concat!(
3225             "Offset of field: ",
3226             stringify!(sqlite3_index_info),
3227             "::",
3228             stringify!(estimatedRows)
3229         )
3230     );
3231     assert_eq!(
3232         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).idxFlags as *const _ as usize },
3233         80usize,
3234         concat!(
3235             "Offset of field: ",
3236             stringify!(sqlite3_index_info),
3237             "::",
3238             stringify!(idxFlags)
3239         )
3240     );
3241     assert_eq!(
3242         unsafe { &(*(::std::ptr::null::<sqlite3_index_info>())).colUsed as *const _ as usize },
3243         88usize,
3244         concat!(
3245             "Offset of field: ",
3246             stringify!(sqlite3_index_info),
3247             "::",
3248             stringify!(colUsed)
3249         )
3250     );
3251 }
3252 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_int3253     pub fn sqlite3_create_module(
3254         db: *mut sqlite3,
3255         zName: *const ::std::os::raw::c_char,
3256         p: *const sqlite3_module,
3257         pClientData: *mut ::std::os::raw::c_void,
3258     ) -> ::std::os::raw::c_int;
3259 }
3260 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_int3261     pub fn sqlite3_create_module_v2(
3262         db: *mut sqlite3,
3263         zName: *const ::std::os::raw::c_char,
3264         p: *const sqlite3_module,
3265         pClientData: *mut ::std::os::raw::c_void,
3266         xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3267     ) -> ::std::os::raw::c_int;
3268 }
3269 extern "C" {
sqlite3_drop_modules( db: *mut sqlite3, azKeep: *mut *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3270     pub fn sqlite3_drop_modules(
3271         db: *mut sqlite3,
3272         azKeep: *mut *const ::std::os::raw::c_char,
3273     ) -> ::std::os::raw::c_int;
3274 }
3275 #[repr(C)]
3276 #[derive(Debug, Copy, Clone)]
3277 pub struct sqlite3_vtab {
3278     pub pModule: *const sqlite3_module,
3279     pub nRef: ::std::os::raw::c_int,
3280     pub zErrMsg: *mut ::std::os::raw::c_char,
3281 }
3282 #[test]
bindgen_test_layout_sqlite3_vtab()3283 fn bindgen_test_layout_sqlite3_vtab() {
3284     assert_eq!(
3285         ::std::mem::size_of::<sqlite3_vtab>(),
3286         24usize,
3287         concat!("Size of: ", stringify!(sqlite3_vtab))
3288     );
3289     assert_eq!(
3290         ::std::mem::align_of::<sqlite3_vtab>(),
3291         8usize,
3292         concat!("Alignment of ", stringify!(sqlite3_vtab))
3293     );
3294     assert_eq!(
3295         unsafe { &(*(::std::ptr::null::<sqlite3_vtab>())).pModule as *const _ as usize },
3296         0usize,
3297         concat!(
3298             "Offset of field: ",
3299             stringify!(sqlite3_vtab),
3300             "::",
3301             stringify!(pModule)
3302         )
3303     );
3304     assert_eq!(
3305         unsafe { &(*(::std::ptr::null::<sqlite3_vtab>())).nRef as *const _ as usize },
3306         8usize,
3307         concat!(
3308             "Offset of field: ",
3309             stringify!(sqlite3_vtab),
3310             "::",
3311             stringify!(nRef)
3312         )
3313     );
3314     assert_eq!(
3315         unsafe { &(*(::std::ptr::null::<sqlite3_vtab>())).zErrMsg as *const _ as usize },
3316         16usize,
3317         concat!(
3318             "Offset of field: ",
3319             stringify!(sqlite3_vtab),
3320             "::",
3321             stringify!(zErrMsg)
3322         )
3323     );
3324 }
3325 #[repr(C)]
3326 #[derive(Debug, Copy, Clone)]
3327 pub struct sqlite3_vtab_cursor {
3328     pub pVtab: *mut sqlite3_vtab,
3329 }
3330 #[test]
bindgen_test_layout_sqlite3_vtab_cursor()3331 fn bindgen_test_layout_sqlite3_vtab_cursor() {
3332     assert_eq!(
3333         ::std::mem::size_of::<sqlite3_vtab_cursor>(),
3334         8usize,
3335         concat!("Size of: ", stringify!(sqlite3_vtab_cursor))
3336     );
3337     assert_eq!(
3338         ::std::mem::align_of::<sqlite3_vtab_cursor>(),
3339         8usize,
3340         concat!("Alignment of ", stringify!(sqlite3_vtab_cursor))
3341     );
3342     assert_eq!(
3343         unsafe { &(*(::std::ptr::null::<sqlite3_vtab_cursor>())).pVtab as *const _ as usize },
3344         0usize,
3345         concat!(
3346             "Offset of field: ",
3347             stringify!(sqlite3_vtab_cursor),
3348             "::",
3349             stringify!(pVtab)
3350         )
3351     );
3352 }
3353 extern "C" {
sqlite3_declare_vtab( arg1: *mut sqlite3, zSQL: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int3354     pub fn sqlite3_declare_vtab(
3355         arg1: *mut sqlite3,
3356         zSQL: *const ::std::os::raw::c_char,
3357     ) -> ::std::os::raw::c_int;
3358 }
3359 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_int3360     pub fn sqlite3_overload_function(
3361         arg1: *mut sqlite3,
3362         zFuncName: *const ::std::os::raw::c_char,
3363         nArg: ::std::os::raw::c_int,
3364     ) -> ::std::os::raw::c_int;
3365 }
3366 #[repr(C)]
3367 #[derive(Debug, Copy, Clone)]
3368 pub struct sqlite3_blob {
3369     _unused: [u8; 0],
3370 }
3371 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_int3372     pub fn sqlite3_blob_open(
3373         arg1: *mut sqlite3,
3374         zDb: *const ::std::os::raw::c_char,
3375         zTable: *const ::std::os::raw::c_char,
3376         zColumn: *const ::std::os::raw::c_char,
3377         iRow: sqlite3_int64,
3378         flags: ::std::os::raw::c_int,
3379         ppBlob: *mut *mut sqlite3_blob,
3380     ) -> ::std::os::raw::c_int;
3381 }
3382 extern "C" {
sqlite3_blob_reopen( arg1: *mut sqlite3_blob, arg2: sqlite3_int64, ) -> ::std::os::raw::c_int3383     pub fn sqlite3_blob_reopen(
3384         arg1: *mut sqlite3_blob,
3385         arg2: sqlite3_int64,
3386     ) -> ::std::os::raw::c_int;
3387 }
3388 extern "C" {
sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int3389     pub fn sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int;
3390 }
3391 extern "C" {
sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int3392     pub fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int;
3393 }
3394 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_int3395     pub fn sqlite3_blob_read(
3396         arg1: *mut sqlite3_blob,
3397         Z: *mut ::std::os::raw::c_void,
3398         N: ::std::os::raw::c_int,
3399         iOffset: ::std::os::raw::c_int,
3400     ) -> ::std::os::raw::c_int;
3401 }
3402 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_int3403     pub fn sqlite3_blob_write(
3404         arg1: *mut sqlite3_blob,
3405         z: *const ::std::os::raw::c_void,
3406         n: ::std::os::raw::c_int,
3407         iOffset: ::std::os::raw::c_int,
3408     ) -> ::std::os::raw::c_int;
3409 }
3410 extern "C" {
sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs3411     pub fn sqlite3_vfs_find(zVfsName: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs;
3412 }
3413 extern "C" {
sqlite3_vfs_register( arg1: *mut sqlite3_vfs, makeDflt: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3414     pub fn sqlite3_vfs_register(
3415         arg1: *mut sqlite3_vfs,
3416         makeDflt: ::std::os::raw::c_int,
3417     ) -> ::std::os::raw::c_int;
3418 }
3419 extern "C" {
sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int3420     pub fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int;
3421 }
3422 extern "C" {
sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex3423     pub fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex;
3424 }
3425 extern "C" {
sqlite3_mutex_free(arg1: *mut sqlite3_mutex)3426     pub fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex);
3427 }
3428 extern "C" {
sqlite3_mutex_enter(arg1: *mut sqlite3_mutex)3429     pub fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex);
3430 }
3431 extern "C" {
sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int3432     pub fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int;
3433 }
3434 extern "C" {
sqlite3_mutex_leave(arg1: *mut sqlite3_mutex)3435     pub fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex);
3436 }
3437 #[repr(C)]
3438 #[derive(Debug, Copy, Clone)]
3439 pub struct sqlite3_mutex_methods {
3440     pub xMutexInit: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
3441     pub xMutexEnd: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
3442     pub xMutexAlloc: ::std::option::Option<
3443         unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex,
3444     >,
3445     pub xMutexFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
3446     pub xMutexEnter: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
3447     pub xMutexTry: ::std::option::Option<
3448         unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
3449     >,
3450     pub xMutexLeave: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
3451     pub xMutexHeld: ::std::option::Option<
3452         unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
3453     >,
3454     pub xMutexNotheld: ::std::option::Option<
3455         unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
3456     >,
3457 }
3458 #[test]
bindgen_test_layout_sqlite3_mutex_methods()3459 fn bindgen_test_layout_sqlite3_mutex_methods() {
3460     assert_eq!(
3461         ::std::mem::size_of::<sqlite3_mutex_methods>(),
3462         72usize,
3463         concat!("Size of: ", stringify!(sqlite3_mutex_methods))
3464     );
3465     assert_eq!(
3466         ::std::mem::align_of::<sqlite3_mutex_methods>(),
3467         8usize,
3468         concat!("Alignment of ", stringify!(sqlite3_mutex_methods))
3469     );
3470     assert_eq!(
3471         unsafe {
3472             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexInit as *const _ as usize
3473         },
3474         0usize,
3475         concat!(
3476             "Offset of field: ",
3477             stringify!(sqlite3_mutex_methods),
3478             "::",
3479             stringify!(xMutexInit)
3480         )
3481     );
3482     assert_eq!(
3483         unsafe { &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexEnd as *const _ as usize },
3484         8usize,
3485         concat!(
3486             "Offset of field: ",
3487             stringify!(sqlite3_mutex_methods),
3488             "::",
3489             stringify!(xMutexEnd)
3490         )
3491     );
3492     assert_eq!(
3493         unsafe {
3494             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexAlloc as *const _ as usize
3495         },
3496         16usize,
3497         concat!(
3498             "Offset of field: ",
3499             stringify!(sqlite3_mutex_methods),
3500             "::",
3501             stringify!(xMutexAlloc)
3502         )
3503     );
3504     assert_eq!(
3505         unsafe {
3506             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexFree as *const _ as usize
3507         },
3508         24usize,
3509         concat!(
3510             "Offset of field: ",
3511             stringify!(sqlite3_mutex_methods),
3512             "::",
3513             stringify!(xMutexFree)
3514         )
3515     );
3516     assert_eq!(
3517         unsafe {
3518             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexEnter as *const _ as usize
3519         },
3520         32usize,
3521         concat!(
3522             "Offset of field: ",
3523             stringify!(sqlite3_mutex_methods),
3524             "::",
3525             stringify!(xMutexEnter)
3526         )
3527     );
3528     assert_eq!(
3529         unsafe { &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexTry as *const _ as usize },
3530         40usize,
3531         concat!(
3532             "Offset of field: ",
3533             stringify!(sqlite3_mutex_methods),
3534             "::",
3535             stringify!(xMutexTry)
3536         )
3537     );
3538     assert_eq!(
3539         unsafe {
3540             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexLeave as *const _ as usize
3541         },
3542         48usize,
3543         concat!(
3544             "Offset of field: ",
3545             stringify!(sqlite3_mutex_methods),
3546             "::",
3547             stringify!(xMutexLeave)
3548         )
3549     );
3550     assert_eq!(
3551         unsafe {
3552             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexHeld as *const _ as usize
3553         },
3554         56usize,
3555         concat!(
3556             "Offset of field: ",
3557             stringify!(sqlite3_mutex_methods),
3558             "::",
3559             stringify!(xMutexHeld)
3560         )
3561     );
3562     assert_eq!(
3563         unsafe {
3564             &(*(::std::ptr::null::<sqlite3_mutex_methods>())).xMutexNotheld as *const _ as usize
3565         },
3566         64usize,
3567         concat!(
3568             "Offset of field: ",
3569             stringify!(sqlite3_mutex_methods),
3570             "::",
3571             stringify!(xMutexNotheld)
3572         )
3573     );
3574 }
3575 extern "C" {
sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int3576     pub fn sqlite3_mutex_held(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int;
3577 }
3578 extern "C" {
sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int3579     pub fn sqlite3_mutex_notheld(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int;
3580 }
3581 extern "C" {
sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex3582     pub fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex;
3583 }
3584 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_int3585     pub fn sqlite3_file_control(
3586         arg1: *mut sqlite3,
3587         zDbName: *const ::std::os::raw::c_char,
3588         op: ::std::os::raw::c_int,
3589         arg2: *mut ::std::os::raw::c_void,
3590     ) -> ::std::os::raw::c_int;
3591 }
3592 extern "C" {
sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int3593     pub fn sqlite3_test_control(op: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int;
3594 }
3595 extern "C" {
sqlite3_keyword_count() -> ::std::os::raw::c_int3596     pub fn sqlite3_keyword_count() -> ::std::os::raw::c_int;
3597 }
3598 extern "C" {
sqlite3_keyword_name( arg1: ::std::os::raw::c_int, arg2: *mut *const ::std::os::raw::c_char, arg3: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3599     pub fn sqlite3_keyword_name(
3600         arg1: ::std::os::raw::c_int,
3601         arg2: *mut *const ::std::os::raw::c_char,
3602         arg3: *mut ::std::os::raw::c_int,
3603     ) -> ::std::os::raw::c_int;
3604 }
3605 extern "C" {
sqlite3_keyword_check( arg1: *const ::std::os::raw::c_char, arg2: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3606     pub fn sqlite3_keyword_check(
3607         arg1: *const ::std::os::raw::c_char,
3608         arg2: ::std::os::raw::c_int,
3609     ) -> ::std::os::raw::c_int;
3610 }
3611 #[repr(C)]
3612 #[derive(Debug, Copy, Clone)]
3613 pub struct sqlite3_str {
3614     _unused: [u8; 0],
3615 }
3616 extern "C" {
sqlite3_str_new(arg1: *mut sqlite3) -> *mut sqlite3_str3617     pub fn sqlite3_str_new(arg1: *mut sqlite3) -> *mut sqlite3_str;
3618 }
3619 extern "C" {
sqlite3_str_finish(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char3620     pub fn sqlite3_str_finish(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char;
3621 }
3622 extern "C" {
sqlite3_str_appendf(arg1: *mut sqlite3_str, zFormat: *const ::std::os::raw::c_char, ...)3623     pub fn sqlite3_str_appendf(arg1: *mut sqlite3_str, zFormat: *const ::std::os::raw::c_char, ...);
3624 }
3625 extern "C" {
sqlite3_str_append( arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char, N: ::std::os::raw::c_int, )3626     pub fn sqlite3_str_append(
3627         arg1: *mut sqlite3_str,
3628         zIn: *const ::std::os::raw::c_char,
3629         N: ::std::os::raw::c_int,
3630     );
3631 }
3632 extern "C" {
sqlite3_str_appendall(arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char)3633     pub fn sqlite3_str_appendall(arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char);
3634 }
3635 extern "C" {
sqlite3_str_appendchar( arg1: *mut sqlite3_str, N: ::std::os::raw::c_int, C: ::std::os::raw::c_char, )3636     pub fn sqlite3_str_appendchar(
3637         arg1: *mut sqlite3_str,
3638         N: ::std::os::raw::c_int,
3639         C: ::std::os::raw::c_char,
3640     );
3641 }
3642 extern "C" {
sqlite3_str_reset(arg1: *mut sqlite3_str)3643     pub fn sqlite3_str_reset(arg1: *mut sqlite3_str);
3644 }
3645 extern "C" {
sqlite3_str_errcode(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int3646     pub fn sqlite3_str_errcode(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int;
3647 }
3648 extern "C" {
sqlite3_str_length(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int3649     pub fn sqlite3_str_length(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int;
3650 }
3651 extern "C" {
sqlite3_str_value(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char3652     pub fn sqlite3_str_value(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char;
3653 }
3654 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_int3655     pub fn sqlite3_status(
3656         op: ::std::os::raw::c_int,
3657         pCurrent: *mut ::std::os::raw::c_int,
3658         pHighwater: *mut ::std::os::raw::c_int,
3659         resetFlag: ::std::os::raw::c_int,
3660     ) -> ::std::os::raw::c_int;
3661 }
3662 extern "C" {
sqlite3_status64( op: ::std::os::raw::c_int, pCurrent: *mut sqlite3_int64, pHighwater: *mut sqlite3_int64, resetFlag: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int3663     pub fn sqlite3_status64(
3664         op: ::std::os::raw::c_int,
3665         pCurrent: *mut sqlite3_int64,
3666         pHighwater: *mut sqlite3_int64,
3667         resetFlag: ::std::os::raw::c_int,
3668     ) -> ::std::os::raw::c_int;
3669 }
3670 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_int3671     pub fn sqlite3_db_status(
3672         arg1: *mut sqlite3,
3673         op: ::std::os::raw::c_int,
3674         pCur: *mut ::std::os::raw::c_int,
3675         pHiwtr: *mut ::std::os::raw::c_int,
3676         resetFlg: ::std::os::raw::c_int,
3677     ) -> ::std::os::raw::c_int;
3678 }
3679 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_int3680     pub fn sqlite3_stmt_status(
3681         arg1: *mut sqlite3_stmt,
3682         op: ::std::os::raw::c_int,
3683         resetFlg: ::std::os::raw::c_int,
3684     ) -> ::std::os::raw::c_int;
3685 }
3686 #[repr(C)]
3687 #[derive(Debug, Copy, Clone)]
3688 pub struct sqlite3_pcache {
3689     _unused: [u8; 0],
3690 }
3691 #[repr(C)]
3692 #[derive(Debug, Copy, Clone)]
3693 pub struct sqlite3_pcache_page {
3694     pub pBuf: *mut ::std::os::raw::c_void,
3695     pub pExtra: *mut ::std::os::raw::c_void,
3696 }
3697 #[test]
bindgen_test_layout_sqlite3_pcache_page()3698 fn bindgen_test_layout_sqlite3_pcache_page() {
3699     assert_eq!(
3700         ::std::mem::size_of::<sqlite3_pcache_page>(),
3701         16usize,
3702         concat!("Size of: ", stringify!(sqlite3_pcache_page))
3703     );
3704     assert_eq!(
3705         ::std::mem::align_of::<sqlite3_pcache_page>(),
3706         8usize,
3707         concat!("Alignment of ", stringify!(sqlite3_pcache_page))
3708     );
3709     assert_eq!(
3710         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_page>())).pBuf as *const _ as usize },
3711         0usize,
3712         concat!(
3713             "Offset of field: ",
3714             stringify!(sqlite3_pcache_page),
3715             "::",
3716             stringify!(pBuf)
3717         )
3718     );
3719     assert_eq!(
3720         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_page>())).pExtra as *const _ as usize },
3721         8usize,
3722         concat!(
3723             "Offset of field: ",
3724             stringify!(sqlite3_pcache_page),
3725             "::",
3726             stringify!(pExtra)
3727         )
3728     );
3729 }
3730 #[repr(C)]
3731 #[derive(Debug, Copy, Clone)]
3732 pub struct sqlite3_pcache_methods2 {
3733     pub iVersion: ::std::os::raw::c_int,
3734     pub pArg: *mut ::std::os::raw::c_void,
3735     pub xInit: ::std::option::Option<
3736         unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3737     >,
3738     pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3739     pub xCreate: ::std::option::Option<
3740         unsafe extern "C" fn(
3741             szPage: ::std::os::raw::c_int,
3742             szExtra: ::std::os::raw::c_int,
3743             bPurgeable: ::std::os::raw::c_int,
3744         ) -> *mut sqlite3_pcache,
3745     >,
3746     pub xCachesize: ::std::option::Option<
3747         unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int),
3748     >,
3749     pub xPagecount: ::std::option::Option<
3750         unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int,
3751     >,
3752     pub xFetch: ::std::option::Option<
3753         unsafe extern "C" fn(
3754             arg1: *mut sqlite3_pcache,
3755             key: ::std::os::raw::c_uint,
3756             createFlag: ::std::os::raw::c_int,
3757         ) -> *mut sqlite3_pcache_page,
3758     >,
3759     pub xUnpin: ::std::option::Option<
3760         unsafe extern "C" fn(
3761             arg1: *mut sqlite3_pcache,
3762             arg2: *mut sqlite3_pcache_page,
3763             discard: ::std::os::raw::c_int,
3764         ),
3765     >,
3766     pub xRekey: ::std::option::Option<
3767         unsafe extern "C" fn(
3768             arg1: *mut sqlite3_pcache,
3769             arg2: *mut sqlite3_pcache_page,
3770             oldKey: ::std::os::raw::c_uint,
3771             newKey: ::std::os::raw::c_uint,
3772         ),
3773     >,
3774     pub xTruncate: ::std::option::Option<
3775         unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint),
3776     >,
3777     pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
3778     pub xShrink: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
3779 }
3780 #[test]
bindgen_test_layout_sqlite3_pcache_methods2()3781 fn bindgen_test_layout_sqlite3_pcache_methods2() {
3782     assert_eq!(
3783         ::std::mem::size_of::<sqlite3_pcache_methods2>(),
3784         104usize,
3785         concat!("Size of: ", stringify!(sqlite3_pcache_methods2))
3786     );
3787     assert_eq!(
3788         ::std::mem::align_of::<sqlite3_pcache_methods2>(),
3789         8usize,
3790         concat!("Alignment of ", stringify!(sqlite3_pcache_methods2))
3791     );
3792     assert_eq!(
3793         unsafe {
3794             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).iVersion as *const _ as usize
3795         },
3796         0usize,
3797         concat!(
3798             "Offset of field: ",
3799             stringify!(sqlite3_pcache_methods2),
3800             "::",
3801             stringify!(iVersion)
3802         )
3803     );
3804     assert_eq!(
3805         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).pArg as *const _ as usize },
3806         8usize,
3807         concat!(
3808             "Offset of field: ",
3809             stringify!(sqlite3_pcache_methods2),
3810             "::",
3811             stringify!(pArg)
3812         )
3813     );
3814     assert_eq!(
3815         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xInit as *const _ as usize },
3816         16usize,
3817         concat!(
3818             "Offset of field: ",
3819             stringify!(sqlite3_pcache_methods2),
3820             "::",
3821             stringify!(xInit)
3822         )
3823     );
3824     assert_eq!(
3825         unsafe {
3826             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xShutdown as *const _ as usize
3827         },
3828         24usize,
3829         concat!(
3830             "Offset of field: ",
3831             stringify!(sqlite3_pcache_methods2),
3832             "::",
3833             stringify!(xShutdown)
3834         )
3835     );
3836     assert_eq!(
3837         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xCreate as *const _ as usize },
3838         32usize,
3839         concat!(
3840             "Offset of field: ",
3841             stringify!(sqlite3_pcache_methods2),
3842             "::",
3843             stringify!(xCreate)
3844         )
3845     );
3846     assert_eq!(
3847         unsafe {
3848             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xCachesize as *const _ as usize
3849         },
3850         40usize,
3851         concat!(
3852             "Offset of field: ",
3853             stringify!(sqlite3_pcache_methods2),
3854             "::",
3855             stringify!(xCachesize)
3856         )
3857     );
3858     assert_eq!(
3859         unsafe {
3860             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xPagecount as *const _ as usize
3861         },
3862         48usize,
3863         concat!(
3864             "Offset of field: ",
3865             stringify!(sqlite3_pcache_methods2),
3866             "::",
3867             stringify!(xPagecount)
3868         )
3869     );
3870     assert_eq!(
3871         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xFetch as *const _ as usize },
3872         56usize,
3873         concat!(
3874             "Offset of field: ",
3875             stringify!(sqlite3_pcache_methods2),
3876             "::",
3877             stringify!(xFetch)
3878         )
3879     );
3880     assert_eq!(
3881         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xUnpin as *const _ as usize },
3882         64usize,
3883         concat!(
3884             "Offset of field: ",
3885             stringify!(sqlite3_pcache_methods2),
3886             "::",
3887             stringify!(xUnpin)
3888         )
3889     );
3890     assert_eq!(
3891         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xRekey as *const _ as usize },
3892         72usize,
3893         concat!(
3894             "Offset of field: ",
3895             stringify!(sqlite3_pcache_methods2),
3896             "::",
3897             stringify!(xRekey)
3898         )
3899     );
3900     assert_eq!(
3901         unsafe {
3902             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xTruncate as *const _ as usize
3903         },
3904         80usize,
3905         concat!(
3906             "Offset of field: ",
3907             stringify!(sqlite3_pcache_methods2),
3908             "::",
3909             stringify!(xTruncate)
3910         )
3911     );
3912     assert_eq!(
3913         unsafe {
3914             &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xDestroy as *const _ as usize
3915         },
3916         88usize,
3917         concat!(
3918             "Offset of field: ",
3919             stringify!(sqlite3_pcache_methods2),
3920             "::",
3921             stringify!(xDestroy)
3922         )
3923     );
3924     assert_eq!(
3925         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods2>())).xShrink as *const _ as usize },
3926         96usize,
3927         concat!(
3928             "Offset of field: ",
3929             stringify!(sqlite3_pcache_methods2),
3930             "::",
3931             stringify!(xShrink)
3932         )
3933     );
3934 }
3935 #[repr(C)]
3936 #[derive(Debug, Copy, Clone)]
3937 pub struct sqlite3_pcache_methods {
3938     pub pArg: *mut ::std::os::raw::c_void,
3939     pub xInit: ::std::option::Option<
3940         unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3941     >,
3942     pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3943     pub xCreate: ::std::option::Option<
3944         unsafe extern "C" fn(
3945             szPage: ::std::os::raw::c_int,
3946             bPurgeable: ::std::os::raw::c_int,
3947         ) -> *mut sqlite3_pcache,
3948     >,
3949     pub xCachesize: ::std::option::Option<
3950         unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int),
3951     >,
3952     pub xPagecount: ::std::option::Option<
3953         unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int,
3954     >,
3955     pub xFetch: ::std::option::Option<
3956         unsafe extern "C" fn(
3957             arg1: *mut sqlite3_pcache,
3958             key: ::std::os::raw::c_uint,
3959             createFlag: ::std::os::raw::c_int,
3960         ) -> *mut ::std::os::raw::c_void,
3961     >,
3962     pub xUnpin: ::std::option::Option<
3963         unsafe extern "C" fn(
3964             arg1: *mut sqlite3_pcache,
3965             arg2: *mut ::std::os::raw::c_void,
3966             discard: ::std::os::raw::c_int,
3967         ),
3968     >,
3969     pub xRekey: ::std::option::Option<
3970         unsafe extern "C" fn(
3971             arg1: *mut sqlite3_pcache,
3972             arg2: *mut ::std::os::raw::c_void,
3973             oldKey: ::std::os::raw::c_uint,
3974             newKey: ::std::os::raw::c_uint,
3975         ),
3976     >,
3977     pub xTruncate: ::std::option::Option<
3978         unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint),
3979     >,
3980     pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
3981 }
3982 #[test]
bindgen_test_layout_sqlite3_pcache_methods()3983 fn bindgen_test_layout_sqlite3_pcache_methods() {
3984     assert_eq!(
3985         ::std::mem::size_of::<sqlite3_pcache_methods>(),
3986         88usize,
3987         concat!("Size of: ", stringify!(sqlite3_pcache_methods))
3988     );
3989     assert_eq!(
3990         ::std::mem::align_of::<sqlite3_pcache_methods>(),
3991         8usize,
3992         concat!("Alignment of ", stringify!(sqlite3_pcache_methods))
3993     );
3994     assert_eq!(
3995         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).pArg as *const _ as usize },
3996         0usize,
3997         concat!(
3998             "Offset of field: ",
3999             stringify!(sqlite3_pcache_methods),
4000             "::",
4001             stringify!(pArg)
4002         )
4003     );
4004     assert_eq!(
4005         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xInit as *const _ as usize },
4006         8usize,
4007         concat!(
4008             "Offset of field: ",
4009             stringify!(sqlite3_pcache_methods),
4010             "::",
4011             stringify!(xInit)
4012         )
4013     );
4014     assert_eq!(
4015         unsafe {
4016             &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xShutdown as *const _ as usize
4017         },
4018         16usize,
4019         concat!(
4020             "Offset of field: ",
4021             stringify!(sqlite3_pcache_methods),
4022             "::",
4023             stringify!(xShutdown)
4024         )
4025     );
4026     assert_eq!(
4027         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xCreate as *const _ as usize },
4028         24usize,
4029         concat!(
4030             "Offset of field: ",
4031             stringify!(sqlite3_pcache_methods),
4032             "::",
4033             stringify!(xCreate)
4034         )
4035     );
4036     assert_eq!(
4037         unsafe {
4038             &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xCachesize as *const _ as usize
4039         },
4040         32usize,
4041         concat!(
4042             "Offset of field: ",
4043             stringify!(sqlite3_pcache_methods),
4044             "::",
4045             stringify!(xCachesize)
4046         )
4047     );
4048     assert_eq!(
4049         unsafe {
4050             &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xPagecount as *const _ as usize
4051         },
4052         40usize,
4053         concat!(
4054             "Offset of field: ",
4055             stringify!(sqlite3_pcache_methods),
4056             "::",
4057             stringify!(xPagecount)
4058         )
4059     );
4060     assert_eq!(
4061         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xFetch as *const _ as usize },
4062         48usize,
4063         concat!(
4064             "Offset of field: ",
4065             stringify!(sqlite3_pcache_methods),
4066             "::",
4067             stringify!(xFetch)
4068         )
4069     );
4070     assert_eq!(
4071         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xUnpin as *const _ as usize },
4072         56usize,
4073         concat!(
4074             "Offset of field: ",
4075             stringify!(sqlite3_pcache_methods),
4076             "::",
4077             stringify!(xUnpin)
4078         )
4079     );
4080     assert_eq!(
4081         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xRekey as *const _ as usize },
4082         64usize,
4083         concat!(
4084             "Offset of field: ",
4085             stringify!(sqlite3_pcache_methods),
4086             "::",
4087             stringify!(xRekey)
4088         )
4089     );
4090     assert_eq!(
4091         unsafe {
4092             &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xTruncate as *const _ as usize
4093         },
4094         72usize,
4095         concat!(
4096             "Offset of field: ",
4097             stringify!(sqlite3_pcache_methods),
4098             "::",
4099             stringify!(xTruncate)
4100         )
4101     );
4102     assert_eq!(
4103         unsafe { &(*(::std::ptr::null::<sqlite3_pcache_methods>())).xDestroy as *const _ as usize },
4104         80usize,
4105         concat!(
4106             "Offset of field: ",
4107             stringify!(sqlite3_pcache_methods),
4108             "::",
4109             stringify!(xDestroy)
4110         )
4111     );
4112 }
4113 #[repr(C)]
4114 #[derive(Debug, Copy, Clone)]
4115 pub struct sqlite3_backup {
4116     _unused: [u8; 0],
4117 }
4118 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_backup4119     pub fn sqlite3_backup_init(
4120         pDest: *mut sqlite3,
4121         zDestName: *const ::std::os::raw::c_char,
4122         pSource: *mut sqlite3,
4123         zSourceName: *const ::std::os::raw::c_char,
4124     ) -> *mut sqlite3_backup;
4125 }
4126 extern "C" {
sqlite3_backup_step( p: *mut sqlite3_backup, nPage: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int4127     pub fn sqlite3_backup_step(
4128         p: *mut sqlite3_backup,
4129         nPage: ::std::os::raw::c_int,
4130     ) -> ::std::os::raw::c_int;
4131 }
4132 extern "C" {
sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int4133     pub fn sqlite3_backup_finish(p: *mut sqlite3_backup) -> ::std::os::raw::c_int;
4134 }
4135 extern "C" {
sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int4136     pub fn sqlite3_backup_remaining(p: *mut sqlite3_backup) -> ::std::os::raw::c_int;
4137 }
4138 extern "C" {
sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int4139     pub fn sqlite3_backup_pagecount(p: *mut sqlite3_backup) -> ::std::os::raw::c_int;
4140 }
4141 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_int4142     pub fn sqlite3_unlock_notify(
4143         pBlocked: *mut sqlite3,
4144         xNotify: ::std::option::Option<
4145             unsafe extern "C" fn(
4146                 apArg: *mut *mut ::std::os::raw::c_void,
4147                 nArg: ::std::os::raw::c_int,
4148             ),
4149         >,
4150         pNotifyArg: *mut ::std::os::raw::c_void,
4151     ) -> ::std::os::raw::c_int;
4152 }
4153 extern "C" {
sqlite3_stricmp( arg1: *const ::std::os::raw::c_char, arg2: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int4154     pub fn sqlite3_stricmp(
4155         arg1: *const ::std::os::raw::c_char,
4156         arg2: *const ::std::os::raw::c_char,
4157     ) -> ::std::os::raw::c_int;
4158 }
4159 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_int4160     pub fn sqlite3_strnicmp(
4161         arg1: *const ::std::os::raw::c_char,
4162         arg2: *const ::std::os::raw::c_char,
4163         arg3: ::std::os::raw::c_int,
4164     ) -> ::std::os::raw::c_int;
4165 }
4166 extern "C" {
sqlite3_strglob( zGlob: *const ::std::os::raw::c_char, zStr: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int4167     pub fn sqlite3_strglob(
4168         zGlob: *const ::std::os::raw::c_char,
4169         zStr: *const ::std::os::raw::c_char,
4170     ) -> ::std::os::raw::c_int;
4171 }
4172 extern "C" {
sqlite3_strlike( zGlob: *const ::std::os::raw::c_char, zStr: *const ::std::os::raw::c_char, cEsc: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int4173     pub fn sqlite3_strlike(
4174         zGlob: *const ::std::os::raw::c_char,
4175         zStr: *const ::std::os::raw::c_char,
4176         cEsc: ::std::os::raw::c_uint,
4177     ) -> ::std::os::raw::c_int;
4178 }
4179 extern "C" {
sqlite3_log( iErrCode: ::std::os::raw::c_int, zFormat: *const ::std::os::raw::c_char, ... )4180     pub fn sqlite3_log(
4181         iErrCode: ::std::os::raw::c_int,
4182         zFormat: *const ::std::os::raw::c_char,
4183         ...
4184     );
4185 }
4186 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_void4187     pub fn sqlite3_wal_hook(
4188         arg1: *mut sqlite3,
4189         arg2: ::std::option::Option<
4190             unsafe extern "C" fn(
4191                 arg1: *mut ::std::os::raw::c_void,
4192                 arg2: *mut sqlite3,
4193                 arg3: *const ::std::os::raw::c_char,
4194                 arg4: ::std::os::raw::c_int,
4195             ) -> ::std::os::raw::c_int,
4196         >,
4197         arg3: *mut ::std::os::raw::c_void,
4198     ) -> *mut ::std::os::raw::c_void;
4199 }
4200 extern "C" {
sqlite3_wal_autocheckpoint( db: *mut sqlite3, N: ::std::os::raw::c_int, ) -> ::std::os::raw::c_int4201     pub fn sqlite3_wal_autocheckpoint(
4202         db: *mut sqlite3,
4203         N: ::std::os::raw::c_int,
4204     ) -> ::std::os::raw::c_int;
4205 }
4206 extern "C" {
sqlite3_wal_checkpoint( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int4207     pub fn sqlite3_wal_checkpoint(
4208         db: *mut sqlite3,
4209         zDb: *const ::std::os::raw::c_char,
4210     ) -> ::std::os::raw::c_int;
4211 }
4212 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_int4213     pub fn sqlite3_wal_checkpoint_v2(
4214         db: *mut sqlite3,
4215         zDb: *const ::std::os::raw::c_char,
4216         eMode: ::std::os::raw::c_int,
4217         pnLog: *mut ::std::os::raw::c_int,
4218         pnCkpt: *mut ::std::os::raw::c_int,
4219     ) -> ::std::os::raw::c_int;
4220 }
4221 extern "C" {
sqlite3_vtab_config( arg1: *mut sqlite3, op: ::std::os::raw::c_int, ... ) -> ::std::os::raw::c_int4222     pub fn sqlite3_vtab_config(
4223         arg1: *mut sqlite3,
4224         op: ::std::os::raw::c_int,
4225         ...
4226     ) -> ::std::os::raw::c_int;
4227 }
4228 extern "C" {
sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int4229     pub fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
4230 }
4231 extern "C" {
sqlite3_vtab_nochange(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int4232     pub fn sqlite3_vtab_nochange(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int;
4233 }
4234 extern "C" {
sqlite3_vtab_collation( arg1: *mut sqlite3_index_info, arg2: ::std::os::raw::c_int, ) -> *const ::std::os::raw::c_char4235     pub fn sqlite3_vtab_collation(
4236         arg1: *mut sqlite3_index_info,
4237         arg2: ::std::os::raw::c_int,
4238     ) -> *const ::std::os::raw::c_char;
4239 }
4240 extern "C" {
sqlite3_stmt_scanstatus( pStmt: *mut sqlite3_stmt, idx: ::std::os::raw::c_int, iScanStatusOp: ::std::os::raw::c_int, pOut: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int4241     pub fn sqlite3_stmt_scanstatus(
4242         pStmt: *mut sqlite3_stmt,
4243         idx: ::std::os::raw::c_int,
4244         iScanStatusOp: ::std::os::raw::c_int,
4245         pOut: *mut ::std::os::raw::c_void,
4246     ) -> ::std::os::raw::c_int;
4247 }
4248 extern "C" {
sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt)4249     pub fn sqlite3_stmt_scanstatus_reset(arg1: *mut sqlite3_stmt);
4250 }
4251 extern "C" {
sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int4252     pub fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
4253 }
4254 extern "C" {
sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int4255     pub fn sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int;
4256 }
4257 #[repr(C)]
4258 #[derive(Copy, Clone)]
4259 pub struct sqlite3_snapshot {
4260     pub hidden: [::std::os::raw::c_uchar; 48usize],
4261 }
4262 #[test]
bindgen_test_layout_sqlite3_snapshot()4263 fn bindgen_test_layout_sqlite3_snapshot() {
4264     assert_eq!(
4265         ::std::mem::size_of::<sqlite3_snapshot>(),
4266         48usize,
4267         concat!("Size of: ", stringify!(sqlite3_snapshot))
4268     );
4269     assert_eq!(
4270         ::std::mem::align_of::<sqlite3_snapshot>(),
4271         1usize,
4272         concat!("Alignment of ", stringify!(sqlite3_snapshot))
4273     );
4274     assert_eq!(
4275         unsafe { &(*(::std::ptr::null::<sqlite3_snapshot>())).hidden as *const _ as usize },
4276         0usize,
4277         concat!(
4278             "Offset of field: ",
4279             stringify!(sqlite3_snapshot),
4280             "::",
4281             stringify!(hidden)
4282         )
4283     );
4284 }
4285 extern "C" {
sqlite3_snapshot_get( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, ppSnapshot: *mut *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int4286     pub fn sqlite3_snapshot_get(
4287         db: *mut sqlite3,
4288         zSchema: *const ::std::os::raw::c_char,
4289         ppSnapshot: *mut *mut sqlite3_snapshot,
4290     ) -> ::std::os::raw::c_int;
4291 }
4292 extern "C" {
sqlite3_snapshot_open( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, pSnapshot: *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int4293     pub fn sqlite3_snapshot_open(
4294         db: *mut sqlite3,
4295         zSchema: *const ::std::os::raw::c_char,
4296         pSnapshot: *mut sqlite3_snapshot,
4297     ) -> ::std::os::raw::c_int;
4298 }
4299 extern "C" {
sqlite3_snapshot_free(arg1: *mut sqlite3_snapshot)4300     pub fn sqlite3_snapshot_free(arg1: *mut sqlite3_snapshot);
4301 }
4302 extern "C" {
sqlite3_snapshot_cmp( p1: *mut sqlite3_snapshot, p2: *mut sqlite3_snapshot, ) -> ::std::os::raw::c_int4303     pub fn sqlite3_snapshot_cmp(
4304         p1: *mut sqlite3_snapshot,
4305         p2: *mut sqlite3_snapshot,
4306     ) -> ::std::os::raw::c_int;
4307 }
4308 extern "C" {
sqlite3_snapshot_recover( db: *mut sqlite3, zDb: *const ::std::os::raw::c_char, ) -> ::std::os::raw::c_int4309     pub fn sqlite3_snapshot_recover(
4310         db: *mut sqlite3,
4311         zDb: *const ::std::os::raw::c_char,
4312     ) -> ::std::os::raw::c_int;
4313 }
4314 extern "C" {
sqlite3_serialize( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, piSize: *mut sqlite3_int64, mFlags: ::std::os::raw::c_uint, ) -> *mut ::std::os::raw::c_uchar4315     pub fn sqlite3_serialize(
4316         db: *mut sqlite3,
4317         zSchema: *const ::std::os::raw::c_char,
4318         piSize: *mut sqlite3_int64,
4319         mFlags: ::std::os::raw::c_uint,
4320     ) -> *mut ::std::os::raw::c_uchar;
4321 }
4322 extern "C" {
sqlite3_deserialize( db: *mut sqlite3, zSchema: *const ::std::os::raw::c_char, pData: *mut ::std::os::raw::c_uchar, szDb: sqlite3_int64, szBuf: sqlite3_int64, mFlags: ::std::os::raw::c_uint, ) -> ::std::os::raw::c_int4323     pub fn sqlite3_deserialize(
4324         db: *mut sqlite3,
4325         zSchema: *const ::std::os::raw::c_char,
4326         pData: *mut ::std::os::raw::c_uchar,
4327         szDb: sqlite3_int64,
4328         szBuf: sqlite3_int64,
4329         mFlags: ::std::os::raw::c_uint,
4330     ) -> ::std::os::raw::c_int;
4331 }
4332 pub type sqlite3_rtree_dbl = f64;
4333 extern "C" {
sqlite3_rtree_geometry_callback( db: *mut sqlite3, zGeom: *const ::std::os::raw::c_char, xGeom: ::std::option::Option< unsafe extern "C" fn( arg1: *mut sqlite3_rtree_geometry, arg2: ::std::os::raw::c_int, arg3: *mut sqlite3_rtree_dbl, arg4: *mut ::std::os::raw::c_int, ) -> ::std::os::raw::c_int, >, pContext: *mut ::std::os::raw::c_void, ) -> ::std::os::raw::c_int4334     pub fn sqlite3_rtree_geometry_callback(
4335         db: *mut sqlite3,
4336         zGeom: *const ::std::os::raw::c_char,
4337         xGeom: ::std::option::Option<
4338             unsafe extern "C" fn(
4339                 arg1: *mut sqlite3_rtree_geometry,
4340                 arg2: ::std::os::raw::c_int,
4341                 arg3: *mut sqlite3_rtree_dbl,
4342                 arg4: *mut ::std::os::raw::c_int,
4343             ) -> ::std::os::raw::c_int,
4344         >,
4345         pContext: *mut ::std::os::raw::c_void,
4346     ) -> ::std::os::raw::c_int;
4347 }
4348 #[repr(C)]
4349 #[derive(Debug, Copy, Clone)]
4350 pub struct sqlite3_rtree_geometry {
4351     pub pContext: *mut ::std::os::raw::c_void,
4352     pub nParam: ::std::os::raw::c_int,
4353     pub aParam: *mut sqlite3_rtree_dbl,
4354     pub pUser: *mut ::std::os::raw::c_void,
4355     pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4356 }
4357 #[test]
bindgen_test_layout_sqlite3_rtree_geometry()4358 fn bindgen_test_layout_sqlite3_rtree_geometry() {
4359     assert_eq!(
4360         ::std::mem::size_of::<sqlite3_rtree_geometry>(),
4361         40usize,
4362         concat!("Size of: ", stringify!(sqlite3_rtree_geometry))
4363     );
4364     assert_eq!(
4365         ::std::mem::align_of::<sqlite3_rtree_geometry>(),
4366         8usize,
4367         concat!("Alignment of ", stringify!(sqlite3_rtree_geometry))
4368     );
4369     assert_eq!(
4370         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_geometry>())).pContext as *const _ as usize },
4371         0usize,
4372         concat!(
4373             "Offset of field: ",
4374             stringify!(sqlite3_rtree_geometry),
4375             "::",
4376             stringify!(pContext)
4377         )
4378     );
4379     assert_eq!(
4380         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_geometry>())).nParam as *const _ as usize },
4381         8usize,
4382         concat!(
4383             "Offset of field: ",
4384             stringify!(sqlite3_rtree_geometry),
4385             "::",
4386             stringify!(nParam)
4387         )
4388     );
4389     assert_eq!(
4390         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_geometry>())).aParam as *const _ as usize },
4391         16usize,
4392         concat!(
4393             "Offset of field: ",
4394             stringify!(sqlite3_rtree_geometry),
4395             "::",
4396             stringify!(aParam)
4397         )
4398     );
4399     assert_eq!(
4400         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_geometry>())).pUser as *const _ as usize },
4401         24usize,
4402         concat!(
4403             "Offset of field: ",
4404             stringify!(sqlite3_rtree_geometry),
4405             "::",
4406             stringify!(pUser)
4407         )
4408     );
4409     assert_eq!(
4410         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_geometry>())).xDelUser as *const _ as usize },
4411         32usize,
4412         concat!(
4413             "Offset of field: ",
4414             stringify!(sqlite3_rtree_geometry),
4415             "::",
4416             stringify!(xDelUser)
4417         )
4418     );
4419 }
4420 extern "C" {
sqlite3_rtree_query_callback( db: *mut sqlite3, zQueryFunc: *const ::std::os::raw::c_char, xQueryFunc: ::std::option::Option< unsafe extern "C" fn(arg1: *mut sqlite3_rtree_query_info) -> ::std::os::raw::c_int, >, pContext: *mut ::std::os::raw::c_void, xDestructor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>, ) -> ::std::os::raw::c_int4421     pub fn sqlite3_rtree_query_callback(
4422         db: *mut sqlite3,
4423         zQueryFunc: *const ::std::os::raw::c_char,
4424         xQueryFunc: ::std::option::Option<
4425             unsafe extern "C" fn(arg1: *mut sqlite3_rtree_query_info) -> ::std::os::raw::c_int,
4426         >,
4427         pContext: *mut ::std::os::raw::c_void,
4428         xDestructor: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4429     ) -> ::std::os::raw::c_int;
4430 }
4431 #[repr(C)]
4432 #[derive(Debug, Copy, Clone)]
4433 pub struct sqlite3_rtree_query_info {
4434     pub pContext: *mut ::std::os::raw::c_void,
4435     pub nParam: ::std::os::raw::c_int,
4436     pub aParam: *mut sqlite3_rtree_dbl,
4437     pub pUser: *mut ::std::os::raw::c_void,
4438     pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4439     pub aCoord: *mut sqlite3_rtree_dbl,
4440     pub anQueue: *mut ::std::os::raw::c_uint,
4441     pub nCoord: ::std::os::raw::c_int,
4442     pub iLevel: ::std::os::raw::c_int,
4443     pub mxLevel: ::std::os::raw::c_int,
4444     pub iRowid: sqlite3_int64,
4445     pub rParentScore: sqlite3_rtree_dbl,
4446     pub eParentWithin: ::std::os::raw::c_int,
4447     pub eWithin: ::std::os::raw::c_int,
4448     pub rScore: sqlite3_rtree_dbl,
4449     pub apSqlParam: *mut *mut sqlite3_value,
4450 }
4451 #[test]
bindgen_test_layout_sqlite3_rtree_query_info()4452 fn bindgen_test_layout_sqlite3_rtree_query_info() {
4453     assert_eq!(
4454         ::std::mem::size_of::<sqlite3_rtree_query_info>(),
4455         112usize,
4456         concat!("Size of: ", stringify!(sqlite3_rtree_query_info))
4457     );
4458     assert_eq!(
4459         ::std::mem::align_of::<sqlite3_rtree_query_info>(),
4460         8usize,
4461         concat!("Alignment of ", stringify!(sqlite3_rtree_query_info))
4462     );
4463     assert_eq!(
4464         unsafe {
4465             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).pContext as *const _ as usize
4466         },
4467         0usize,
4468         concat!(
4469             "Offset of field: ",
4470             stringify!(sqlite3_rtree_query_info),
4471             "::",
4472             stringify!(pContext)
4473         )
4474     );
4475     assert_eq!(
4476         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).nParam as *const _ as usize },
4477         8usize,
4478         concat!(
4479             "Offset of field: ",
4480             stringify!(sqlite3_rtree_query_info),
4481             "::",
4482             stringify!(nParam)
4483         )
4484     );
4485     assert_eq!(
4486         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).aParam as *const _ as usize },
4487         16usize,
4488         concat!(
4489             "Offset of field: ",
4490             stringify!(sqlite3_rtree_query_info),
4491             "::",
4492             stringify!(aParam)
4493         )
4494     );
4495     assert_eq!(
4496         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).pUser as *const _ as usize },
4497         24usize,
4498         concat!(
4499             "Offset of field: ",
4500             stringify!(sqlite3_rtree_query_info),
4501             "::",
4502             stringify!(pUser)
4503         )
4504     );
4505     assert_eq!(
4506         unsafe {
4507             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).xDelUser as *const _ as usize
4508         },
4509         32usize,
4510         concat!(
4511             "Offset of field: ",
4512             stringify!(sqlite3_rtree_query_info),
4513             "::",
4514             stringify!(xDelUser)
4515         )
4516     );
4517     assert_eq!(
4518         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).aCoord as *const _ as usize },
4519         40usize,
4520         concat!(
4521             "Offset of field: ",
4522             stringify!(sqlite3_rtree_query_info),
4523             "::",
4524             stringify!(aCoord)
4525         )
4526     );
4527     assert_eq!(
4528         unsafe {
4529             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).anQueue as *const _ as usize
4530         },
4531         48usize,
4532         concat!(
4533             "Offset of field: ",
4534             stringify!(sqlite3_rtree_query_info),
4535             "::",
4536             stringify!(anQueue)
4537         )
4538     );
4539     assert_eq!(
4540         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).nCoord as *const _ as usize },
4541         56usize,
4542         concat!(
4543             "Offset of field: ",
4544             stringify!(sqlite3_rtree_query_info),
4545             "::",
4546             stringify!(nCoord)
4547         )
4548     );
4549     assert_eq!(
4550         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).iLevel as *const _ as usize },
4551         60usize,
4552         concat!(
4553             "Offset of field: ",
4554             stringify!(sqlite3_rtree_query_info),
4555             "::",
4556             stringify!(iLevel)
4557         )
4558     );
4559     assert_eq!(
4560         unsafe {
4561             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).mxLevel as *const _ as usize
4562         },
4563         64usize,
4564         concat!(
4565             "Offset of field: ",
4566             stringify!(sqlite3_rtree_query_info),
4567             "::",
4568             stringify!(mxLevel)
4569         )
4570     );
4571     assert_eq!(
4572         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).iRowid as *const _ as usize },
4573         72usize,
4574         concat!(
4575             "Offset of field: ",
4576             stringify!(sqlite3_rtree_query_info),
4577             "::",
4578             stringify!(iRowid)
4579         )
4580     );
4581     assert_eq!(
4582         unsafe {
4583             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).rParentScore as *const _ as usize
4584         },
4585         80usize,
4586         concat!(
4587             "Offset of field: ",
4588             stringify!(sqlite3_rtree_query_info),
4589             "::",
4590             stringify!(rParentScore)
4591         )
4592     );
4593     assert_eq!(
4594         unsafe {
4595             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).eParentWithin as *const _ as usize
4596         },
4597         88usize,
4598         concat!(
4599             "Offset of field: ",
4600             stringify!(sqlite3_rtree_query_info),
4601             "::",
4602             stringify!(eParentWithin)
4603         )
4604     );
4605     assert_eq!(
4606         unsafe {
4607             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).eWithin as *const _ as usize
4608         },
4609         92usize,
4610         concat!(
4611             "Offset of field: ",
4612             stringify!(sqlite3_rtree_query_info),
4613             "::",
4614             stringify!(eWithin)
4615         )
4616     );
4617     assert_eq!(
4618         unsafe { &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).rScore as *const _ as usize },
4619         96usize,
4620         concat!(
4621             "Offset of field: ",
4622             stringify!(sqlite3_rtree_query_info),
4623             "::",
4624             stringify!(rScore)
4625         )
4626     );
4627     assert_eq!(
4628         unsafe {
4629             &(*(::std::ptr::null::<sqlite3_rtree_query_info>())).apSqlParam as *const _ as usize
4630         },
4631         104usize,
4632         concat!(
4633             "Offset of field: ",
4634             stringify!(sqlite3_rtree_query_info),
4635             "::",
4636             stringify!(apSqlParam)
4637         )
4638     );
4639 }
4640 #[repr(C)]
4641 #[derive(Debug, Copy, Clone)]
4642 pub struct Fts5Context {
4643     _unused: [u8; 0],
4644 }
4645 pub type fts5_extension_function = ::std::option::Option<
4646     unsafe extern "C" fn(
4647         pApi: *const Fts5ExtensionApi,
4648         pFts: *mut Fts5Context,
4649         pCtx: *mut sqlite3_context,
4650         nVal: ::std::os::raw::c_int,
4651         apVal: *mut *mut sqlite3_value,
4652     ),
4653 >;
4654 #[repr(C)]
4655 #[derive(Debug, Copy, Clone)]
4656 pub struct Fts5PhraseIter {
4657     pub a: *const ::std::os::raw::c_uchar,
4658     pub b: *const ::std::os::raw::c_uchar,
4659 }
4660 #[test]
bindgen_test_layout_Fts5PhraseIter()4661 fn bindgen_test_layout_Fts5PhraseIter() {
4662     assert_eq!(
4663         ::std::mem::size_of::<Fts5PhraseIter>(),
4664         16usize,
4665         concat!("Size of: ", stringify!(Fts5PhraseIter))
4666     );
4667     assert_eq!(
4668         ::std::mem::align_of::<Fts5PhraseIter>(),
4669         8usize,
4670         concat!("Alignment of ", stringify!(Fts5PhraseIter))
4671     );
4672     assert_eq!(
4673         unsafe { &(*(::std::ptr::null::<Fts5PhraseIter>())).a as *const _ as usize },
4674         0usize,
4675         concat!(
4676             "Offset of field: ",
4677             stringify!(Fts5PhraseIter),
4678             "::",
4679             stringify!(a)
4680         )
4681     );
4682     assert_eq!(
4683         unsafe { &(*(::std::ptr::null::<Fts5PhraseIter>())).b as *const _ as usize },
4684         8usize,
4685         concat!(
4686             "Offset of field: ",
4687             stringify!(Fts5PhraseIter),
4688             "::",
4689             stringify!(b)
4690         )
4691     );
4692 }
4693 #[repr(C)]
4694 #[derive(Debug, Copy, Clone)]
4695 pub struct Fts5ExtensionApi {
4696     pub iVersion: ::std::os::raw::c_int,
4697     pub xUserData: ::std::option::Option<
4698         unsafe extern "C" fn(arg1: *mut Fts5Context) -> *mut ::std::os::raw::c_void,
4699     >,
4700     pub xColumnCount: ::std::option::Option<
4701         unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int,
4702     >,
4703     pub xRowCount: ::std::option::Option<
4704         unsafe extern "C" fn(
4705             arg1: *mut Fts5Context,
4706             pnRow: *mut sqlite3_int64,
4707         ) -> ::std::os::raw::c_int,
4708     >,
4709     pub xColumnTotalSize: ::std::option::Option<
4710         unsafe extern "C" fn(
4711             arg1: *mut Fts5Context,
4712             iCol: ::std::os::raw::c_int,
4713             pnToken: *mut sqlite3_int64,
4714         ) -> ::std::os::raw::c_int,
4715     >,
4716     pub xTokenize: ::std::option::Option<
4717         unsafe extern "C" fn(
4718             arg1: *mut Fts5Context,
4719             pText: *const ::std::os::raw::c_char,
4720             nText: ::std::os::raw::c_int,
4721             pCtx: *mut ::std::os::raw::c_void,
4722             xToken: ::std::option::Option<
4723                 unsafe extern "C" fn(
4724                     arg1: *mut ::std::os::raw::c_void,
4725                     arg2: ::std::os::raw::c_int,
4726                     arg3: *const ::std::os::raw::c_char,
4727                     arg4: ::std::os::raw::c_int,
4728                     arg5: ::std::os::raw::c_int,
4729                     arg6: ::std::os::raw::c_int,
4730                 ) -> ::std::os::raw::c_int,
4731             >,
4732         ) -> ::std::os::raw::c_int,
4733     >,
4734     pub xPhraseCount: ::std::option::Option<
4735         unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int,
4736     >,
4737     pub xPhraseSize: ::std::option::Option<
4738         unsafe extern "C" fn(
4739             arg1: *mut Fts5Context,
4740             iPhrase: ::std::os::raw::c_int,
4741         ) -> ::std::os::raw::c_int,
4742     >,
4743     pub xInstCount: ::std::option::Option<
4744         unsafe extern "C" fn(
4745             arg1: *mut Fts5Context,
4746             pnInst: *mut ::std::os::raw::c_int,
4747         ) -> ::std::os::raw::c_int,
4748     >,
4749     pub xInst: ::std::option::Option<
4750         unsafe extern "C" fn(
4751             arg1: *mut Fts5Context,
4752             iIdx: ::std::os::raw::c_int,
4753             piPhrase: *mut ::std::os::raw::c_int,
4754             piCol: *mut ::std::os::raw::c_int,
4755             piOff: *mut ::std::os::raw::c_int,
4756         ) -> ::std::os::raw::c_int,
4757     >,
4758     pub xRowid:
4759         ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> sqlite3_int64>,
4760     pub xColumnText: ::std::option::Option<
4761         unsafe extern "C" fn(
4762             arg1: *mut Fts5Context,
4763             iCol: ::std::os::raw::c_int,
4764             pz: *mut *const ::std::os::raw::c_char,
4765             pn: *mut ::std::os::raw::c_int,
4766         ) -> ::std::os::raw::c_int,
4767     >,
4768     pub xColumnSize: ::std::option::Option<
4769         unsafe extern "C" fn(
4770             arg1: *mut Fts5Context,
4771             iCol: ::std::os::raw::c_int,
4772             pnToken: *mut ::std::os::raw::c_int,
4773         ) -> ::std::os::raw::c_int,
4774     >,
4775     pub xQueryPhrase: ::std::option::Option<
4776         unsafe extern "C" fn(
4777             arg1: *mut Fts5Context,
4778             iPhrase: ::std::os::raw::c_int,
4779             pUserData: *mut ::std::os::raw::c_void,
4780             arg2: ::std::option::Option<
4781                 unsafe extern "C" fn(
4782                     arg1: *const Fts5ExtensionApi,
4783                     arg2: *mut Fts5Context,
4784                     arg3: *mut ::std::os::raw::c_void,
4785                 ) -> ::std::os::raw::c_int,
4786             >,
4787         ) -> ::std::os::raw::c_int,
4788     >,
4789     pub xSetAuxdata: ::std::option::Option<
4790         unsafe extern "C" fn(
4791             arg1: *mut Fts5Context,
4792             pAux: *mut ::std::os::raw::c_void,
4793             xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4794         ) -> ::std::os::raw::c_int,
4795     >,
4796     pub xGetAuxdata: ::std::option::Option<
4797         unsafe extern "C" fn(
4798             arg1: *mut Fts5Context,
4799             bClear: ::std::os::raw::c_int,
4800         ) -> *mut ::std::os::raw::c_void,
4801     >,
4802     pub xPhraseFirst: ::std::option::Option<
4803         unsafe extern "C" fn(
4804             arg1: *mut Fts5Context,
4805             iPhrase: ::std::os::raw::c_int,
4806             arg2: *mut Fts5PhraseIter,
4807             arg3: *mut ::std::os::raw::c_int,
4808             arg4: *mut ::std::os::raw::c_int,
4809         ) -> ::std::os::raw::c_int,
4810     >,
4811     pub xPhraseNext: ::std::option::Option<
4812         unsafe extern "C" fn(
4813             arg1: *mut Fts5Context,
4814             arg2: *mut Fts5PhraseIter,
4815             piCol: *mut ::std::os::raw::c_int,
4816             piOff: *mut ::std::os::raw::c_int,
4817         ),
4818     >,
4819     pub xPhraseFirstColumn: ::std::option::Option<
4820         unsafe extern "C" fn(
4821             arg1: *mut Fts5Context,
4822             iPhrase: ::std::os::raw::c_int,
4823             arg2: *mut Fts5PhraseIter,
4824             arg3: *mut ::std::os::raw::c_int,
4825         ) -> ::std::os::raw::c_int,
4826     >,
4827     pub xPhraseNextColumn: ::std::option::Option<
4828         unsafe extern "C" fn(
4829             arg1: *mut Fts5Context,
4830             arg2: *mut Fts5PhraseIter,
4831             piCol: *mut ::std::os::raw::c_int,
4832         ),
4833     >,
4834 }
4835 #[test]
bindgen_test_layout_Fts5ExtensionApi()4836 fn bindgen_test_layout_Fts5ExtensionApi() {
4837     assert_eq!(
4838         ::std::mem::size_of::<Fts5ExtensionApi>(),
4839         160usize,
4840         concat!("Size of: ", stringify!(Fts5ExtensionApi))
4841     );
4842     assert_eq!(
4843         ::std::mem::align_of::<Fts5ExtensionApi>(),
4844         8usize,
4845         concat!("Alignment of ", stringify!(Fts5ExtensionApi))
4846     );
4847     assert_eq!(
4848         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).iVersion as *const _ as usize },
4849         0usize,
4850         concat!(
4851             "Offset of field: ",
4852             stringify!(Fts5ExtensionApi),
4853             "::",
4854             stringify!(iVersion)
4855         )
4856     );
4857     assert_eq!(
4858         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xUserData as *const _ as usize },
4859         8usize,
4860         concat!(
4861             "Offset of field: ",
4862             stringify!(Fts5ExtensionApi),
4863             "::",
4864             stringify!(xUserData)
4865         )
4866     );
4867     assert_eq!(
4868         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xColumnCount as *const _ as usize },
4869         16usize,
4870         concat!(
4871             "Offset of field: ",
4872             stringify!(Fts5ExtensionApi),
4873             "::",
4874             stringify!(xColumnCount)
4875         )
4876     );
4877     assert_eq!(
4878         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xRowCount as *const _ as usize },
4879         24usize,
4880         concat!(
4881             "Offset of field: ",
4882             stringify!(Fts5ExtensionApi),
4883             "::",
4884             stringify!(xRowCount)
4885         )
4886     );
4887     assert_eq!(
4888         unsafe {
4889             &(*(::std::ptr::null::<Fts5ExtensionApi>())).xColumnTotalSize as *const _ as usize
4890         },
4891         32usize,
4892         concat!(
4893             "Offset of field: ",
4894             stringify!(Fts5ExtensionApi),
4895             "::",
4896             stringify!(xColumnTotalSize)
4897         )
4898     );
4899     assert_eq!(
4900         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xTokenize as *const _ as usize },
4901         40usize,
4902         concat!(
4903             "Offset of field: ",
4904             stringify!(Fts5ExtensionApi),
4905             "::",
4906             stringify!(xTokenize)
4907         )
4908     );
4909     assert_eq!(
4910         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseCount as *const _ as usize },
4911         48usize,
4912         concat!(
4913             "Offset of field: ",
4914             stringify!(Fts5ExtensionApi),
4915             "::",
4916             stringify!(xPhraseCount)
4917         )
4918     );
4919     assert_eq!(
4920         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseSize as *const _ as usize },
4921         56usize,
4922         concat!(
4923             "Offset of field: ",
4924             stringify!(Fts5ExtensionApi),
4925             "::",
4926             stringify!(xPhraseSize)
4927         )
4928     );
4929     assert_eq!(
4930         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xInstCount as *const _ as usize },
4931         64usize,
4932         concat!(
4933             "Offset of field: ",
4934             stringify!(Fts5ExtensionApi),
4935             "::",
4936             stringify!(xInstCount)
4937         )
4938     );
4939     assert_eq!(
4940         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xInst as *const _ as usize },
4941         72usize,
4942         concat!(
4943             "Offset of field: ",
4944             stringify!(Fts5ExtensionApi),
4945             "::",
4946             stringify!(xInst)
4947         )
4948     );
4949     assert_eq!(
4950         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xRowid as *const _ as usize },
4951         80usize,
4952         concat!(
4953             "Offset of field: ",
4954             stringify!(Fts5ExtensionApi),
4955             "::",
4956             stringify!(xRowid)
4957         )
4958     );
4959     assert_eq!(
4960         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xColumnText as *const _ as usize },
4961         88usize,
4962         concat!(
4963             "Offset of field: ",
4964             stringify!(Fts5ExtensionApi),
4965             "::",
4966             stringify!(xColumnText)
4967         )
4968     );
4969     assert_eq!(
4970         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xColumnSize as *const _ as usize },
4971         96usize,
4972         concat!(
4973             "Offset of field: ",
4974             stringify!(Fts5ExtensionApi),
4975             "::",
4976             stringify!(xColumnSize)
4977         )
4978     );
4979     assert_eq!(
4980         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xQueryPhrase as *const _ as usize },
4981         104usize,
4982         concat!(
4983             "Offset of field: ",
4984             stringify!(Fts5ExtensionApi),
4985             "::",
4986             stringify!(xQueryPhrase)
4987         )
4988     );
4989     assert_eq!(
4990         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xSetAuxdata as *const _ as usize },
4991         112usize,
4992         concat!(
4993             "Offset of field: ",
4994             stringify!(Fts5ExtensionApi),
4995             "::",
4996             stringify!(xSetAuxdata)
4997         )
4998     );
4999     assert_eq!(
5000         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xGetAuxdata as *const _ as usize },
5001         120usize,
5002         concat!(
5003             "Offset of field: ",
5004             stringify!(Fts5ExtensionApi),
5005             "::",
5006             stringify!(xGetAuxdata)
5007         )
5008     );
5009     assert_eq!(
5010         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseFirst as *const _ as usize },
5011         128usize,
5012         concat!(
5013             "Offset of field: ",
5014             stringify!(Fts5ExtensionApi),
5015             "::",
5016             stringify!(xPhraseFirst)
5017         )
5018     );
5019     assert_eq!(
5020         unsafe { &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseNext as *const _ as usize },
5021         136usize,
5022         concat!(
5023             "Offset of field: ",
5024             stringify!(Fts5ExtensionApi),
5025             "::",
5026             stringify!(xPhraseNext)
5027         )
5028     );
5029     assert_eq!(
5030         unsafe {
5031             &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseFirstColumn as *const _ as usize
5032         },
5033         144usize,
5034         concat!(
5035             "Offset of field: ",
5036             stringify!(Fts5ExtensionApi),
5037             "::",
5038             stringify!(xPhraseFirstColumn)
5039         )
5040     );
5041     assert_eq!(
5042         unsafe {
5043             &(*(::std::ptr::null::<Fts5ExtensionApi>())).xPhraseNextColumn as *const _ as usize
5044         },
5045         152usize,
5046         concat!(
5047             "Offset of field: ",
5048             stringify!(Fts5ExtensionApi),
5049             "::",
5050             stringify!(xPhraseNextColumn)
5051         )
5052     );
5053 }
5054 #[repr(C)]
5055 #[derive(Debug, Copy, Clone)]
5056 pub struct Fts5Tokenizer {
5057     _unused: [u8; 0],
5058 }
5059 #[repr(C)]
5060 #[derive(Debug, Copy, Clone)]
5061 pub struct fts5_tokenizer {
5062     pub xCreate: ::std::option::Option<
5063         unsafe extern "C" fn(
5064             arg1: *mut ::std::os::raw::c_void,
5065             azArg: *mut *const ::std::os::raw::c_char,
5066             nArg: ::std::os::raw::c_int,
5067             ppOut: *mut *mut Fts5Tokenizer,
5068         ) -> ::std::os::raw::c_int,
5069     >,
5070     pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>,
5071     pub xTokenize: ::std::option::Option<
5072         unsafe extern "C" fn(
5073             arg1: *mut Fts5Tokenizer,
5074             pCtx: *mut ::std::os::raw::c_void,
5075             flags: ::std::os::raw::c_int,
5076             pText: *const ::std::os::raw::c_char,
5077             nText: ::std::os::raw::c_int,
5078             xToken: ::std::option::Option<
5079                 unsafe extern "C" fn(
5080                     pCtx: *mut ::std::os::raw::c_void,
5081                     tflags: ::std::os::raw::c_int,
5082                     pToken: *const ::std::os::raw::c_char,
5083                     nToken: ::std::os::raw::c_int,
5084                     iStart: ::std::os::raw::c_int,
5085                     iEnd: ::std::os::raw::c_int,
5086                 ) -> ::std::os::raw::c_int,
5087             >,
5088         ) -> ::std::os::raw::c_int,
5089     >,
5090 }
5091 #[test]
bindgen_test_layout_fts5_tokenizer()5092 fn bindgen_test_layout_fts5_tokenizer() {
5093     assert_eq!(
5094         ::std::mem::size_of::<fts5_tokenizer>(),
5095         24usize,
5096         concat!("Size of: ", stringify!(fts5_tokenizer))
5097     );
5098     assert_eq!(
5099         ::std::mem::align_of::<fts5_tokenizer>(),
5100         8usize,
5101         concat!("Alignment of ", stringify!(fts5_tokenizer))
5102     );
5103     assert_eq!(
5104         unsafe { &(*(::std::ptr::null::<fts5_tokenizer>())).xCreate as *const _ as usize },
5105         0usize,
5106         concat!(
5107             "Offset of field: ",
5108             stringify!(fts5_tokenizer),
5109             "::",
5110             stringify!(xCreate)
5111         )
5112     );
5113     assert_eq!(
5114         unsafe { &(*(::std::ptr::null::<fts5_tokenizer>())).xDelete as *const _ as usize },
5115         8usize,
5116         concat!(
5117             "Offset of field: ",
5118             stringify!(fts5_tokenizer),
5119             "::",
5120             stringify!(xDelete)
5121         )
5122     );
5123     assert_eq!(
5124         unsafe { &(*(::std::ptr::null::<fts5_tokenizer>())).xTokenize as *const _ as usize },
5125         16usize,
5126         concat!(
5127             "Offset of field: ",
5128             stringify!(fts5_tokenizer),
5129             "::",
5130             stringify!(xTokenize)
5131         )
5132     );
5133 }
5134 #[repr(C)]
5135 #[derive(Debug, Copy, Clone)]
5136 pub struct fts5_api {
5137     pub iVersion: ::std::os::raw::c_int,
5138     pub xCreateTokenizer: ::std::option::Option<
5139         unsafe extern "C" fn(
5140             pApi: *mut fts5_api,
5141             zName: *const ::std::os::raw::c_char,
5142             pContext: *mut ::std::os::raw::c_void,
5143             pTokenizer: *mut fts5_tokenizer,
5144             xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5145         ) -> ::std::os::raw::c_int,
5146     >,
5147     pub xFindTokenizer: ::std::option::Option<
5148         unsafe extern "C" fn(
5149             pApi: *mut fts5_api,
5150             zName: *const ::std::os::raw::c_char,
5151             ppContext: *mut *mut ::std::os::raw::c_void,
5152             pTokenizer: *mut fts5_tokenizer,
5153         ) -> ::std::os::raw::c_int,
5154     >,
5155     pub xCreateFunction: ::std::option::Option<
5156         unsafe extern "C" fn(
5157             pApi: *mut fts5_api,
5158             zName: *const ::std::os::raw::c_char,
5159             pContext: *mut ::std::os::raw::c_void,
5160             xFunction: fts5_extension_function,
5161             xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5162         ) -> ::std::os::raw::c_int,
5163     >,
5164 }
5165 #[test]
bindgen_test_layout_fts5_api()5166 fn bindgen_test_layout_fts5_api() {
5167     assert_eq!(
5168         ::std::mem::size_of::<fts5_api>(),
5169         32usize,
5170         concat!("Size of: ", stringify!(fts5_api))
5171     );
5172     assert_eq!(
5173         ::std::mem::align_of::<fts5_api>(),
5174         8usize,
5175         concat!("Alignment of ", stringify!(fts5_api))
5176     );
5177     assert_eq!(
5178         unsafe { &(*(::std::ptr::null::<fts5_api>())).iVersion as *const _ as usize },
5179         0usize,
5180         concat!(
5181             "Offset of field: ",
5182             stringify!(fts5_api),
5183             "::",
5184             stringify!(iVersion)
5185         )
5186     );
5187     assert_eq!(
5188         unsafe { &(*(::std::ptr::null::<fts5_api>())).xCreateTokenizer as *const _ as usize },
5189         8usize,
5190         concat!(
5191             "Offset of field: ",
5192             stringify!(fts5_api),
5193             "::",
5194             stringify!(xCreateTokenizer)
5195         )
5196     );
5197     assert_eq!(
5198         unsafe { &(*(::std::ptr::null::<fts5_api>())).xFindTokenizer as *const _ as usize },
5199         16usize,
5200         concat!(
5201             "Offset of field: ",
5202             stringify!(fts5_api),
5203             "::",
5204             stringify!(xFindTokenizer)
5205         )
5206     );
5207     assert_eq!(
5208         unsafe { &(*(::std::ptr::null::<fts5_api>())).xCreateFunction as *const _ as usize },
5209         24usize,
5210         concat!(
5211             "Offset of field: ",
5212             stringify!(fts5_api),
5213             "::",
5214             stringify!(xCreateFunction)
5215         )
5216     );
5217 }
5218