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