Debian Codegraph @

third_party/rust/libsqlite3-sys/sqlite3/bindgen_bundled_version_ext.rs

raw
1 /* automatically generated by rust-bindgen 0.71.1 */
2
3 pub const SQLITE_VERSION: &::std::ffi::CStr = c"3.48.0";
4 pub const SQLITE_VERSION_NUMBER: i32 = 3048000;
5 pub const SQLITE_SOURCE_ID: &::std::ffi::CStr =
6 c"2025-01-14 11:05:00 d2fe6b05f38d9d7cd78c5d252e99ac59f1aea071d669830c1ffe4e8966e84010";
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_IOERR_IN_PAGE: i32 = 8714;
75 pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262;
76 pub const SQLITE_LOCKED_VTAB: i32 = 518;
77 pub const SQLITE_BUSY_RECOVERY: i32 = 261;
78 pub const SQLITE_BUSY_SNAPSHOT: i32 = 517;
79 pub const SQLITE_BUSY_TIMEOUT: i32 = 773;
80 pub const SQLITE_CANTOPEN_NOTEMPDIR: i32 = 270;
81 pub const SQLITE_CANTOPEN_ISDIR: i32 = 526;
82 pub const SQLITE_CANTOPEN_FULLPATH: i32 = 782;
83 pub const SQLITE_CANTOPEN_CONVPATH: i32 = 1038;
84 pub const SQLITE_CANTOPEN_DIRTYWAL: i32 = 1294;
85 pub const SQLITE_CANTOPEN_SYMLINK: i32 = 1550;
86 pub const SQLITE_CORRUPT_VTAB: i32 = 267;
87 pub const SQLITE_CORRUPT_SEQUENCE: i32 = 523;
88 pub const SQLITE_CORRUPT_INDEX: i32 = 779;
89 pub const SQLITE_READONLY_RECOVERY: i32 = 264;
90 pub const SQLITE_READONLY_CANTLOCK: i32 = 520;
91 pub const SQLITE_READONLY_ROLLBACK: i32 = 776;
92 pub const SQLITE_READONLY_DBMOVED: i32 = 1032;
93 pub const SQLITE_READONLY_CANTINIT: i32 = 1288;
94 pub const SQLITE_READONLY_DIRECTORY: i32 = 1544;
95 pub const SQLITE_ABORT_ROLLBACK: i32 = 516;
96 pub const SQLITE_CONSTRAINT_CHECK: i32 = 275;
97 pub const SQLITE_CONSTRAINT_COMMITHOOK: i32 = 531;
98 pub const SQLITE_CONSTRAINT_FOREIGNKEY: i32 = 787;
99 pub const SQLITE_CONSTRAINT_FUNCTION: i32 = 1043;
100 pub const SQLITE_CONSTRAINT_NOTNULL: i32 = 1299;
101 pub const SQLITE_CONSTRAINT_PRIMARYKEY: i32 = 1555;
102 pub const SQLITE_CONSTRAINT_TRIGGER: i32 = 1811;
103 pub const SQLITE_CONSTRAINT_UNIQUE: i32 = 2067;
104 pub const SQLITE_CONSTRAINT_VTAB: i32 = 2323;
105 pub const SQLITE_CONSTRAINT_ROWID: i32 = 2579;
106 pub const SQLITE_CONSTRAINT_PINNED: i32 = 2835;
107 pub const SQLITE_CONSTRAINT_DATATYPE: i32 = 3091;
108 pub const SQLITE_NOTICE_RECOVER_WAL: i32 = 283;
109 pub const SQLITE_NOTICE_RECOVER_ROLLBACK: i32 = 539;
110 pub const SQLITE_NOTICE_RBU: i32 = 795;
111 pub const SQLITE_WARNING_AUTOINDEX: i32 = 284;
112 pub const SQLITE_AUTH_USER: i32 = 279;
113 pub const SQLITE_OK_LOAD_PERMANENTLY: i32 = 256;
114 pub const SQLITE_OK_SYMLINK: i32 = 512;
115 pub const SQLITE_OPEN_READONLY: i32 = 1;
116 pub const SQLITE_OPEN_READWRITE: i32 = 2;
117 pub const SQLITE_OPEN_CREATE: i32 = 4;
118 pub const SQLITE_OPEN_DELETEONCLOSE: i32 = 8;
119 pub const SQLITE_OPEN_EXCLUSIVE: i32 = 16;
120 pub const SQLITE_OPEN_AUTOPROXY: i32 = 32;
121 pub const SQLITE_OPEN_URI: i32 = 64;
122 pub const SQLITE_OPEN_MEMORY: i32 = 128;
123 pub const SQLITE_OPEN_MAIN_DB: i32 = 256;
124 pub const SQLITE_OPEN_TEMP_DB: i32 = 512;
125 pub const SQLITE_OPEN_TRANSIENT_DB: i32 = 1024;
126 pub const SQLITE_OPEN_MAIN_JOURNAL: i32 = 2048;
127 pub const SQLITE_OPEN_TEMP_JOURNAL: i32 = 4096;
128 pub const SQLITE_OPEN_SUBJOURNAL: i32 = 8192;
129 pub const SQLITE_OPEN_SUPER_JOURNAL: i32 = 16384;
130 pub const SQLITE_OPEN_NOMUTEX: i32 = 32768;
131 pub const SQLITE_OPEN_FULLMUTEX: i32 = 65536;
132 pub const SQLITE_OPEN_SHAREDCACHE: i32 = 131072;
133 pub const SQLITE_OPEN_PRIVATECACHE: i32 = 262144;
134 pub const SQLITE_OPEN_WAL: i32 = 524288;
135 pub const SQLITE_OPEN_NOFOLLOW: i32 = 16777216;
136 pub const SQLITE_OPEN_EXRESCODE: i32 = 33554432;
137 pub const SQLITE_OPEN_MASTER_JOURNAL: i32 = 16384;
138 pub const SQLITE_IOCAP_ATOMIC: i32 = 1;
139 pub const SQLITE_IOCAP_ATOMIC512: i32 = 2;
140 pub const SQLITE_IOCAP_ATOMIC1K: i32 = 4;
141 pub const SQLITE_IOCAP_ATOMIC2K: i32 = 8;
142 pub const SQLITE_IOCAP_ATOMIC4K: i32 = 16;
143 pub const SQLITE_IOCAP_ATOMIC8K: i32 = 32;
144 pub const SQLITE_IOCAP_ATOMIC16K: i32 = 64;
145 pub const SQLITE_IOCAP_ATOMIC32K: i32 = 128;
146 pub const SQLITE_IOCAP_ATOMIC64K: i32 = 256;
147 pub const SQLITE_IOCAP_SAFE_APPEND: i32 = 512;
148 pub const SQLITE_IOCAP_SEQUENTIAL: i32 = 1024;
149 pub const SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN: i32 = 2048;
150 pub const SQLITE_IOCAP_POWERSAFE_OVERWRITE: i32 = 4096;
151 pub const SQLITE_IOCAP_IMMUTABLE: i32 = 8192;
152 pub const SQLITE_IOCAP_BATCH_ATOMIC: i32 = 16384;
153 pub const SQLITE_IOCAP_SUBPAGE_READ: i32 = 32768;
154 pub const SQLITE_LOCK_NONE: i32 = 0;
155 pub const SQLITE_LOCK_SHARED: i32 = 1;
156 pub const SQLITE_LOCK_RESERVED: i32 = 2;
157 pub const SQLITE_LOCK_PENDING: i32 = 3;
158 pub const SQLITE_LOCK_EXCLUSIVE: i32 = 4;
159 pub const SQLITE_SYNC_NORMAL: i32 = 2;
160 pub const SQLITE_SYNC_FULL: i32 = 3;
161 pub const SQLITE_SYNC_DATAONLY: i32 = 16;
162 pub const SQLITE_FCNTL_LOCKSTATE: i32 = 1;
163 pub const SQLITE_FCNTL_GET_LOCKPROXYFILE: i32 = 2;
164 pub const SQLITE_FCNTL_SET_LOCKPROXYFILE: i32 = 3;
165 pub const SQLITE_FCNTL_LAST_ERRNO: i32 = 4;
166 pub const SQLITE_FCNTL_SIZE_HINT: i32 = 5;
167 pub const SQLITE_FCNTL_CHUNK_SIZE: i32 = 6;
168 pub const SQLITE_FCNTL_FILE_POINTER: i32 = 7;
169 pub const SQLITE_FCNTL_SYNC_OMITTED: i32 = 8;
170 pub const SQLITE_FCNTL_WIN32_AV_RETRY: i32 = 9;
171 pub const SQLITE_FCNTL_PERSIST_WAL: i32 = 10;
172 pub const SQLITE_FCNTL_OVERWRITE: i32 = 11;
173 pub const SQLITE_FCNTL_VFSNAME: i32 = 12;
174 pub const SQLITE_FCNTL_POWERSAFE_OVERWRITE: i32 = 13;
175 pub const SQLITE_FCNTL_PRAGMA: i32 = 14;
176 pub const SQLITE_FCNTL_BUSYHANDLER: i32 = 15;
177 pub const SQLITE_FCNTL_TEMPFILENAME: i32 = 16;
178 pub const SQLITE_FCNTL_MMAP_SIZE: i32 = 18;
179 pub const SQLITE_FCNTL_TRACE: i32 = 19;
180 pub const SQLITE_FCNTL_HAS_MOVED: i32 = 20;
181 pub const SQLITE_FCNTL_SYNC: i32 = 21;
182 pub const SQLITE_FCNTL_COMMIT_PHASETWO: i32 = 22;
183 pub const SQLITE_FCNTL_WIN32_SET_HANDLE: i32 = 23;
184 pub const SQLITE_FCNTL_WAL_BLOCK: i32 = 24;
185 pub const SQLITE_FCNTL_ZIPVFS: i32 = 25;
186 pub const SQLITE_FCNTL_RBU: i32 = 26;
187 pub const SQLITE_FCNTL_VFS_POINTER: i32 = 27;
188 pub const SQLITE_FCNTL_JOURNAL_POINTER: i32 = 28;
189 pub const SQLITE_FCNTL_WIN32_GET_HANDLE: i32 = 29;
190 pub const SQLITE_FCNTL_PDB: i32 = 30;
191 pub const SQLITE_FCNTL_BEGIN_ATOMIC_WRITE: i32 = 31;
192 pub const SQLITE_FCNTL_COMMIT_ATOMIC_WRITE: i32 = 32;
193 pub const SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE: i32 = 33;
194 pub const SQLITE_FCNTL_LOCK_TIMEOUT: i32 = 34;
195 pub const SQLITE_FCNTL_DATA_VERSION: i32 = 35;
196 pub const SQLITE_FCNTL_SIZE_LIMIT: i32 = 36;
197 pub const SQLITE_FCNTL_CKPT_DONE: i32 = 37;
198 pub const SQLITE_FCNTL_RESERVE_BYTES: i32 = 38;
199 pub const SQLITE_FCNTL_CKPT_START: i32 = 39;
200 pub const SQLITE_FCNTL_EXTERNAL_READER: i32 = 40;
201 pub const SQLITE_FCNTL_CKSM_FILE: i32 = 41;
202 pub const SQLITE_FCNTL_RESET_CACHE: i32 = 42;
203 pub const SQLITE_FCNTL_NULL_IO: i32 = 43;
204 pub const SQLITE_GET_LOCKPROXYFILE: i32 = 2;
205 pub const SQLITE_SET_LOCKPROXYFILE: i32 = 3;
206 pub const SQLITE_LAST_ERRNO: i32 = 4;
207 pub const SQLITE_ACCESS_EXISTS: i32 = 0;
208 pub const SQLITE_ACCESS_READWRITE: i32 = 1;
209 pub const SQLITE_ACCESS_READ: i32 = 2;
210 pub const SQLITE_SHM_UNLOCK: i32 = 1;
211 pub const SQLITE_SHM_LOCK: i32 = 2;
212 pub const SQLITE_SHM_SHARED: i32 = 4;
213 pub const SQLITE_SHM_EXCLUSIVE: i32 = 8;
214 pub const SQLITE_SHM_NLOCK: i32 = 8;
215 pub const SQLITE_CONFIG_SINGLETHREAD: i32 = 1;
216 pub const SQLITE_CONFIG_MULTITHREAD: i32 = 2;
217 pub const SQLITE_CONFIG_SERIALIZED: i32 = 3;
218 pub const SQLITE_CONFIG_MALLOC: i32 = 4;
219 pub const SQLITE_CONFIG_GETMALLOC: i32 = 5;
220 pub const SQLITE_CONFIG_SCRATCH: i32 = 6;
221 pub const SQLITE_CONFIG_PAGECACHE: i32 = 7;
222 pub const SQLITE_CONFIG_HEAP: i32 = 8;
223 pub const SQLITE_CONFIG_MEMSTATUS: i32 = 9;
224 pub const SQLITE_CONFIG_MUTEX: i32 = 10;
225 pub const SQLITE_CONFIG_GETMUTEX: i32 = 11;
226 pub const SQLITE_CONFIG_LOOKASIDE: i32 = 13;
227 pub const SQLITE_CONFIG_PCACHE: i32 = 14;
228 pub const SQLITE_CONFIG_GETPCACHE: i32 = 15;
229 pub const SQLITE_CONFIG_LOG: i32 = 16;
230 pub const SQLITE_CONFIG_URI: i32 = 17;
231 pub const SQLITE_CONFIG_PCACHE2: i32 = 18;
232 pub const SQLITE_CONFIG_GETPCACHE2: i32 = 19;
233 pub const SQLITE_CONFIG_COVERING_INDEX_SCAN: i32 = 20;
234 pub const SQLITE_CONFIG_SQLLOG: i32 = 21;
235 pub const SQLITE_CONFIG_MMAP_SIZE: i32 = 22;
236 pub const SQLITE_CONFIG_WIN32_HEAPSIZE: i32 = 23;
237 pub const SQLITE_CONFIG_PCACHE_HDRSZ: i32 = 24;
238 pub const SQLITE_CONFIG_PMASZ: i32 = 25;
239 pub const SQLITE_CONFIG_STMTJRNL_SPILL: i32 = 26;
240 pub const SQLITE_CONFIG_SMALL_MALLOC: i32 = 27;
241 pub const SQLITE_CONFIG_SORTERREF_SIZE: i32 = 28;
242 pub const SQLITE_CONFIG_MEMDB_MAXSIZE: i32 = 29;
243 pub const SQLITE_CONFIG_ROWID_IN_VIEW: i32 = 30;
244 pub const SQLITE_DBCONFIG_MAINDBNAME: i32 = 1000;
245 pub const SQLITE_DBCONFIG_LOOKASIDE: i32 = 1001;
246 pub const SQLITE_DBCONFIG_ENABLE_FKEY: i32 = 1002;
247 pub const SQLITE_DBCONFIG_ENABLE_TRIGGER: i32 = 1003;
248 pub const SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER: i32 = 1004;
249 pub const SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION: i32 = 1005;
250 pub const SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE: i32 = 1006;
251 pub const SQLITE_DBCONFIG_ENABLE_QPSG: i32 = 1007;
252 pub const SQLITE_DBCONFIG_TRIGGER_EQP: i32 = 1008;
253 pub const SQLITE_DBCONFIG_RESET_DATABASE: i32 = 1009;
254 pub const SQLITE_DBCONFIG_DEFENSIVE: i32 = 1010;
255 pub const SQLITE_DBCONFIG_WRITABLE_SCHEMA: i32 = 1011;
256 pub const SQLITE_DBCONFIG_LEGACY_ALTER_TABLE: i32 = 1012;
257 pub const SQLITE_DBCONFIG_DQS_DML: i32 = 1013;
258 pub const SQLITE_DBCONFIG_DQS_DDL: i32 = 1014;
259 pub const SQLITE_DBCONFIG_ENABLE_VIEW: i32 = 1015;
260 pub const SQLITE_DBCONFIG_LEGACY_FILE_FORMAT: i32 = 1016;
261 pub const SQLITE_DBCONFIG_TRUSTED_SCHEMA: i32 = 1017;
262 pub const SQLITE_DBCONFIG_STMT_SCANSTATUS: i32 = 1018;
263 pub const SQLITE_DBCONFIG_REVERSE_SCANORDER: i32 = 1019;
264 pub const SQLITE_DBCONFIG_MAX: i32 = 1019;
265 pub const SQLITE_DENY: i32 = 1;
266 pub const SQLITE_IGNORE: i32 = 2;
267 pub const SQLITE_CREATE_INDEX: i32 = 1;
268 pub const SQLITE_CREATE_TABLE: i32 = 2;
269 pub const SQLITE_CREATE_TEMP_INDEX: i32 = 3;
270 pub const SQLITE_CREATE_TEMP_TABLE: i32 = 4;
271 pub const SQLITE_CREATE_TEMP_TRIGGER: i32 = 5;
272 pub const SQLITE_CREATE_TEMP_VIEW: i32 = 6;
273 pub const SQLITE_CREATE_TRIGGER: i32 = 7;
274 pub const SQLITE_CREATE_VIEW: i32 = 8;
275 pub const SQLITE_DELETE: i32 = 9;
276 pub const SQLITE_DROP_INDEX: i32 = 10;
277 pub const SQLITE_DROP_TABLE: i32 = 11;
278 pub const SQLITE_DROP_TEMP_INDEX: i32 = 12;
279 pub const SQLITE_DROP_TEMP_TABLE: i32 = 13;
280 pub const SQLITE_DROP_TEMP_TRIGGER: i32 = 14;
281 pub const SQLITE_DROP_TEMP_VIEW: i32 = 15;
282 pub const SQLITE_DROP_TRIGGER: i32 = 16;
283 pub const SQLITE_DROP_VIEW: i32 = 17;
284 pub const SQLITE_INSERT: i32 = 18;
285 pub const SQLITE_PRAGMA: i32 = 19;
286 pub const SQLITE_READ: i32 = 20;
287 pub const SQLITE_SELECT: i32 = 21;
288 pub const SQLITE_TRANSACTION: i32 = 22;
289 pub const SQLITE_UPDATE: i32 = 23;
290 pub const SQLITE_ATTACH: i32 = 24;
291 pub const SQLITE_DETACH: i32 = 25;
292 pub const SQLITE_ALTER_TABLE: i32 = 26;
293 pub const SQLITE_REINDEX: i32 = 27;
294 pub const SQLITE_ANALYZE: i32 = 28;
295 pub const SQLITE_CREATE_VTABLE: i32 = 29;
296 pub const SQLITE_DROP_VTABLE: i32 = 30;
297 pub const SQLITE_FUNCTION: i32 = 31;
298 pub const SQLITE_SAVEPOINT: i32 = 32;
299 pub const SQLITE_COPY: i32 = 0;
300 pub const SQLITE_RECURSIVE: i32 = 33;
301 pub const SQLITE_TRACE_STMT: ::std::os::raw::c_uint = 1;
302 pub const SQLITE_TRACE_PROFILE: ::std::os::raw::c_uint = 2;
303 pub const SQLITE_TRACE_ROW: ::std::os::raw::c_uint = 4;
304 pub const SQLITE_TRACE_CLOSE: ::std::os::raw::c_uint = 8;
305 pub const SQLITE_LIMIT_LENGTH: i32 = 0;
306 pub const SQLITE_LIMIT_SQL_LENGTH: i32 = 1;
307 pub const SQLITE_LIMIT_COLUMN: i32 = 2;
308 pub const SQLITE_LIMIT_EXPR_DEPTH: i32 = 3;
309 pub const SQLITE_LIMIT_COMPOUND_SELECT: i32 = 4;
310 pub const SQLITE_LIMIT_VDBE_OP: i32 = 5;
311 pub const SQLITE_LIMIT_FUNCTION_ARG: i32 = 6;
312 pub const SQLITE_LIMIT_ATTACHED: i32 = 7;
313 pub const SQLITE_LIMIT_LIKE_PATTERN_LENGTH: i32 = 8;
314 pub const SQLITE_LIMIT_VARIABLE_NUMBER: i32 = 9;
315 pub const SQLITE_LIMIT_TRIGGER_DEPTH: i32 = 10;
316 pub const SQLITE_LIMIT_WORKER_THREADS: i32 = 11;
317 pub const SQLITE_PREPARE_PERSISTENT: ::std::os::raw::c_uint = 1;
318 pub const SQLITE_PREPARE_NORMALIZE: ::std::os::raw::c_uint = 2;
319 pub const SQLITE_PREPARE_NO_VTAB: ::std::os::raw::c_uint = 4;
320 pub const SQLITE_PREPARE_DONT_LOG: ::std::os::raw::c_uint = 16;
321 pub const SQLITE_INTEGER: i32 = 1;
322 pub const SQLITE_FLOAT: i32 = 2;
323 pub const SQLITE_BLOB: i32 = 4;
324 pub const SQLITE_NULL: i32 = 5;
325 pub const SQLITE_TEXT: i32 = 3;
326 pub const SQLITE3_TEXT: i32 = 3;
327 pub const SQLITE_UTF8: i32 = 1;
328 pub const SQLITE_UTF16LE: i32 = 2;
329 pub const SQLITE_UTF16BE: i32 = 3;
330 pub const SQLITE_UTF16: i32 = 4;
331 pub const SQLITE_ANY: i32 = 5;
332 pub const SQLITE_UTF16_ALIGNED: i32 = 8;
333 pub const SQLITE_DETERMINISTIC: i32 = 2048;
334 pub const SQLITE_DIRECTONLY: i32 = 524288;
335 pub const SQLITE_SUBTYPE: i32 = 1048576;
336 pub const SQLITE_INNOCUOUS: i32 = 2097152;
337 pub const SQLITE_RESULT_SUBTYPE: i32 = 16777216;
338 pub const SQLITE_SELFORDER1: i32 = 33554432;
339 pub const SQLITE_WIN32_DATA_DIRECTORY_TYPE: i32 = 1;
340 pub const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: i32 = 2;
341 pub const SQLITE_TXN_NONE: i32 = 0;
342 pub const SQLITE_TXN_READ: i32 = 1;
343 pub const SQLITE_TXN_WRITE: i32 = 2;
344 pub const SQLITE_INDEX_SCAN_UNIQUE: i32 = 1;
345 pub const SQLITE_INDEX_SCAN_HEX: i32 = 2;
346 pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
347 pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
348 pub const SQLITE_INDEX_CONSTRAINT_LE: i32 = 8;
349 pub const SQLITE_INDEX_CONSTRAINT_LT: i32 = 16;
350 pub const SQLITE_INDEX_CONSTRAINT_GE: i32 = 32;
351 pub const SQLITE_INDEX_CONSTRAINT_MATCH: i32 = 64;
352 pub const SQLITE_INDEX_CONSTRAINT_LIKE: i32 = 65;
353 pub const SQLITE_INDEX_CONSTRAINT_GLOB: i32 = 66;
354 pub const SQLITE_INDEX_CONSTRAINT_REGEXP: i32 = 67;
355 pub const SQLITE_INDEX_CONSTRAINT_NE: i32 = 68;
356 pub const SQLITE_INDEX_CONSTRAINT_ISNOT: i32 = 69;
357 pub const SQLITE_INDEX_CONSTRAINT_ISNOTNULL: i32 = 70;
358 pub const SQLITE_INDEX_CONSTRAINT_ISNULL: i32 = 71;
359 pub const SQLITE_INDEX_CONSTRAINT_IS: i32 = 72;
360 pub const SQLITE_INDEX_CONSTRAINT_LIMIT: i32 = 73;
361 pub const SQLITE_INDEX_CONSTRAINT_OFFSET: i32 = 74;
362 pub const SQLITE_INDEX_CONSTRAINT_FUNCTION: i32 = 150;
363 pub const SQLITE_MUTEX_FAST: i32 = 0;
364 pub const SQLITE_MUTEX_RECURSIVE: i32 = 1;
365 pub const SQLITE_MUTEX_STATIC_MAIN: i32 = 2;
366 pub const SQLITE_MUTEX_STATIC_MEM: i32 = 3;
367 pub const SQLITE_MUTEX_STATIC_MEM2: i32 = 4;
368 pub const SQLITE_MUTEX_STATIC_OPEN: i32 = 4;
369 pub const SQLITE_MUTEX_STATIC_PRNG: i32 = 5;
370 pub const SQLITE_MUTEX_STATIC_LRU: i32 = 6;
371 pub const SQLITE_MUTEX_STATIC_LRU2: i32 = 7;
372 pub const SQLITE_MUTEX_STATIC_PMEM: i32 = 7;
373 pub const SQLITE_MUTEX_STATIC_APP1: i32 = 8;
374 pub const SQLITE_MUTEX_STATIC_APP2: i32 = 9;
375 pub const SQLITE_MUTEX_STATIC_APP3: i32 = 10;
376 pub const SQLITE_MUTEX_STATIC_VFS1: i32 = 11;
377 pub const SQLITE_MUTEX_STATIC_VFS2: i32 = 12;
378 pub const SQLITE_MUTEX_STATIC_VFS3: i32 = 13;
379 pub const SQLITE_MUTEX_STATIC_MASTER: i32 = 2;
380 pub const SQLITE_TESTCTRL_FIRST: i32 = 5;
381 pub const SQLITE_TESTCTRL_PRNG_SAVE: i32 = 5;
382 pub const SQLITE_TESTCTRL_PRNG_RESTORE: i32 = 6;
383 pub const SQLITE_TESTCTRL_PRNG_RESET: i32 = 7;
384 pub const SQLITE_TESTCTRL_FK_NO_ACTION: i32 = 7;
385 pub const SQLITE_TESTCTRL_BITVEC_TEST: i32 = 8;
386 pub const SQLITE_TESTCTRL_FAULT_INSTALL: i32 = 9;
387 pub const SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS: i32 = 10;
388 pub const SQLITE_TESTCTRL_PENDING_BYTE: i32 = 11;
389 pub const SQLITE_TESTCTRL_ASSERT: i32 = 12;
390 pub const SQLITE_TESTCTRL_ALWAYS: i32 = 13;
391 pub const SQLITE_TESTCTRL_RESERVE: i32 = 14;
392 pub const SQLITE_TESTCTRL_JSON_SELFCHECK: i32 = 14;
393 pub const SQLITE_TESTCTRL_OPTIMIZATIONS: i32 = 15;
394 pub const SQLITE_TESTCTRL_ISKEYWORD: i32 = 16;
395 pub const SQLITE_TESTCTRL_GETOPT: i32 = 16;
396 pub const SQLITE_TESTCTRL_SCRATCHMALLOC: i32 = 17;
397 pub const SQLITE_TESTCTRL_INTERNAL_FUNCTIONS: i32 = 17;
398 pub const SQLITE_TESTCTRL_LOCALTIME_FAULT: i32 = 18;
399 pub const SQLITE_TESTCTRL_EXPLAIN_STMT: i32 = 19;
400 pub const SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD: i32 = 19;
401 pub const SQLITE_TESTCTRL_NEVER_CORRUPT: i32 = 20;
402 pub const SQLITE_TESTCTRL_VDBE_COVERAGE: i32 = 21;
403 pub const SQLITE_TESTCTRL_BYTEORDER: i32 = 22;
404 pub const SQLITE_TESTCTRL_ISINIT: i32 = 23;
405 pub const SQLITE_TESTCTRL_SORTER_MMAP: i32 = 24;
406 pub const SQLITE_TESTCTRL_IMPOSTER: i32 = 25;
407 pub const SQLITE_TESTCTRL_PARSER_COVERAGE: i32 = 26;
408 pub const SQLITE_TESTCTRL_RESULT_INTREAL: i32 = 27;
409 pub const SQLITE_TESTCTRL_PRNG_SEED: i32 = 28;
410 pub const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: i32 = 29;
411 pub const SQLITE_TESTCTRL_SEEK_COUNT: i32 = 30;
412 pub const SQLITE_TESTCTRL_TRACEFLAGS: i32 = 31;
413 pub const SQLITE_TESTCTRL_TUNE: i32 = 32;
414 pub const SQLITE_TESTCTRL_LOGEST: i32 = 33;
415 pub const SQLITE_TESTCTRL_USELONGDOUBLE: i32 = 34;
416 pub const SQLITE_TESTCTRL_LAST: i32 = 34;
417 pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
418 pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
419 pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
420 pub const SQLITE_STATUS_SCRATCH_USED: i32 = 3;
421 pub const SQLITE_STATUS_SCRATCH_OVERFLOW: i32 = 4;
422 pub const SQLITE_STATUS_MALLOC_SIZE: i32 = 5;
423 pub const SQLITE_STATUS_PARSER_STACK: i32 = 6;
424 pub const SQLITE_STATUS_PAGECACHE_SIZE: i32 = 7;
425 pub const SQLITE_STATUS_SCRATCH_SIZE: i32 = 8;
426 pub const SQLITE_STATUS_MALLOC_COUNT: i32 = 9;
427 pub const SQLITE_DBSTATUS_LOOKASIDE_USED: i32 = 0;
428 pub const SQLITE_DBSTATUS_CACHE_USED: i32 = 1;
429 pub const SQLITE_DBSTATUS_SCHEMA_USED: i32 = 2;
430 pub const SQLITE_DBSTATUS_STMT_USED: i32 = 3;
431 pub const SQLITE_DBSTATUS_LOOKASIDE_HIT: i32 = 4;
432 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE: i32 = 5;
433 pub const SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL: i32 = 6;
434 pub const SQLITE_DBSTATUS_CACHE_HIT: i32 = 7;
435 pub const SQLITE_DBSTATUS_CACHE_MISS: i32 = 8;
436 pub const SQLITE_DBSTATUS_CACHE_WRITE: i32 = 9;
437 pub const SQLITE_DBSTATUS_DEFERRED_FKS: i32 = 10;
438 pub const SQLITE_DBSTATUS_CACHE_USED_SHARED: i32 = 11;
439 pub const SQLITE_DBSTATUS_CACHE_SPILL: i32 = 12;
440 pub const SQLITE_DBSTATUS_MAX: i32 = 12;
441 pub const SQLITE_STMTSTATUS_FULLSCAN_STEP: i32 = 1;
442 pub const SQLITE_STMTSTATUS_SORT: i32 = 2;
443 pub const SQLITE_STMTSTATUS_AUTOINDEX: i32 = 3;
444 pub const SQLITE_STMTSTATUS_VM_STEP: i32 = 4;
445 pub const SQLITE_STMTSTATUS_REPREPARE: i32 = 5;
446 pub const SQLITE_STMTSTATUS_RUN: i32 = 6;
447 pub const SQLITE_STMTSTATUS_FILTER_MISS: i32 = 7;
448 pub const SQLITE_STMTSTATUS_FILTER_HIT: i32 = 8;
449 pub const SQLITE_STMTSTATUS_MEMUSED: i32 = 99;
450 pub const SQLITE_CHECKPOINT_PASSIVE: i32 = 0;
451 pub const SQLITE_CHECKPOINT_FULL: i32 = 1;
452 pub const SQLITE_CHECKPOINT_RESTART: i32 = 2;
453 pub const SQLITE_CHECKPOINT_TRUNCATE: i32 = 3;
454 pub const SQLITE_VTAB_CONSTRAINT_SUPPORT: i32 = 1;
455 pub const SQLITE_VTAB_INNOCUOUS: i32 = 2;
456 pub const SQLITE_VTAB_DIRECTONLY: i32 = 3;
457 pub const SQLITE_VTAB_USES_ALL_SCHEMAS: i32 = 4;
458 pub const SQLITE_ROLLBACK: i32 = 1;
459 pub const SQLITE_FAIL: i32 = 3;
460 pub const SQLITE_REPLACE: i32 = 5;
461 pub const SQLITE_SCANSTAT_NLOOP: i32 = 0;
462 pub const SQLITE_SCANSTAT_NVISIT: i32 = 1;
463 pub const SQLITE_SCANSTAT_EST: i32 = 2;
464 pub const SQLITE_SCANSTAT_NAME: i32 = 3;
465 pub const SQLITE_SCANSTAT_EXPLAIN: i32 = 4;
466 pub const SQLITE_SCANSTAT_SELECTID: i32 = 5;
467 pub const SQLITE_SCANSTAT_PARENTID: i32 = 6;
468 pub const SQLITE_SCANSTAT_NCYCLE: i32 = 7;
469 pub const SQLITE_SCANSTAT_COMPLEX: i32 = 1;
470 pub const SQLITE_SERIALIZE_NOCOPY: ::std::os::raw::c_uint = 1;
471 pub const SQLITE_DESERIALIZE_FREEONCLOSE: ::std::os::raw::c_uint = 1;
472 pub const SQLITE_DESERIALIZE_RESIZEABLE: ::std::os::raw::c_uint = 2;
473 pub const SQLITE_DESERIALIZE_READONLY: ::std::os::raw::c_uint = 4;
474 pub const NOT_WITHIN: i32 = 0;
475 pub const PARTLY_WITHIN: i32 = 1;
476 pub const FULLY_WITHIN: i32 = 2;
477 pub const FTS5_TOKENIZE_QUERY: i32 = 1;
478 pub const FTS5_TOKENIZE_PREFIX: i32 = 2;
479 pub const FTS5_TOKENIZE_DOCUMENT: i32 = 4;
480 pub const FTS5_TOKENIZE_AUX: i32 = 8;
481 pub const FTS5_TOKEN_COLOCATED: i32 = 1;
482 unsafe extern "C" {
483 pub static sqlite3_version: [::std::os::raw::c_char; 0usize];
484 }
485 #[repr(C)]
486 #[derive(Debug, Copy, Clone)]
487 pub struct sqlite3 {
488 _unused: [u8; 0],
489 }
490 pub type sqlite_int64 = ::std::os::raw::c_longlong;
491 pub type sqlite_uint64 = ::std::os::raw::c_ulonglong;
492 pub type sqlite3_int64 = sqlite_int64;
493 pub type sqlite3_uint64 = sqlite_uint64;
494 pub type sqlite3_callback = ::std::option::Option<
495 unsafe extern "C" fn(
496 arg1: *mut ::std::os::raw::c_void,
497 arg2: ::std::os::raw::c_int,
498 arg3: *mut *mut ::std::os::raw::c_char,
499 arg4: *mut *mut ::std::os::raw::c_char,
500 ) -> ::std::os::raw::c_int,
501 >;
502 #[repr(C)]
503 #[derive(Debug, Copy, Clone)]
504 pub struct sqlite3_file {
505 pub pMethods: *const sqlite3_io_methods,
506 }
507 #[repr(C)]
508 #[derive(Debug, Copy, Clone)]
509 pub struct sqlite3_io_methods {
510 pub iVersion: ::std::os::raw::c_int,
511 pub xClose: ::std::option::Option<
512 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
513 >,
514 pub xRead: ::std::option::Option<
515 unsafe extern "C" fn(
516 arg1: *mut sqlite3_file,
517 arg2: *mut ::std::os::raw::c_void,
518 iAmt: ::std::os::raw::c_int,
519 iOfst: sqlite3_int64,
520 ) -> ::std::os::raw::c_int,
521 >,
522 pub xWrite: ::std::option::Option<
523 unsafe extern "C" fn(
524 arg1: *mut sqlite3_file,
525 arg2: *const ::std::os::raw::c_void,
526 iAmt: ::std::os::raw::c_int,
527 iOfst: sqlite3_int64,
528 ) -> ::std::os::raw::c_int,
529 >,
530 pub xTruncate: ::std::option::Option<
531 unsafe extern "C" fn(arg1: *mut sqlite3_file, size: sqlite3_int64) -> ::std::os::raw::c_int,
532 >,
533 pub xSync: ::std::option::Option<
534 unsafe extern "C" fn(
535 arg1: *mut sqlite3_file,
536 flags: ::std::os::raw::c_int,
537 ) -> ::std::os::raw::c_int,
538 >,
539 pub xFileSize: ::std::option::Option<
540 unsafe extern "C" fn(
541 arg1: *mut sqlite3_file,
542 pSize: *mut sqlite3_int64,
543 ) -> ::std::os::raw::c_int,
544 >,
545 pub xLock: ::std::option::Option<
546 unsafe extern "C" fn(
547 arg1: *mut sqlite3_file,
548 arg2: ::std::os::raw::c_int,
549 ) -> ::std::os::raw::c_int,
550 >,
551 pub xUnlock: ::std::option::Option<
552 unsafe extern "C" fn(
553 arg1: *mut sqlite3_file,
554 arg2: ::std::os::raw::c_int,
555 ) -> ::std::os::raw::c_int,
556 >,
557 pub xCheckReservedLock: ::std::option::Option<
558 unsafe extern "C" fn(
559 arg1: *mut sqlite3_file,
560 pResOut: *mut ::std::os::raw::c_int,
561 ) -> ::std::os::raw::c_int,
562 >,
563 pub xFileControl: ::std::option::Option<
564 unsafe extern "C" fn(
565 arg1: *mut sqlite3_file,
566 op: ::std::os::raw::c_int,
567 pArg: *mut ::std::os::raw::c_void,
568 ) -> ::std::os::raw::c_int,
569 >,
570 pub xSectorSize: ::std::option::Option<
571 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
572 >,
573 pub xDeviceCharacteristics: ::std::option::Option<
574 unsafe extern "C" fn(arg1: *mut sqlite3_file) -> ::std::os::raw::c_int,
575 >,
576 pub xShmMap: ::std::option::Option<
577 unsafe extern "C" fn(
578 arg1: *mut sqlite3_file,
579 iPg: ::std::os::raw::c_int,
580 pgsz: ::std::os::raw::c_int,
581 arg2: ::std::os::raw::c_int,
582 arg3: *mut *mut ::std::os::raw::c_void,
583 ) -> ::std::os::raw::c_int,
584 >,
585 pub xShmLock: ::std::option::Option<
586 unsafe extern "C" fn(
587 arg1: *mut sqlite3_file,
588 offset: ::std::os::raw::c_int,
589 n: ::std::os::raw::c_int,
590 flags: ::std::os::raw::c_int,
591 ) -> ::std::os::raw::c_int,
592 >,
593 pub xShmBarrier: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_file)>,
594 pub xShmUnmap: ::std::option::Option<
595 unsafe extern "C" fn(
596 arg1: *mut sqlite3_file,
597 deleteFlag: ::std::os::raw::c_int,
598 ) -> ::std::os::raw::c_int,
599 >,
600 pub xFetch: ::std::option::Option<
601 unsafe extern "C" fn(
602 arg1: *mut sqlite3_file,
603 iOfst: sqlite3_int64,
604 iAmt: ::std::os::raw::c_int,
605 pp: *mut *mut ::std::os::raw::c_void,
606 ) -> ::std::os::raw::c_int,
607 >,
608 pub xUnfetch: ::std::option::Option<
609 unsafe extern "C" fn(
610 arg1: *mut sqlite3_file,
611 iOfst: sqlite3_int64,
612 p: *mut ::std::os::raw::c_void,
613 ) -> ::std::os::raw::c_int,
614 >,
615 }
616 #[repr(C)]
617 #[derive(Debug, Copy, Clone)]
618 pub struct sqlite3_mutex {
619 _unused: [u8; 0],
620 }
621 pub type sqlite3_filename = *const ::std::os::raw::c_char;
622 pub type sqlite3_syscall_ptr = ::std::option::Option<unsafe extern "C" fn()>;
623 #[repr(C)]
624 #[derive(Debug, Copy, Clone)]
625 pub struct sqlite3_vfs {
626 pub iVersion: ::std::os::raw::c_int,
627 pub szOsFile: ::std::os::raw::c_int,
628 pub mxPathname: ::std::os::raw::c_int,
629 pub pNext: *mut sqlite3_vfs,
630 pub zName: *const ::std::os::raw::c_char,
631 pub pAppData: *mut ::std::os::raw::c_void,
632 pub xOpen: ::std::option::Option<
633 unsafe extern "C" fn(
634 arg1: *mut sqlite3_vfs,
635 zName: sqlite3_filename,
636 arg2: *mut sqlite3_file,
637 flags: ::std::os::raw::c_int,
638 pOutFlags: *mut ::std::os::raw::c_int,
639 ) -> ::std::os::raw::c_int,
640 >,
641 pub xDelete: ::std::option::Option<
642 unsafe extern "C" fn(
643 arg1: *mut sqlite3_vfs,
644 zName: *const ::std::os::raw::c_char,
645 syncDir: ::std::os::raw::c_int,
646 ) -> ::std::os::raw::c_int,
647 >,
648 pub xAccess: ::std::option::Option<
649 unsafe extern "C" fn(
650 arg1: *mut sqlite3_vfs,
651 zName: *const ::std::os::raw::c_char,
652 flags: ::std::os::raw::c_int,
653 pResOut: *mut ::std::os::raw::c_int,
654 ) -> ::std::os::raw::c_int,
655 >,
656 pub xFullPathname: ::std::option::Option<
657 unsafe extern "C" fn(
658 arg1: *mut sqlite3_vfs,
659 zName: *const ::std::os::raw::c_char,
660 nOut: ::std::os::raw::c_int,
661 zOut: *mut ::std::os::raw::c_char,
662 ) -> ::std::os::raw::c_int,
663 >,
664 pub xDlOpen: ::std::option::Option<
665 unsafe extern "C" fn(
666 arg1: *mut sqlite3_vfs,
667 zFilename: *const ::std::os::raw::c_char,
668 ) -> *mut ::std::os::raw::c_void,
669 >,
670 pub xDlError: ::std::option::Option<
671 unsafe extern "C" fn(
672 arg1: *mut sqlite3_vfs,
673 nByte: ::std::os::raw::c_int,
674 zErrMsg: *mut ::std::os::raw::c_char,
675 ),
676 >,
677 pub xDlSym: ::std::option::Option<
678 unsafe extern "C" fn(
679 arg1: *mut sqlite3_vfs,
680 arg2: *mut ::std::os::raw::c_void,
681 zSymbol: *const ::std::os::raw::c_char,
682 ) -> ::std::option::Option<
683 unsafe extern "C" fn(
684 arg1: *mut sqlite3_vfs,
685 arg2: *mut ::std::os::raw::c_void,
686 zSymbol: *const ::std::os::raw::c_char,
687 ),
688 >,
689 >,
690 pub xDlClose: ::std::option::Option<
691 unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut ::std::os::raw::c_void),
692 >,
693 pub xRandomness: ::std::option::Option<
694 unsafe extern "C" fn(
695 arg1: *mut sqlite3_vfs,
696 nByte: ::std::os::raw::c_int,
697 zOut: *mut ::std::os::raw::c_char,
698 ) -> ::std::os::raw::c_int,
699 >,
700 pub xSleep: ::std::option::Option<
701 unsafe extern "C" fn(
702 arg1: *mut sqlite3_vfs,
703 microseconds: ::std::os::raw::c_int,
704 ) -> ::std::os::raw::c_int,
705 >,
706 pub xCurrentTime: ::std::option::Option<
707 unsafe extern "C" fn(arg1: *mut sqlite3_vfs, arg2: *mut f64) -> ::std::os::raw::c_int,
708 >,
709 pub xGetLastError: ::std::option::Option<
710 unsafe extern "C" fn(
711 arg1: *mut sqlite3_vfs,
712 arg2: ::std::os::raw::c_int,
713 arg3: *mut ::std::os::raw::c_char,
714 ) -> ::std::os::raw::c_int,
715 >,
716 pub xCurrentTimeInt64: ::std::option::Option<
717 unsafe extern "C" fn(
718 arg1: *mut sqlite3_vfs,
719 arg2: *mut sqlite3_int64,
720 ) -> ::std::os::raw::c_int,
721 >,
722 pub xSetSystemCall: ::std::option::Option<
723 unsafe extern "C" fn(
724 arg1: *mut sqlite3_vfs,
725 zName: *const ::std::os::raw::c_char,
726 arg2: sqlite3_syscall_ptr,
727 ) -> ::std::os::raw::c_int,
728 >,
729 pub xGetSystemCall: ::std::option::Option<
730 unsafe extern "C" fn(
731 arg1: *mut sqlite3_vfs,
732 zName: *const ::std::os::raw::c_char,
733 ) -> sqlite3_syscall_ptr,
734 >,
735 pub xNextSystemCall: ::std::option::Option<
736 unsafe extern "C" fn(
737 arg1: *mut sqlite3_vfs,
738 zName: *const ::std::os::raw::c_char,
739 ) -> *const ::std::os::raw::c_char,
740 >,
741 }
742 #[repr(C)]
743 #[derive(Debug, Copy, Clone)]
744 pub struct sqlite3_mem_methods {
745 pub xMalloc: ::std::option::Option<
746 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void,
747 >,
748 pub xFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
749 pub xRealloc: ::std::option::Option<
750 unsafe extern "C" fn(
751 arg1: *mut ::std::os::raw::c_void,
752 arg2: ::std::os::raw::c_int,
753 ) -> *mut ::std::os::raw::c_void,
754 >,
755 pub xSize: ::std::option::Option<
756 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
757 >,
758 pub xRoundup: ::std::option::Option<
759 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
760 >,
761 pub xInit: ::std::option::Option<
762 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
763 >,
764 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
765 pub pAppData: *mut ::std::os::raw::c_void,
766 }
767 #[repr(C)]
768 #[derive(Debug, Copy, Clone)]
769 pub struct sqlite3_stmt {
770 _unused: [u8; 0],
771 }
772 #[repr(C)]
773 #[derive(Debug, Copy, Clone)]
774 pub struct sqlite3_value {
775 _unused: [u8; 0],
776 }
777 #[repr(C)]
778 #[derive(Debug, Copy, Clone)]
779 pub struct sqlite3_context {
780 _unused: [u8; 0],
781 }
782 pub type sqlite3_destructor_type =
783 ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
784 unsafe extern "C" {
785 pub static mut sqlite3_temp_directory: *mut ::std::os::raw::c_char;
786 }
787 unsafe extern "C" {
788 pub static mut sqlite3_data_directory: *mut ::std::os::raw::c_char;
789 }
790 #[repr(C)]
791 #[derive(Debug, Copy, Clone)]
792 pub struct sqlite3_module {
793 pub iVersion: ::std::os::raw::c_int,
794 pub xCreate: ::std::option::Option<
795 unsafe extern "C" fn(
796 arg1: *mut sqlite3,
797 pAux: *mut ::std::os::raw::c_void,
798 argc: ::std::os::raw::c_int,
799 argv: *const *const ::std::os::raw::c_char,
800 ppVTab: *mut *mut sqlite3_vtab,
801 arg2: *mut *mut ::std::os::raw::c_char,
802 ) -> ::std::os::raw::c_int,
803 >,
804 pub xConnect: ::std::option::Option<
805 unsafe extern "C" fn(
806 arg1: *mut sqlite3,
807 pAux: *mut ::std::os::raw::c_void,
808 argc: ::std::os::raw::c_int,
809 argv: *const *const ::std::os::raw::c_char,
810 ppVTab: *mut *mut sqlite3_vtab,
811 arg2: *mut *mut ::std::os::raw::c_char,
812 ) -> ::std::os::raw::c_int,
813 >,
814 pub xBestIndex: ::std::option::Option<
815 unsafe extern "C" fn(
816 pVTab: *mut sqlite3_vtab,
817 arg1: *mut sqlite3_index_info,
818 ) -> ::std::os::raw::c_int,
819 >,
820 pub xDisconnect: ::std::option::Option<
821 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
822 >,
823 pub xDestroy: ::std::option::Option<
824 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
825 >,
826 pub xOpen: ::std::option::Option<
827 unsafe extern "C" fn(
828 pVTab: *mut sqlite3_vtab,
829 ppCursor: *mut *mut sqlite3_vtab_cursor,
830 ) -> ::std::os::raw::c_int,
831 >,
832 pub xClose: ::std::option::Option<
833 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
834 >,
835 pub xFilter: ::std::option::Option<
836 unsafe extern "C" fn(
837 arg1: *mut sqlite3_vtab_cursor,
838 idxNum: ::std::os::raw::c_int,
839 idxStr: *const ::std::os::raw::c_char,
840 argc: ::std::os::raw::c_int,
841 argv: *mut *mut sqlite3_value,
842 ) -> ::std::os::raw::c_int,
843 >,
844 pub xNext: ::std::option::Option<
845 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
846 >,
847 pub xEof: ::std::option::Option<
848 unsafe extern "C" fn(arg1: *mut sqlite3_vtab_cursor) -> ::std::os::raw::c_int,
849 >,
850 pub xColumn: ::std::option::Option<
851 unsafe extern "C" fn(
852 arg1: *mut sqlite3_vtab_cursor,
853 arg2: *mut sqlite3_context,
854 arg3: ::std::os::raw::c_int,
855 ) -> ::std::os::raw::c_int,
856 >,
857 pub xRowid: ::std::option::Option<
858 unsafe extern "C" fn(
859 arg1: *mut sqlite3_vtab_cursor,
860 pRowid: *mut sqlite3_int64,
861 ) -> ::std::os::raw::c_int,
862 >,
863 pub xUpdate: ::std::option::Option<
864 unsafe extern "C" fn(
865 arg1: *mut sqlite3_vtab,
866 arg2: ::std::os::raw::c_int,
867 arg3: *mut *mut sqlite3_value,
868 arg4: *mut sqlite3_int64,
869 ) -> ::std::os::raw::c_int,
870 >,
871 pub xBegin: ::std::option::Option<
872 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
873 >,
874 pub xSync: ::std::option::Option<
875 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
876 >,
877 pub xCommit: ::std::option::Option<
878 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
879 >,
880 pub xRollback: ::std::option::Option<
881 unsafe extern "C" fn(pVTab: *mut sqlite3_vtab) -> ::std::os::raw::c_int,
882 >,
883 pub xFindFunction: ::std::option::Option<
884 unsafe extern "C" fn(
885 pVtab: *mut sqlite3_vtab,
886 nArg: ::std::os::raw::c_int,
887 zName: *const ::std::os::raw::c_char,
888 pxFunc: *mut ::std::option::Option<
889 unsafe extern "C" fn(
890 arg1: *mut sqlite3_context,
891 arg2: ::std::os::raw::c_int,
892 arg3: *mut *mut sqlite3_value,
893 ),
894 >,
895 ppArg: *mut *mut ::std::os::raw::c_void,
896 ) -> ::std::os::raw::c_int,
897 >,
898 pub xRename: ::std::option::Option<
899 unsafe extern "C" fn(
900 pVtab: *mut sqlite3_vtab,
901 zNew: *const ::std::os::raw::c_char,
902 ) -> ::std::os::raw::c_int,
903 >,
904 pub xSavepoint: ::std::option::Option<
905 unsafe extern "C" fn(
906 pVTab: *mut sqlite3_vtab,
907 arg1: ::std::os::raw::c_int,
908 ) -> ::std::os::raw::c_int,
909 >,
910 pub xRelease: ::std::option::Option<
911 unsafe extern "C" fn(
912 pVTab: *mut sqlite3_vtab,
913 arg1: ::std::os::raw::c_int,
914 ) -> ::std::os::raw::c_int,
915 >,
916 pub xRollbackTo: ::std::option::Option<
917 unsafe extern "C" fn(
918 pVTab: *mut sqlite3_vtab,
919 arg1: ::std::os::raw::c_int,
920 ) -> ::std::os::raw::c_int,
921 >,
922 pub xShadowName: ::std::option::Option<
923 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
924 >,
925 pub xIntegrity: ::std::option::Option<
926 unsafe extern "C" fn(
927 pVTab: *mut sqlite3_vtab,
928 zSchema: *const ::std::os::raw::c_char,
929 zTabName: *const ::std::os::raw::c_char,
930 mFlags: ::std::os::raw::c_int,
931 pzErr: *mut *mut ::std::os::raw::c_char,
932 ) -> ::std::os::raw::c_int,
933 >,
934 }
935 #[repr(C)]
936 #[derive(Debug, Copy, Clone)]
937 pub struct sqlite3_index_info {
938 pub nConstraint: ::std::os::raw::c_int,
939 pub aConstraint: *mut sqlite3_index_constraint,
940 pub nOrderBy: ::std::os::raw::c_int,
941 pub aOrderBy: *mut sqlite3_index_orderby,
942 pub aConstraintUsage: *mut sqlite3_index_constraint_usage,
943 pub idxNum: ::std::os::raw::c_int,
944 pub idxStr: *mut ::std::os::raw::c_char,
945 pub needToFreeIdxStr: ::std::os::raw::c_int,
946 pub orderByConsumed: ::std::os::raw::c_int,
947 pub estimatedCost: f64,
948 pub estimatedRows: sqlite3_int64,
949 pub idxFlags: ::std::os::raw::c_int,
950 pub colUsed: sqlite3_uint64,
951 }
952 #[repr(C)]
953 #[derive(Debug, Copy, Clone)]
954 pub struct sqlite3_index_constraint {
955 pub iColumn: ::std::os::raw::c_int,
956 pub op: ::std::os::raw::c_uchar,
957 pub usable: ::std::os::raw::c_uchar,
958 pub iTermOffset: ::std::os::raw::c_int,
959 }
960 #[repr(C)]
961 #[derive(Debug, Copy, Clone)]
962 pub struct sqlite3_index_orderby {
963 pub iColumn: ::std::os::raw::c_int,
964 pub desc: ::std::os::raw::c_uchar,
965 }
966 #[repr(C)]
967 #[derive(Debug, Copy, Clone)]
968 pub struct sqlite3_index_constraint_usage {
969 pub argvIndex: ::std::os::raw::c_int,
970 pub omit: ::std::os::raw::c_uchar,
971 }
972 #[repr(C)]
973 #[derive(Debug, Copy, Clone)]
974 pub struct sqlite3_vtab {
975 pub pModule: *const sqlite3_module,
976 pub nRef: ::std::os::raw::c_int,
977 pub zErrMsg: *mut ::std::os::raw::c_char,
978 }
979 #[repr(C)]
980 #[derive(Debug, Copy, Clone)]
981 pub struct sqlite3_vtab_cursor {
982 pub pVtab: *mut sqlite3_vtab,
983 }
984 #[repr(C)]
985 #[derive(Debug, Copy, Clone)]
986 pub struct sqlite3_blob {
987 _unused: [u8; 0],
988 }
989 #[repr(C)]
990 #[derive(Debug, Copy, Clone)]
991 pub struct sqlite3_mutex_methods {
992 pub xMutexInit: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
993 pub xMutexEnd: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
994 pub xMutexAlloc: ::std::option::Option<
995 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex,
996 >,
997 pub xMutexFree: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
998 pub xMutexEnter: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
999 pub xMutexTry: ::std::option::Option<
1000 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
1001 >,
1002 pub xMutexLeave: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
1003 pub xMutexHeld: ::std::option::Option<
1004 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
1005 >,
1006 pub xMutexNotheld: ::std::option::Option<
1007 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
1008 >,
1009 }
1010 #[repr(C)]
1011 #[derive(Debug, Copy, Clone)]
1012 pub struct sqlite3_str {
1013 _unused: [u8; 0],
1014 }
1015 #[repr(C)]
1016 #[derive(Debug, Copy, Clone)]
1017 pub struct sqlite3_pcache {
1018 _unused: [u8; 0],
1019 }
1020 #[repr(C)]
1021 #[derive(Debug, Copy, Clone)]
1022 pub struct sqlite3_pcache_page {
1023 pub pBuf: *mut ::std::os::raw::c_void,
1024 pub pExtra: *mut ::std::os::raw::c_void,
1025 }
1026 #[repr(C)]
1027 #[derive(Debug, Copy, Clone)]
1028 pub struct sqlite3_pcache_methods2 {
1029 pub iVersion: ::std::os::raw::c_int,
1030 pub pArg: *mut ::std::os::raw::c_void,
1031 pub xInit: ::std::option::Option<
1032 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1033 >,
1034 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1035 pub xCreate: ::std::option::Option<
1036 unsafe extern "C" fn(
1037 szPage: ::std::os::raw::c_int,
1038 szExtra: ::std::os::raw::c_int,
1039 bPurgeable: ::std::os::raw::c_int,
1040 ) -> *mut sqlite3_pcache,
1041 >,
1042 pub xCachesize: ::std::option::Option<
1043 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int),
1044 >,
1045 pub xPagecount: ::std::option::Option<
1046 unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int,
1047 >,
1048 pub xFetch: ::std::option::Option<
1049 unsafe extern "C" fn(
1050 arg1: *mut sqlite3_pcache,
1051 key: ::std::os::raw::c_uint,
1052 createFlag: ::std::os::raw::c_int,
1053 ) -> *mut sqlite3_pcache_page,
1054 >,
1055 pub xUnpin: ::std::option::Option<
1056 unsafe extern "C" fn(
1057 arg1: *mut sqlite3_pcache,
1058 arg2: *mut sqlite3_pcache_page,
1059 discard: ::std::os::raw::c_int,
1060 ),
1061 >,
1062 pub xRekey: ::std::option::Option<
1063 unsafe extern "C" fn(
1064 arg1: *mut sqlite3_pcache,
1065 arg2: *mut sqlite3_pcache_page,
1066 oldKey: ::std::os::raw::c_uint,
1067 newKey: ::std::os::raw::c_uint,
1068 ),
1069 >,
1070 pub xTruncate: ::std::option::Option<
1071 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint),
1072 >,
1073 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
1074 pub xShrink: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
1075 }
1076 #[repr(C)]
1077 #[derive(Debug, Copy, Clone)]
1078 pub struct sqlite3_pcache_methods {
1079 pub pArg: *mut ::std::os::raw::c_void,
1080 pub xInit: ::std::option::Option<
1081 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1082 >,
1083 pub xShutdown: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1084 pub xCreate: ::std::option::Option<
1085 unsafe extern "C" fn(
1086 szPage: ::std::os::raw::c_int,
1087 bPurgeable: ::std::os::raw::c_int,
1088 ) -> *mut sqlite3_pcache,
1089 >,
1090 pub xCachesize: ::std::option::Option<
1091 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, nCachesize: ::std::os::raw::c_int),
1092 >,
1093 pub xPagecount: ::std::option::Option<
1094 unsafe extern "C" fn(arg1: *mut sqlite3_pcache) -> ::std::os::raw::c_int,
1095 >,
1096 pub xFetch: ::std::option::Option<
1097 unsafe extern "C" fn(
1098 arg1: *mut sqlite3_pcache,
1099 key: ::std::os::raw::c_uint,
1100 createFlag: ::std::os::raw::c_int,
1101 ) -> *mut ::std::os::raw::c_void,
1102 >,
1103 pub xUnpin: ::std::option::Option<
1104 unsafe extern "C" fn(
1105 arg1: *mut sqlite3_pcache,
1106 arg2: *mut ::std::os::raw::c_void,
1107 discard: ::std::os::raw::c_int,
1108 ),
1109 >,
1110 pub xRekey: ::std::option::Option<
1111 unsafe extern "C" fn(
1112 arg1: *mut sqlite3_pcache,
1113 arg2: *mut ::std::os::raw::c_void,
1114 oldKey: ::std::os::raw::c_uint,
1115 newKey: ::std::os::raw::c_uint,
1116 ),
1117 >,
1118 pub xTruncate: ::std::option::Option<
1119 unsafe extern "C" fn(arg1: *mut sqlite3_pcache, iLimit: ::std::os::raw::c_uint),
1120 >,
1121 pub xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_pcache)>,
1122 }
1123 #[repr(C)]
1124 #[derive(Debug, Copy, Clone)]
1125 pub struct sqlite3_backup {
1126 _unused: [u8; 0],
1127 }
1128 #[repr(C)]
1129 #[derive(Debug, Copy, Clone)]
1130 pub struct sqlite3_snapshot {
1131 pub hidden: [::std::os::raw::c_uchar; 48usize],
1132 }
1133 pub type sqlite3_rtree_dbl = f64;
1134 #[repr(C)]
1135 #[derive(Debug, Copy, Clone)]
1136 pub struct sqlite3_rtree_geometry {
1137 pub pContext: *mut ::std::os::raw::c_void,
1138 pub nParam: ::std::os::raw::c_int,
1139 pub aParam: *mut sqlite3_rtree_dbl,
1140 pub pUser: *mut ::std::os::raw::c_void,
1141 pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1142 }
1143 #[repr(C)]
1144 #[derive(Debug, Copy, Clone)]
1145 pub struct sqlite3_rtree_query_info {
1146 pub pContext: *mut ::std::os::raw::c_void,
1147 pub nParam: ::std::os::raw::c_int,
1148 pub aParam: *mut sqlite3_rtree_dbl,
1149 pub pUser: *mut ::std::os::raw::c_void,
1150 pub xDelUser: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1151 pub aCoord: *mut sqlite3_rtree_dbl,
1152 pub anQueue: *mut ::std::os::raw::c_uint,
1153 pub nCoord: ::std::os::raw::c_int,
1154 pub iLevel: ::std::os::raw::c_int,
1155 pub mxLevel: ::std::os::raw::c_int,
1156 pub iRowid: sqlite3_int64,
1157 pub rParentScore: sqlite3_rtree_dbl,
1158 pub eParentWithin: ::std::os::raw::c_int,
1159 pub eWithin: ::std::os::raw::c_int,
1160 pub rScore: sqlite3_rtree_dbl,
1161 pub apSqlParam: *mut *mut sqlite3_value,
1162 }
1163 #[repr(C)]
1164 #[derive(Debug, Copy, Clone)]
1165 pub struct Fts5Context {
1166 _unused: [u8; 0],
1167 }
1168 pub type fts5_extension_function = ::std::option::Option<
1169 unsafe extern "C" fn(
1170 pApi: *const Fts5ExtensionApi,
1171 pFts: *mut Fts5Context,
1172 pCtx: *mut sqlite3_context,
1173 nVal: ::std::os::raw::c_int,
1174 apVal: *mut *mut sqlite3_value,
1175 ),
1176 >;
1177 #[repr(C)]
1178 #[derive(Debug, Copy, Clone)]
1179 pub struct Fts5PhraseIter {
1180 pub a: *const ::std::os::raw::c_uchar,
1181 pub b: *const ::std::os::raw::c_uchar,
1182 }
1183 #[repr(C)]
1184 #[derive(Debug, Copy, Clone)]
1185 pub struct Fts5ExtensionApi {
1186 pub iVersion: ::std::os::raw::c_int,
1187 pub xUserData: ::std::option::Option<
1188 unsafe extern "C" fn(arg1: *mut Fts5Context) -> *mut ::std::os::raw::c_void,
1189 >,
1190 pub xColumnCount: ::std::option::Option<
1191 unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int,
1192 >,
1193 pub xRowCount: ::std::option::Option<
1194 unsafe extern "C" fn(
1195 arg1: *mut Fts5Context,
1196 pnRow: *mut sqlite3_int64,
1197 ) -> ::std::os::raw::c_int,
1198 >,
1199 pub xColumnTotalSize: ::std::option::Option<
1200 unsafe extern "C" fn(
1201 arg1: *mut Fts5Context,
1202 iCol: ::std::os::raw::c_int,
1203 pnToken: *mut sqlite3_int64,
1204 ) -> ::std::os::raw::c_int,
1205 >,
1206 pub xTokenize: ::std::option::Option<
1207 unsafe extern "C" fn(
1208 arg1: *mut Fts5Context,
1209 pText: *const ::std::os::raw::c_char,
1210 nText: ::std::os::raw::c_int,
1211 pCtx: *mut ::std::os::raw::c_void,
1212 xToken: ::std::option::Option<
1213 unsafe extern "C" fn(
1214 arg1: *mut ::std::os::raw::c_void,
1215 arg2: ::std::os::raw::c_int,
1216 arg3: *const ::std::os::raw::c_char,
1217 arg4: ::std::os::raw::c_int,
1218 arg5: ::std::os::raw::c_int,
1219 arg6: ::std::os::raw::c_int,
1220 ) -> ::std::os::raw::c_int,
1221 >,
1222 ) -> ::std::os::raw::c_int,
1223 >,
1224 pub xPhraseCount: ::std::option::Option<
1225 unsafe extern "C" fn(arg1: *mut Fts5Context) -> ::std::os::raw::c_int,
1226 >,
1227 pub xPhraseSize: ::std::option::Option<
1228 unsafe extern "C" fn(
1229 arg1: *mut Fts5Context,
1230 iPhrase: ::std::os::raw::c_int,
1231 ) -> ::std::os::raw::c_int,
1232 >,
1233 pub xInstCount: ::std::option::Option<
1234 unsafe extern "C" fn(
1235 arg1: *mut Fts5Context,
1236 pnInst: *mut ::std::os::raw::c_int,
1237 ) -> ::std::os::raw::c_int,
1238 >,
1239 pub xInst: ::std::option::Option<
1240 unsafe extern "C" fn(
1241 arg1: *mut Fts5Context,
1242 iIdx: ::std::os::raw::c_int,
1243 piPhrase: *mut ::std::os::raw::c_int,
1244 piCol: *mut ::std::os::raw::c_int,
1245 piOff: *mut ::std::os::raw::c_int,
1246 ) -> ::std::os::raw::c_int,
1247 >,
1248 pub xRowid:
1249 ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Context) -> sqlite3_int64>,
1250 pub xColumnText: ::std::option::Option<
1251 unsafe extern "C" fn(
1252 arg1: *mut Fts5Context,
1253 iCol: ::std::os::raw::c_int,
1254 pz: *mut *const ::std::os::raw::c_char,
1255 pn: *mut ::std::os::raw::c_int,
1256 ) -> ::std::os::raw::c_int,
1257 >,
1258 pub xColumnSize: ::std::option::Option<
1259 unsafe extern "C" fn(
1260 arg1: *mut Fts5Context,
1261 iCol: ::std::os::raw::c_int,
1262 pnToken: *mut ::std::os::raw::c_int,
1263 ) -> ::std::os::raw::c_int,
1264 >,
1265 pub xQueryPhrase: ::std::option::Option<
1266 unsafe extern "C" fn(
1267 arg1: *mut Fts5Context,
1268 iPhrase: ::std::os::raw::c_int,
1269 pUserData: *mut ::std::os::raw::c_void,
1270 arg2: ::std::option::Option<
1271 unsafe extern "C" fn(
1272 arg1: *const Fts5ExtensionApi,
1273 arg2: *mut Fts5Context,
1274 arg3: *mut ::std::os::raw::c_void,
1275 ) -> ::std::os::raw::c_int,
1276 >,
1277 ) -> ::std::os::raw::c_int,
1278 >,
1279 pub xSetAuxdata: ::std::option::Option<
1280 unsafe extern "C" fn(
1281 arg1: *mut Fts5Context,
1282 pAux: *mut ::std::os::raw::c_void,
1283 xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1284 ) -> ::std::os::raw::c_int,
1285 >,
1286 pub xGetAuxdata: ::std::option::Option<
1287 unsafe extern "C" fn(
1288 arg1: *mut Fts5Context,
1289 bClear: ::std::os::raw::c_int,
1290 ) -> *mut ::std::os::raw::c_void,
1291 >,
1292 pub xPhraseFirst: ::std::option::Option<
1293 unsafe extern "C" fn(
1294 arg1: *mut Fts5Context,
1295 iPhrase: ::std::os::raw::c_int,
1296 arg2: *mut Fts5PhraseIter,
1297 arg3: *mut ::std::os::raw::c_int,
1298 arg4: *mut ::std::os::raw::c_int,
1299 ) -> ::std::os::raw::c_int,
1300 >,
1301 pub xPhraseNext: ::std::option::Option<
1302 unsafe extern "C" fn(
1303 arg1: *mut Fts5Context,
1304 arg2: *mut Fts5PhraseIter,
1305 piCol: *mut ::std::os::raw::c_int,
1306 piOff: *mut ::std::os::raw::c_int,
1307 ),
1308 >,
1309 pub xPhraseFirstColumn: ::std::option::Option<
1310 unsafe extern "C" fn(
1311 arg1: *mut Fts5Context,
1312 iPhrase: ::std::os::raw::c_int,
1313 arg2: *mut Fts5PhraseIter,
1314 arg3: *mut ::std::os::raw::c_int,
1315 ) -> ::std::os::raw::c_int,
1316 >,
1317 pub xPhraseNextColumn: ::std::option::Option<
1318 unsafe extern "C" fn(
1319 arg1: *mut Fts5Context,
1320 arg2: *mut Fts5PhraseIter,
1321 piCol: *mut ::std::os::raw::c_int,
1322 ),
1323 >,
1324 pub xQueryToken: ::std::option::Option<
1325 unsafe extern "C" fn(
1326 arg1: *mut Fts5Context,
1327 iPhrase: ::std::os::raw::c_int,
1328 iToken: ::std::os::raw::c_int,
1329 ppToken: *mut *const ::std::os::raw::c_char,
1330 pnToken: *mut ::std::os::raw::c_int,
1331 ) -> ::std::os::raw::c_int,
1332 >,
1333 pub xInstToken: ::std::option::Option<
1334 unsafe extern "C" fn(
1335 arg1: *mut Fts5Context,
1336 iIdx: ::std::os::raw::c_int,
1337 iToken: ::std::os::raw::c_int,
1338 arg2: *mut *const ::std::os::raw::c_char,
1339 arg3: *mut ::std::os::raw::c_int,
1340 ) -> ::std::os::raw::c_int,
1341 >,
1342 pub xColumnLocale: ::std::option::Option<
1343 unsafe extern "C" fn(
1344 arg1: *mut Fts5Context,
1345 iCol: ::std::os::raw::c_int,
1346 pz: *mut *const ::std::os::raw::c_char,
1347 pn: *mut ::std::os::raw::c_int,
1348 ) -> ::std::os::raw::c_int,
1349 >,
1350 pub xTokenize_v2: ::std::option::Option<
1351 unsafe extern "C" fn(
1352 arg1: *mut Fts5Context,
1353 pText: *const ::std::os::raw::c_char,
1354 nText: ::std::os::raw::c_int,
1355 pLocale: *const ::std::os::raw::c_char,
1356 nLocale: ::std::os::raw::c_int,
1357 pCtx: *mut ::std::os::raw::c_void,
1358 xToken: ::std::option::Option<
1359 unsafe extern "C" fn(
1360 arg1: *mut ::std::os::raw::c_void,
1361 arg2: ::std::os::raw::c_int,
1362 arg3: *const ::std::os::raw::c_char,
1363 arg4: ::std::os::raw::c_int,
1364 arg5: ::std::os::raw::c_int,
1365 arg6: ::std::os::raw::c_int,
1366 ) -> ::std::os::raw::c_int,
1367 >,
1368 ) -> ::std::os::raw::c_int,
1369 >,
1370 }
1371 #[repr(C)]
1372 #[derive(Debug, Copy, Clone)]
1373 pub struct Fts5Tokenizer {
1374 _unused: [u8; 0],
1375 }
1376 #[repr(C)]
1377 #[derive(Debug, Copy, Clone)]
1378 pub struct fts5_tokenizer_v2 {
1379 pub iVersion: ::std::os::raw::c_int,
1380 pub xCreate: ::std::option::Option<
1381 unsafe extern "C" fn(
1382 arg1: *mut ::std::os::raw::c_void,
1383 azArg: *mut *const ::std::os::raw::c_char,
1384 nArg: ::std::os::raw::c_int,
1385 ppOut: *mut *mut Fts5Tokenizer,
1386 ) -> ::std::os::raw::c_int,
1387 >,
1388 pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>,
1389 pub xTokenize: ::std::option::Option<
1390 unsafe extern "C" fn(
1391 arg1: *mut Fts5Tokenizer,
1392 pCtx: *mut ::std::os::raw::c_void,
1393 flags: ::std::os::raw::c_int,
1394 pText: *const ::std::os::raw::c_char,
1395 nText: ::std::os::raw::c_int,
1396 pLocale: *const ::std::os::raw::c_char,
1397 nLocale: ::std::os::raw::c_int,
1398 xToken: ::std::option::Option<
1399 unsafe extern "C" fn(
1400 pCtx: *mut ::std::os::raw::c_void,
1401 tflags: ::std::os::raw::c_int,
1402 pToken: *const ::std::os::raw::c_char,
1403 nToken: ::std::os::raw::c_int,
1404 iStart: ::std::os::raw::c_int,
1405 iEnd: ::std::os::raw::c_int,
1406 ) -> ::std::os::raw::c_int,
1407 >,
1408 ) -> ::std::os::raw::c_int,
1409 >,
1410 }
1411 #[repr(C)]
1412 #[derive(Debug, Copy, Clone)]
1413 pub struct fts5_tokenizer {
1414 pub xCreate: ::std::option::Option<
1415 unsafe extern "C" fn(
1416 arg1: *mut ::std::os::raw::c_void,
1417 azArg: *mut *const ::std::os::raw::c_char,
1418 nArg: ::std::os::raw::c_int,
1419 ppOut: *mut *mut Fts5Tokenizer,
1420 ) -> ::std::os::raw::c_int,
1421 >,
1422 pub xDelete: ::std::option::Option<unsafe extern "C" fn(arg1: *mut Fts5Tokenizer)>,
1423 pub xTokenize: ::std::option::Option<
1424 unsafe extern "C" fn(
1425 arg1: *mut Fts5Tokenizer,
1426 pCtx: *mut ::std::os::raw::c_void,
1427 flags: ::std::os::raw::c_int,
1428 pText: *const ::std::os::raw::c_char,
1429 nText: ::std::os::raw::c_int,
1430 xToken: ::std::option::Option<
1431 unsafe extern "C" fn(
1432 pCtx: *mut ::std::os::raw::c_void,
1433 tflags: ::std::os::raw::c_int,
1434 pToken: *const ::std::os::raw::c_char,
1435 nToken: ::std::os::raw::c_int,
1436 iStart: ::std::os::raw::c_int,
1437 iEnd: ::std::os::raw::c_int,
1438 ) -> ::std::os::raw::c_int,
1439 >,
1440 ) -> ::std::os::raw::c_int,
1441 >,
1442 }
1443 #[repr(C)]
1444 #[derive(Debug, Copy, Clone)]
1445 pub struct fts5_api {
1446 pub iVersion: ::std::os::raw::c_int,
1447 pub xCreateTokenizer: ::std::option::Option<
1448 unsafe extern "C" fn(
1449 pApi: *mut fts5_api,
1450 zName: *const ::std::os::raw::c_char,
1451 pUserData: *mut ::std::os::raw::c_void,
1452 pTokenizer: *mut fts5_tokenizer,
1453 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1454 ) -> ::std::os::raw::c_int,
1455 >,
1456 pub xFindTokenizer: ::std::option::Option<
1457 unsafe extern "C" fn(
1458 pApi: *mut fts5_api,
1459 zName: *const ::std::os::raw::c_char,
1460 ppUserData: *mut *mut ::std::os::raw::c_void,
1461 pTokenizer: *mut fts5_tokenizer,
1462 ) -> ::std::os::raw::c_int,
1463 >,
1464 pub xCreateFunction: ::std::option::Option<
1465 unsafe extern "C" fn(
1466 pApi: *mut fts5_api,
1467 zName: *const ::std::os::raw::c_char,
1468 pUserData: *mut ::std::os::raw::c_void,
1469 xFunction: fts5_extension_function,
1470 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1471 ) -> ::std::os::raw::c_int,
1472 >,
1473 pub xCreateTokenizer_v2: ::std::option::Option<
1474 unsafe extern "C" fn(
1475 pApi: *mut fts5_api,
1476 zName: *const ::std::os::raw::c_char,
1477 pUserData: *mut ::std::os::raw::c_void,
1478 pTokenizer: *mut fts5_tokenizer_v2,
1479 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1480 ) -> ::std::os::raw::c_int,
1481 >,
1482 pub xFindTokenizer_v2: ::std::option::Option<
1483 unsafe extern "C" fn(
1484 pApi: *mut fts5_api,
1485 zName: *const ::std::os::raw::c_char,
1486 ppUserData: *mut *mut ::std::os::raw::c_void,
1487 ppTokenizer: *mut *mut fts5_tokenizer_v2,
1488 ) -> ::std::os::raw::c_int,
1489 >,
1490 }
1491 #[repr(C)]
1492 #[derive(Debug, Copy, Clone)]
1493 pub struct sqlite3_api_routines {
1494 pub aggregate_context: ::std::option::Option<
1495 unsafe extern "C" fn(
1496 arg1: *mut sqlite3_context,
1497 nBytes: ::std::os::raw::c_int,
1498 ) -> *mut ::std::os::raw::c_void,
1499 >,
1500 pub aggregate_count: ::std::option::Option<
1501 unsafe extern "C" fn(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int,
1502 >,
1503 pub bind_blob: ::std::option::Option<
1504 unsafe extern "C" fn(
1505 arg1: *mut sqlite3_stmt,
1506 arg2: ::std::os::raw::c_int,
1507 arg3: *const ::std::os::raw::c_void,
1508 n: ::std::os::raw::c_int,
1509 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1510 ) -> ::std::os::raw::c_int,
1511 >,
1512 pub bind_double: ::std::option::Option<
1513 unsafe extern "C" fn(
1514 arg1: *mut sqlite3_stmt,
1515 arg2: ::std::os::raw::c_int,
1516 arg3: f64,
1517 ) -> ::std::os::raw::c_int,
1518 >,
1519 pub bind_int: ::std::option::Option<
1520 unsafe extern "C" fn(
1521 arg1: *mut sqlite3_stmt,
1522 arg2: ::std::os::raw::c_int,
1523 arg3: ::std::os::raw::c_int,
1524 ) -> ::std::os::raw::c_int,
1525 >,
1526 pub bind_int64: ::std::option::Option<
1527 unsafe extern "C" fn(
1528 arg1: *mut sqlite3_stmt,
1529 arg2: ::std::os::raw::c_int,
1530 arg3: sqlite_int64,
1531 ) -> ::std::os::raw::c_int,
1532 >,
1533 pub bind_null: ::std::option::Option<
1534 unsafe extern "C" fn(
1535 arg1: *mut sqlite3_stmt,
1536 arg2: ::std::os::raw::c_int,
1537 ) -> ::std::os::raw::c_int,
1538 >,
1539 pub bind_parameter_count: ::std::option::Option<
1540 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1541 >,
1542 pub bind_parameter_index: ::std::option::Option<
1543 unsafe extern "C" fn(
1544 arg1: *mut sqlite3_stmt,
1545 zName: *const ::std::os::raw::c_char,
1546 ) -> ::std::os::raw::c_int,
1547 >,
1548 pub bind_parameter_name: ::std::option::Option<
1549 unsafe extern "C" fn(
1550 arg1: *mut sqlite3_stmt,
1551 arg2: ::std::os::raw::c_int,
1552 ) -> *const ::std::os::raw::c_char,
1553 >,
1554 pub bind_text: ::std::option::Option<
1555 unsafe extern "C" fn(
1556 arg1: *mut sqlite3_stmt,
1557 arg2: ::std::os::raw::c_int,
1558 arg3: *const ::std::os::raw::c_char,
1559 n: ::std::os::raw::c_int,
1560 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1561 ) -> ::std::os::raw::c_int,
1562 >,
1563 pub bind_text16: ::std::option::Option<
1564 unsafe extern "C" fn(
1565 arg1: *mut sqlite3_stmt,
1566 arg2: ::std::os::raw::c_int,
1567 arg3: *const ::std::os::raw::c_void,
1568 arg4: ::std::os::raw::c_int,
1569 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1570 ) -> ::std::os::raw::c_int,
1571 >,
1572 pub bind_value: ::std::option::Option<
1573 unsafe extern "C" fn(
1574 arg1: *mut sqlite3_stmt,
1575 arg2: ::std::os::raw::c_int,
1576 arg3: *const sqlite3_value,
1577 ) -> ::std::os::raw::c_int,
1578 >,
1579 pub busy_handler: ::std::option::Option<
1580 unsafe extern "C" fn(
1581 arg1: *mut sqlite3,
1582 arg2: ::std::option::Option<
1583 unsafe extern "C" fn(
1584 arg1: *mut ::std::os::raw::c_void,
1585 arg2: ::std::os::raw::c_int,
1586 ) -> ::std::os::raw::c_int,
1587 >,
1588 arg3: *mut ::std::os::raw::c_void,
1589 ) -> ::std::os::raw::c_int,
1590 >,
1591 pub busy_timeout: ::std::option::Option<
1592 unsafe extern "C" fn(
1593 arg1: *mut sqlite3,
1594 ms: ::std::os::raw::c_int,
1595 ) -> ::std::os::raw::c_int,
1596 >,
1597 pub changes:
1598 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
1599 pub close:
1600 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
1601 pub collation_needed: ::std::option::Option<
1602 unsafe extern "C" fn(
1603 arg1: *mut sqlite3,
1604 arg2: *mut ::std::os::raw::c_void,
1605 arg3: ::std::option::Option<
1606 unsafe extern "C" fn(
1607 arg1: *mut ::std::os::raw::c_void,
1608 arg2: *mut sqlite3,
1609 eTextRep: ::std::os::raw::c_int,
1610 arg3: *const ::std::os::raw::c_char,
1611 ),
1612 >,
1613 ) -> ::std::os::raw::c_int,
1614 >,
1615 pub collation_needed16: ::std::option::Option<
1616 unsafe extern "C" fn(
1617 arg1: *mut sqlite3,
1618 arg2: *mut ::std::os::raw::c_void,
1619 arg3: ::std::option::Option<
1620 unsafe extern "C" fn(
1621 arg1: *mut ::std::os::raw::c_void,
1622 arg2: *mut sqlite3,
1623 eTextRep: ::std::os::raw::c_int,
1624 arg3: *const ::std::os::raw::c_void,
1625 ),
1626 >,
1627 ) -> ::std::os::raw::c_int,
1628 >,
1629 pub column_blob: ::std::option::Option<
1630 unsafe extern "C" fn(
1631 arg1: *mut sqlite3_stmt,
1632 iCol: ::std::os::raw::c_int,
1633 ) -> *const ::std::os::raw::c_void,
1634 >,
1635 pub column_bytes: ::std::option::Option<
1636 unsafe extern "C" fn(
1637 arg1: *mut sqlite3_stmt,
1638 iCol: ::std::os::raw::c_int,
1639 ) -> ::std::os::raw::c_int,
1640 >,
1641 pub column_bytes16: ::std::option::Option<
1642 unsafe extern "C" fn(
1643 arg1: *mut sqlite3_stmt,
1644 iCol: ::std::os::raw::c_int,
1645 ) -> ::std::os::raw::c_int,
1646 >,
1647 pub column_count: ::std::option::Option<
1648 unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1649 >,
1650 pub column_database_name: ::std::option::Option<
1651 unsafe extern "C" fn(
1652 arg1: *mut sqlite3_stmt,
1653 arg2: ::std::os::raw::c_int,
1654 ) -> *const ::std::os::raw::c_char,
1655 >,
1656 pub column_database_name16: ::std::option::Option<
1657 unsafe extern "C" fn(
1658 arg1: *mut sqlite3_stmt,
1659 arg2: ::std::os::raw::c_int,
1660 ) -> *const ::std::os::raw::c_void,
1661 >,
1662 pub column_decltype: ::std::option::Option<
1663 unsafe extern "C" fn(
1664 arg1: *mut sqlite3_stmt,
1665 i: ::std::os::raw::c_int,
1666 ) -> *const ::std::os::raw::c_char,
1667 >,
1668 pub column_decltype16: ::std::option::Option<
1669 unsafe extern "C" fn(
1670 arg1: *mut sqlite3_stmt,
1671 arg2: ::std::os::raw::c_int,
1672 ) -> *const ::std::os::raw::c_void,
1673 >,
1674 pub column_double: ::std::option::Option<
1675 unsafe extern "C" fn(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> f64,
1676 >,
1677 pub column_int: ::std::option::Option<
1678 unsafe extern "C" fn(
1679 arg1: *mut sqlite3_stmt,
1680 iCol: ::std::os::raw::c_int,
1681 ) -> ::std::os::raw::c_int,
1682 >,
1683 pub column_int64: ::std::option::Option<
1684 unsafe extern "C" fn(arg1: *mut sqlite3_stmt, iCol: ::std::os::raw::c_int) -> sqlite_int64,
1685 >,
1686 pub column_name: ::std::option::Option<
1687 unsafe extern "C" fn(
1688 arg1: *mut sqlite3_stmt,
1689 arg2: ::std::os::raw::c_int,
1690 ) -> *const ::std::os::raw::c_char,
1691 >,
1692 pub column_name16: ::std::option::Option<
1693 unsafe extern "C" fn(
1694 arg1: *mut sqlite3_stmt,
1695 arg2: ::std::os::raw::c_int,
1696 ) -> *const ::std::os::raw::c_void,
1697 >,
1698 pub column_origin_name: ::std::option::Option<
1699 unsafe extern "C" fn(
1700 arg1: *mut sqlite3_stmt,
1701 arg2: ::std::os::raw::c_int,
1702 ) -> *const ::std::os::raw::c_char,
1703 >,
1704 pub column_origin_name16: ::std::option::Option<
1705 unsafe extern "C" fn(
1706 arg1: *mut sqlite3_stmt,
1707 arg2: ::std::os::raw::c_int,
1708 ) -> *const ::std::os::raw::c_void,
1709 >,
1710 pub column_table_name: ::std::option::Option<
1711 unsafe extern "C" fn(
1712 arg1: *mut sqlite3_stmt,
1713 arg2: ::std::os::raw::c_int,
1714 ) -> *const ::std::os::raw::c_char,
1715 >,
1716 pub column_table_name16: ::std::option::Option<
1717 unsafe extern "C" fn(
1718 arg1: *mut sqlite3_stmt,
1719 arg2: ::std::os::raw::c_int,
1720 ) -> *const ::std::os::raw::c_void,
1721 >,
1722 pub column_text: ::std::option::Option<
1723 unsafe extern "C" fn(
1724 arg1: *mut sqlite3_stmt,
1725 iCol: ::std::os::raw::c_int,
1726 ) -> *const ::std::os::raw::c_uchar,
1727 >,
1728 pub column_text16: ::std::option::Option<
1729 unsafe extern "C" fn(
1730 arg1: *mut sqlite3_stmt,
1731 iCol: ::std::os::raw::c_int,
1732 ) -> *const ::std::os::raw::c_void,
1733 >,
1734 pub column_type: ::std::option::Option<
1735 unsafe extern "C" fn(
1736 arg1: *mut sqlite3_stmt,
1737 iCol: ::std::os::raw::c_int,
1738 ) -> ::std::os::raw::c_int,
1739 >,
1740 pub column_value: ::std::option::Option<
1741 unsafe extern "C" fn(
1742 arg1: *mut sqlite3_stmt,
1743 iCol: ::std::os::raw::c_int,
1744 ) -> *mut sqlite3_value,
1745 >,
1746 pub commit_hook: ::std::option::Option<
1747 unsafe extern "C" fn(
1748 arg1: *mut sqlite3,
1749 arg2: ::std::option::Option<
1750 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1751 >,
1752 arg3: *mut ::std::os::raw::c_void,
1753 ) -> *mut ::std::os::raw::c_void,
1754 >,
1755 pub complete: ::std::option::Option<
1756 unsafe extern "C" fn(sql: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
1757 >,
1758 pub complete16: ::std::option::Option<
1759 unsafe extern "C" fn(sql: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1760 >,
1761 pub create_collation: ::std::option::Option<
1762 unsafe extern "C" fn(
1763 arg1: *mut sqlite3,
1764 arg2: *const ::std::os::raw::c_char,
1765 arg3: ::std::os::raw::c_int,
1766 arg4: *mut ::std::os::raw::c_void,
1767 arg5: ::std::option::Option<
1768 unsafe extern "C" fn(
1769 arg1: *mut ::std::os::raw::c_void,
1770 arg2: ::std::os::raw::c_int,
1771 arg3: *const ::std::os::raw::c_void,
1772 arg4: ::std::os::raw::c_int,
1773 arg5: *const ::std::os::raw::c_void,
1774 ) -> ::std::os::raw::c_int,
1775 >,
1776 ) -> ::std::os::raw::c_int,
1777 >,
1778 pub create_collation16: ::std::option::Option<
1779 unsafe extern "C" fn(
1780 arg1: *mut sqlite3,
1781 arg2: *const ::std::os::raw::c_void,
1782 arg3: ::std::os::raw::c_int,
1783 arg4: *mut ::std::os::raw::c_void,
1784 arg5: ::std::option::Option<
1785 unsafe extern "C" fn(
1786 arg1: *mut ::std::os::raw::c_void,
1787 arg2: ::std::os::raw::c_int,
1788 arg3: *const ::std::os::raw::c_void,
1789 arg4: ::std::os::raw::c_int,
1790 arg5: *const ::std::os::raw::c_void,
1791 ) -> ::std::os::raw::c_int,
1792 >,
1793 ) -> ::std::os::raw::c_int,
1794 >,
1795 pub create_function: ::std::option::Option<
1796 unsafe extern "C" fn(
1797 arg1: *mut sqlite3,
1798 arg2: *const ::std::os::raw::c_char,
1799 arg3: ::std::os::raw::c_int,
1800 arg4: ::std::os::raw::c_int,
1801 arg5: *mut ::std::os::raw::c_void,
1802 xFunc: ::std::option::Option<
1803 unsafe extern "C" fn(
1804 arg1: *mut sqlite3_context,
1805 arg2: ::std::os::raw::c_int,
1806 arg3: *mut *mut sqlite3_value,
1807 ),
1808 >,
1809 xStep: ::std::option::Option<
1810 unsafe extern "C" fn(
1811 arg1: *mut sqlite3_context,
1812 arg2: ::std::os::raw::c_int,
1813 arg3: *mut *mut sqlite3_value,
1814 ),
1815 >,
1816 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
1817 ) -> ::std::os::raw::c_int,
1818 >,
1819 pub create_function16: ::std::option::Option<
1820 unsafe extern "C" fn(
1821 arg1: *mut sqlite3,
1822 arg2: *const ::std::os::raw::c_void,
1823 arg3: ::std::os::raw::c_int,
1824 arg4: ::std::os::raw::c_int,
1825 arg5: *mut ::std::os::raw::c_void,
1826 xFunc: ::std::option::Option<
1827 unsafe extern "C" fn(
1828 arg1: *mut sqlite3_context,
1829 arg2: ::std::os::raw::c_int,
1830 arg3: *mut *mut sqlite3_value,
1831 ),
1832 >,
1833 xStep: ::std::option::Option<
1834 unsafe extern "C" fn(
1835 arg1: *mut sqlite3_context,
1836 arg2: ::std::os::raw::c_int,
1837 arg3: *mut *mut sqlite3_value,
1838 ),
1839 >,
1840 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
1841 ) -> ::std::os::raw::c_int,
1842 >,
1843 pub create_module: ::std::option::Option<
1844 unsafe extern "C" fn(
1845 arg1: *mut sqlite3,
1846 arg2: *const ::std::os::raw::c_char,
1847 arg3: *const sqlite3_module,
1848 arg4: *mut ::std::os::raw::c_void,
1849 ) -> ::std::os::raw::c_int,
1850 >,
1851 pub data_count: ::std::option::Option<
1852 unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1853 >,
1854 pub db_handle:
1855 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> *mut sqlite3>,
1856 pub declare_vtab: ::std::option::Option<
1857 unsafe extern "C" fn(
1858 arg1: *mut sqlite3,
1859 arg2: *const ::std::os::raw::c_char,
1860 ) -> ::std::os::raw::c_int,
1861 >,
1862 pub enable_shared_cache: ::std::option::Option<
1863 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
1864 >,
1865 pub errcode:
1866 ::std::option::Option<unsafe extern "C" fn(db: *mut sqlite3) -> ::std::os::raw::c_int>,
1867 pub errmsg: ::std::option::Option<
1868 unsafe extern "C" fn(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char,
1869 >,
1870 pub errmsg16: ::std::option::Option<
1871 unsafe extern "C" fn(arg1: *mut sqlite3) -> *const ::std::os::raw::c_void,
1872 >,
1873 pub exec: ::std::option::Option<
1874 unsafe extern "C" fn(
1875 arg1: *mut sqlite3,
1876 arg2: *const ::std::os::raw::c_char,
1877 arg3: sqlite3_callback,
1878 arg4: *mut ::std::os::raw::c_void,
1879 arg5: *mut *mut ::std::os::raw::c_char,
1880 ) -> ::std::os::raw::c_int,
1881 >,
1882 pub expired: ::std::option::Option<
1883 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1884 >,
1885 pub finalize: ::std::option::Option<
1886 unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1887 >,
1888 pub free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1889 pub free_table:
1890 ::std::option::Option<unsafe extern "C" fn(result: *mut *mut ::std::os::raw::c_char)>,
1891 pub get_autocommit:
1892 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
1893 pub get_auxdata: ::std::option::Option<
1894 unsafe extern "C" fn(
1895 arg1: *mut sqlite3_context,
1896 arg2: ::std::os::raw::c_int,
1897 ) -> *mut ::std::os::raw::c_void,
1898 >,
1899 pub get_table: ::std::option::Option<
1900 unsafe extern "C" fn(
1901 arg1: *mut sqlite3,
1902 arg2: *const ::std::os::raw::c_char,
1903 arg3: *mut *mut *mut ::std::os::raw::c_char,
1904 arg4: *mut ::std::os::raw::c_int,
1905 arg5: *mut ::std::os::raw::c_int,
1906 arg6: *mut *mut ::std::os::raw::c_char,
1907 ) -> ::std::os::raw::c_int,
1908 >,
1909 pub global_recover: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
1910 pub interruptx: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3)>,
1911 pub last_insert_rowid:
1912 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite_int64>,
1913 pub libversion: ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
1914 pub libversion_number: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
1915 pub malloc: ::std::option::Option<
1916 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_void,
1917 >,
1918 pub mprintf: ::std::option::Option<
1919 unsafe extern "C" fn(
1920 arg1: *const ::std::os::raw::c_char,
1921 ...
1922 ) -> *mut ::std::os::raw::c_char,
1923 >,
1924 pub open: ::std::option::Option<
1925 unsafe extern "C" fn(
1926 arg1: *const ::std::os::raw::c_char,
1927 arg2: *mut *mut sqlite3,
1928 ) -> ::std::os::raw::c_int,
1929 >,
1930 pub open16: ::std::option::Option<
1931 unsafe extern "C" fn(
1932 arg1: *const ::std::os::raw::c_void,
1933 arg2: *mut *mut sqlite3,
1934 ) -> ::std::os::raw::c_int,
1935 >,
1936 pub prepare: ::std::option::Option<
1937 unsafe extern "C" fn(
1938 arg1: *mut sqlite3,
1939 arg2: *const ::std::os::raw::c_char,
1940 arg3: ::std::os::raw::c_int,
1941 arg4: *mut *mut sqlite3_stmt,
1942 arg5: *mut *const ::std::os::raw::c_char,
1943 ) -> ::std::os::raw::c_int,
1944 >,
1945 pub prepare16: ::std::option::Option<
1946 unsafe extern "C" fn(
1947 arg1: *mut sqlite3,
1948 arg2: *const ::std::os::raw::c_void,
1949 arg3: ::std::os::raw::c_int,
1950 arg4: *mut *mut sqlite3_stmt,
1951 arg5: *mut *const ::std::os::raw::c_void,
1952 ) -> ::std::os::raw::c_int,
1953 >,
1954 pub profile: ::std::option::Option<
1955 unsafe extern "C" fn(
1956 arg1: *mut sqlite3,
1957 arg2: ::std::option::Option<
1958 unsafe extern "C" fn(
1959 arg1: *mut ::std::os::raw::c_void,
1960 arg2: *const ::std::os::raw::c_char,
1961 arg3: sqlite_uint64,
1962 ),
1963 >,
1964 arg3: *mut ::std::os::raw::c_void,
1965 ) -> *mut ::std::os::raw::c_void,
1966 >,
1967 pub progress_handler: ::std::option::Option<
1968 unsafe extern "C" fn(
1969 arg1: *mut sqlite3,
1970 arg2: ::std::os::raw::c_int,
1971 arg3: ::std::option::Option<
1972 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1973 >,
1974 arg4: *mut ::std::os::raw::c_void,
1975 ),
1976 >,
1977 pub realloc: ::std::option::Option<
1978 unsafe extern "C" fn(
1979 arg1: *mut ::std::os::raw::c_void,
1980 arg2: ::std::os::raw::c_int,
1981 ) -> *mut ::std::os::raw::c_void,
1982 >,
1983 pub reset: ::std::option::Option<
1984 unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
1985 >,
1986 pub result_blob: ::std::option::Option<
1987 unsafe extern "C" fn(
1988 arg1: *mut sqlite3_context,
1989 arg2: *const ::std::os::raw::c_void,
1990 arg3: ::std::os::raw::c_int,
1991 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
1992 ),
1993 >,
1994 pub result_double:
1995 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: f64)>,
1996 pub result_error: ::std::option::Option<
1997 unsafe extern "C" fn(
1998 arg1: *mut sqlite3_context,
1999 arg2: *const ::std::os::raw::c_char,
2000 arg3: ::std::os::raw::c_int,
2001 ),
2002 >,
2003 pub result_error16: ::std::option::Option<
2004 unsafe extern "C" fn(
2005 arg1: *mut sqlite3_context,
2006 arg2: *const ::std::os::raw::c_void,
2007 arg3: ::std::os::raw::c_int,
2008 ),
2009 >,
2010 pub result_int: ::std::option::Option<
2011 unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int),
2012 >,
2013 pub result_int64:
2014 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: sqlite_int64)>,
2015 pub result_null: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2016 pub result_text: ::std::option::Option<
2017 unsafe extern "C" fn(
2018 arg1: *mut sqlite3_context,
2019 arg2: *const ::std::os::raw::c_char,
2020 arg3: ::std::os::raw::c_int,
2021 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2022 ),
2023 >,
2024 pub result_text16: ::std::option::Option<
2025 unsafe extern "C" fn(
2026 arg1: *mut sqlite3_context,
2027 arg2: *const ::std::os::raw::c_void,
2028 arg3: ::std::os::raw::c_int,
2029 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2030 ),
2031 >,
2032 pub result_text16be: ::std::option::Option<
2033 unsafe extern "C" fn(
2034 arg1: *mut sqlite3_context,
2035 arg2: *const ::std::os::raw::c_void,
2036 arg3: ::std::os::raw::c_int,
2037 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2038 ),
2039 >,
2040 pub result_text16le: ::std::option::Option<
2041 unsafe extern "C" fn(
2042 arg1: *mut sqlite3_context,
2043 arg2: *const ::std::os::raw::c_void,
2044 arg3: ::std::os::raw::c_int,
2045 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2046 ),
2047 >,
2048 pub result_value: ::std::option::Option<
2049 unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: *mut sqlite3_value),
2050 >,
2051 pub rollback_hook: ::std::option::Option<
2052 unsafe extern "C" fn(
2053 arg1: *mut sqlite3,
2054 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2055 arg3: *mut ::std::os::raw::c_void,
2056 ) -> *mut ::std::os::raw::c_void,
2057 >,
2058 pub set_authorizer: ::std::option::Option<
2059 unsafe extern "C" fn(
2060 arg1: *mut sqlite3,
2061 arg2: ::std::option::Option<
2062 unsafe extern "C" fn(
2063 arg1: *mut ::std::os::raw::c_void,
2064 arg2: ::std::os::raw::c_int,
2065 arg3: *const ::std::os::raw::c_char,
2066 arg4: *const ::std::os::raw::c_char,
2067 arg5: *const ::std::os::raw::c_char,
2068 arg6: *const ::std::os::raw::c_char,
2069 ) -> ::std::os::raw::c_int,
2070 >,
2071 arg3: *mut ::std::os::raw::c_void,
2072 ) -> ::std::os::raw::c_int,
2073 >,
2074 pub set_auxdata: ::std::option::Option<
2075 unsafe extern "C" fn(
2076 arg1: *mut sqlite3_context,
2077 arg2: ::std::os::raw::c_int,
2078 arg3: *mut ::std::os::raw::c_void,
2079 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2080 ),
2081 >,
2082 pub xsnprintf: ::std::option::Option<
2083 unsafe extern "C" fn(
2084 arg1: ::std::os::raw::c_int,
2085 arg2: *mut ::std::os::raw::c_char,
2086 arg3: *const ::std::os::raw::c_char,
2087 ...
2088 ) -> *mut ::std::os::raw::c_char,
2089 >,
2090 pub step: ::std::option::Option<
2091 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
2092 >,
2093 pub table_column_metadata: ::std::option::Option<
2094 unsafe extern "C" fn(
2095 arg1: *mut sqlite3,
2096 arg2: *const ::std::os::raw::c_char,
2097 arg3: *const ::std::os::raw::c_char,
2098 arg4: *const ::std::os::raw::c_char,
2099 arg5: *mut *const ::std::os::raw::c_char,
2100 arg6: *mut *const ::std::os::raw::c_char,
2101 arg7: *mut ::std::os::raw::c_int,
2102 arg8: *mut ::std::os::raw::c_int,
2103 arg9: *mut ::std::os::raw::c_int,
2104 ) -> ::std::os::raw::c_int,
2105 >,
2106 pub thread_cleanup: ::std::option::Option<unsafe extern "C" fn()>,
2107 pub total_changes:
2108 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2109 pub trace: ::std::option::Option<
2110 unsafe extern "C" fn(
2111 arg1: *mut sqlite3,
2112 xTrace: ::std::option::Option<
2113 unsafe extern "C" fn(
2114 arg1: *mut ::std::os::raw::c_void,
2115 arg2: *const ::std::os::raw::c_char,
2116 ),
2117 >,
2118 arg2: *mut ::std::os::raw::c_void,
2119 ) -> *mut ::std::os::raw::c_void,
2120 >,
2121 pub transfer_bindings: ::std::option::Option<
2122 unsafe extern "C" fn(
2123 arg1: *mut sqlite3_stmt,
2124 arg2: *mut sqlite3_stmt,
2125 ) -> ::std::os::raw::c_int,
2126 >,
2127 pub update_hook: ::std::option::Option<
2128 unsafe extern "C" fn(
2129 arg1: *mut sqlite3,
2130 arg2: ::std::option::Option<
2131 unsafe extern "C" fn(
2132 arg1: *mut ::std::os::raw::c_void,
2133 arg2: ::std::os::raw::c_int,
2134 arg3: *const ::std::os::raw::c_char,
2135 arg4: *const ::std::os::raw::c_char,
2136 arg5: sqlite_int64,
2137 ),
2138 >,
2139 arg3: *mut ::std::os::raw::c_void,
2140 ) -> *mut ::std::os::raw::c_void,
2141 >,
2142 pub user_data: ::std::option::Option<
2143 unsafe extern "C" fn(arg1: *mut sqlite3_context) -> *mut ::std::os::raw::c_void,
2144 >,
2145 pub value_blob: ::std::option::Option<
2146 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void,
2147 >,
2148 pub value_bytes: ::std::option::Option<
2149 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2150 >,
2151 pub value_bytes16: ::std::option::Option<
2152 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2153 >,
2154 pub value_double: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_value) -> f64>,
2155 pub value_int: ::std::option::Option<
2156 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2157 >,
2158 pub value_int64:
2159 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_value) -> sqlite_int64>,
2160 pub value_numeric_type: ::std::option::Option<
2161 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2162 >,
2163 pub value_text: ::std::option::Option<
2164 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_uchar,
2165 >,
2166 pub value_text16: ::std::option::Option<
2167 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void,
2168 >,
2169 pub value_text16be: ::std::option::Option<
2170 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void,
2171 >,
2172 pub value_text16le: ::std::option::Option<
2173 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> *const ::std::os::raw::c_void,
2174 >,
2175 pub value_type: ::std::option::Option<
2176 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2177 >,
2178 pub vmprintf: ::std::option::Option<
2179 unsafe extern "C" fn(
2180 arg1: *const ::std::os::raw::c_char,
2181 arg2: *mut ::std::os::raw::c_void,
2182 ) -> *mut ::std::os::raw::c_char,
2183 >,
2184 pub overload_function: ::std::option::Option<
2185 unsafe extern "C" fn(
2186 arg1: *mut sqlite3,
2187 zFuncName: *const ::std::os::raw::c_char,
2188 nArg: ::std::os::raw::c_int,
2189 ) -> ::std::os::raw::c_int,
2190 >,
2191 pub prepare_v2: ::std::option::Option<
2192 unsafe extern "C" fn(
2193 arg1: *mut sqlite3,
2194 arg2: *const ::std::os::raw::c_char,
2195 arg3: ::std::os::raw::c_int,
2196 arg4: *mut *mut sqlite3_stmt,
2197 arg5: *mut *const ::std::os::raw::c_char,
2198 ) -> ::std::os::raw::c_int,
2199 >,
2200 pub prepare16_v2: ::std::option::Option<
2201 unsafe extern "C" fn(
2202 arg1: *mut sqlite3,
2203 arg2: *const ::std::os::raw::c_void,
2204 arg3: ::std::os::raw::c_int,
2205 arg4: *mut *mut sqlite3_stmt,
2206 arg5: *mut *const ::std::os::raw::c_void,
2207 ) -> ::std::os::raw::c_int,
2208 >,
2209 pub clear_bindings: ::std::option::Option<
2210 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
2211 >,
2212 pub create_module_v2: ::std::option::Option<
2213 unsafe extern "C" fn(
2214 arg1: *mut sqlite3,
2215 arg2: *const ::std::os::raw::c_char,
2216 arg3: *const sqlite3_module,
2217 arg4: *mut ::std::os::raw::c_void,
2218 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2219 ) -> ::std::os::raw::c_int,
2220 >,
2221 pub bind_zeroblob: ::std::option::Option<
2222 unsafe extern "C" fn(
2223 arg1: *mut sqlite3_stmt,
2224 arg2: ::std::os::raw::c_int,
2225 arg3: ::std::os::raw::c_int,
2226 ) -> ::std::os::raw::c_int,
2227 >,
2228 pub blob_bytes: ::std::option::Option<
2229 unsafe extern "C" fn(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int,
2230 >,
2231 pub blob_close: ::std::option::Option<
2232 unsafe extern "C" fn(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int,
2233 >,
2234 pub blob_open: ::std::option::Option<
2235 unsafe extern "C" fn(
2236 arg1: *mut sqlite3,
2237 arg2: *const ::std::os::raw::c_char,
2238 arg3: *const ::std::os::raw::c_char,
2239 arg4: *const ::std::os::raw::c_char,
2240 arg5: sqlite3_int64,
2241 arg6: ::std::os::raw::c_int,
2242 arg7: *mut *mut sqlite3_blob,
2243 ) -> ::std::os::raw::c_int,
2244 >,
2245 pub blob_read: ::std::option::Option<
2246 unsafe extern "C" fn(
2247 arg1: *mut sqlite3_blob,
2248 arg2: *mut ::std::os::raw::c_void,
2249 arg3: ::std::os::raw::c_int,
2250 arg4: ::std::os::raw::c_int,
2251 ) -> ::std::os::raw::c_int,
2252 >,
2253 pub blob_write: ::std::option::Option<
2254 unsafe extern "C" fn(
2255 arg1: *mut sqlite3_blob,
2256 arg2: *const ::std::os::raw::c_void,
2257 arg3: ::std::os::raw::c_int,
2258 arg4: ::std::os::raw::c_int,
2259 ) -> ::std::os::raw::c_int,
2260 >,
2261 pub create_collation_v2: ::std::option::Option<
2262 unsafe extern "C" fn(
2263 arg1: *mut sqlite3,
2264 arg2: *const ::std::os::raw::c_char,
2265 arg3: ::std::os::raw::c_int,
2266 arg4: *mut ::std::os::raw::c_void,
2267 arg5: ::std::option::Option<
2268 unsafe extern "C" fn(
2269 arg1: *mut ::std::os::raw::c_void,
2270 arg2: ::std::os::raw::c_int,
2271 arg3: *const ::std::os::raw::c_void,
2272 arg4: ::std::os::raw::c_int,
2273 arg5: *const ::std::os::raw::c_void,
2274 ) -> ::std::os::raw::c_int,
2275 >,
2276 arg6: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2277 ) -> ::std::os::raw::c_int,
2278 >,
2279 pub file_control: ::std::option::Option<
2280 unsafe extern "C" fn(
2281 arg1: *mut sqlite3,
2282 arg2: *const ::std::os::raw::c_char,
2283 arg3: ::std::os::raw::c_int,
2284 arg4: *mut ::std::os::raw::c_void,
2285 ) -> ::std::os::raw::c_int,
2286 >,
2287 pub memory_highwater:
2288 ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> sqlite3_int64>,
2289 pub memory_used: ::std::option::Option<unsafe extern "C" fn() -> sqlite3_int64>,
2290 pub mutex_alloc: ::std::option::Option<
2291 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex,
2292 >,
2293 pub mutex_enter: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
2294 pub mutex_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
2295 pub mutex_leave: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_mutex)>,
2296 pub mutex_try: ::std::option::Option<
2297 unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int,
2298 >,
2299 pub open_v2: ::std::option::Option<
2300 unsafe extern "C" fn(
2301 arg1: *const ::std::os::raw::c_char,
2302 arg2: *mut *mut sqlite3,
2303 arg3: ::std::os::raw::c_int,
2304 arg4: *const ::std::os::raw::c_char,
2305 ) -> ::std::os::raw::c_int,
2306 >,
2307 pub release_memory: ::std::option::Option<
2308 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
2309 >,
2310 pub result_error_nomem: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2311 pub result_error_toobig:
2312 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2313 pub sleep: ::std::option::Option<
2314 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
2315 >,
2316 pub soft_heap_limit: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
2317 pub vfs_find: ::std::option::Option<
2318 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs,
2319 >,
2320 pub vfs_register: ::std::option::Option<
2321 unsafe extern "C" fn(
2322 arg1: *mut sqlite3_vfs,
2323 arg2: ::std::os::raw::c_int,
2324 ) -> ::std::os::raw::c_int,
2325 >,
2326 pub vfs_unregister: ::std::option::Option<
2327 unsafe extern "C" fn(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int,
2328 >,
2329 pub xthreadsafe: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
2330 pub result_zeroblob: ::std::option::Option<
2331 unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int),
2332 >,
2333 pub result_error_code: ::std::option::Option<
2334 unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_int),
2335 >,
2336 pub test_control: ::std::option::Option<
2337 unsafe extern "C" fn(arg1: ::std::os::raw::c_int, ...) -> ::std::os::raw::c_int,
2338 >,
2339 pub randomness: ::std::option::Option<
2340 unsafe extern "C" fn(arg1: ::std::os::raw::c_int, arg2: *mut ::std::os::raw::c_void),
2341 >,
2342 pub context_db_handle:
2343 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context) -> *mut sqlite3>,
2344 pub extended_result_codes: ::std::option::Option<
2345 unsafe extern "C" fn(
2346 arg1: *mut sqlite3,
2347 arg2: ::std::os::raw::c_int,
2348 ) -> ::std::os::raw::c_int,
2349 >,
2350 pub limit: ::std::option::Option<
2351 unsafe extern "C" fn(
2352 arg1: *mut sqlite3,
2353 arg2: ::std::os::raw::c_int,
2354 arg3: ::std::os::raw::c_int,
2355 ) -> ::std::os::raw::c_int,
2356 >,
2357 pub next_stmt: ::std::option::Option<
2358 unsafe extern "C" fn(arg1: *mut sqlite3, arg2: *mut sqlite3_stmt) -> *mut sqlite3_stmt,
2359 >,
2360 pub sql: ::std::option::Option<
2361 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char,
2362 >,
2363 pub status: ::std::option::Option<
2364 unsafe extern "C" fn(
2365 arg1: ::std::os::raw::c_int,
2366 arg2: *mut ::std::os::raw::c_int,
2367 arg3: *mut ::std::os::raw::c_int,
2368 arg4: ::std::os::raw::c_int,
2369 ) -> ::std::os::raw::c_int,
2370 >,
2371 pub backup_finish: ::std::option::Option<
2372 unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int,
2373 >,
2374 pub backup_init: ::std::option::Option<
2375 unsafe extern "C" fn(
2376 arg1: *mut sqlite3,
2377 arg2: *const ::std::os::raw::c_char,
2378 arg3: *mut sqlite3,
2379 arg4: *const ::std::os::raw::c_char,
2380 ) -> *mut sqlite3_backup,
2381 >,
2382 pub backup_pagecount: ::std::option::Option<
2383 unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int,
2384 >,
2385 pub backup_remaining: ::std::option::Option<
2386 unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int,
2387 >,
2388 pub backup_step: ::std::option::Option<
2389 unsafe extern "C" fn(
2390 arg1: *mut sqlite3_backup,
2391 arg2: ::std::os::raw::c_int,
2392 ) -> ::std::os::raw::c_int,
2393 >,
2394 pub compileoption_get: ::std::option::Option<
2395 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char,
2396 >,
2397 pub compileoption_used: ::std::option::Option<
2398 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
2399 >,
2400 pub create_function_v2: ::std::option::Option<
2401 unsafe extern "C" fn(
2402 arg1: *mut sqlite3,
2403 arg2: *const ::std::os::raw::c_char,
2404 arg3: ::std::os::raw::c_int,
2405 arg4: ::std::os::raw::c_int,
2406 arg5: *mut ::std::os::raw::c_void,
2407 xFunc: ::std::option::Option<
2408 unsafe extern "C" fn(
2409 arg1: *mut sqlite3_context,
2410 arg2: ::std::os::raw::c_int,
2411 arg3: *mut *mut sqlite3_value,
2412 ),
2413 >,
2414 xStep: ::std::option::Option<
2415 unsafe extern "C" fn(
2416 arg1: *mut sqlite3_context,
2417 arg2: ::std::os::raw::c_int,
2418 arg3: *mut *mut sqlite3_value,
2419 ),
2420 >,
2421 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2422 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2423 ) -> ::std::os::raw::c_int,
2424 >,
2425 pub db_config: ::std::option::Option<
2426 unsafe extern "C" fn(
2427 arg1: *mut sqlite3,
2428 arg2: ::std::os::raw::c_int,
2429 ...
2430 ) -> ::std::os::raw::c_int,
2431 >,
2432 pub db_mutex:
2433 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> *mut sqlite3_mutex>,
2434 pub db_status: ::std::option::Option<
2435 unsafe extern "C" fn(
2436 arg1: *mut sqlite3,
2437 arg2: ::std::os::raw::c_int,
2438 arg3: *mut ::std::os::raw::c_int,
2439 arg4: *mut ::std::os::raw::c_int,
2440 arg5: ::std::os::raw::c_int,
2441 ) -> ::std::os::raw::c_int,
2442 >,
2443 pub extended_errcode:
2444 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2445 pub log: ::std::option::Option<
2446 unsafe extern "C" fn(arg1: ::std::os::raw::c_int, arg2: *const ::std::os::raw::c_char, ...),
2447 >,
2448 pub soft_heap_limit64:
2449 ::std::option::Option<unsafe extern "C" fn(arg1: sqlite3_int64) -> sqlite3_int64>,
2450 pub sourceid: ::std::option::Option<unsafe extern "C" fn() -> *const ::std::os::raw::c_char>,
2451 pub stmt_status: ::std::option::Option<
2452 unsafe extern "C" fn(
2453 arg1: *mut sqlite3_stmt,
2454 arg2: ::std::os::raw::c_int,
2455 arg3: ::std::os::raw::c_int,
2456 ) -> ::std::os::raw::c_int,
2457 >,
2458 pub strnicmp: ::std::option::Option<
2459 unsafe extern "C" fn(
2460 arg1: *const ::std::os::raw::c_char,
2461 arg2: *const ::std::os::raw::c_char,
2462 arg3: ::std::os::raw::c_int,
2463 ) -> ::std::os::raw::c_int,
2464 >,
2465 pub unlock_notify: ::std::option::Option<
2466 unsafe extern "C" fn(
2467 arg1: *mut sqlite3,
2468 arg2: ::std::option::Option<
2469 unsafe extern "C" fn(
2470 arg1: *mut *mut ::std::os::raw::c_void,
2471 arg2: ::std::os::raw::c_int,
2472 ),
2473 >,
2474 arg3: *mut ::std::os::raw::c_void,
2475 ) -> ::std::os::raw::c_int,
2476 >,
2477 pub wal_autocheckpoint: ::std::option::Option<
2478 unsafe extern "C" fn(
2479 arg1: *mut sqlite3,
2480 arg2: ::std::os::raw::c_int,
2481 ) -> ::std::os::raw::c_int,
2482 >,
2483 pub wal_checkpoint: ::std::option::Option<
2484 unsafe extern "C" fn(
2485 arg1: *mut sqlite3,
2486 arg2: *const ::std::os::raw::c_char,
2487 ) -> ::std::os::raw::c_int,
2488 >,
2489 pub wal_hook: ::std::option::Option<
2490 unsafe extern "C" fn(
2491 arg1: *mut sqlite3,
2492 arg2: ::std::option::Option<
2493 unsafe extern "C" fn(
2494 arg1: *mut ::std::os::raw::c_void,
2495 arg2: *mut sqlite3,
2496 arg3: *const ::std::os::raw::c_char,
2497 arg4: ::std::os::raw::c_int,
2498 ) -> ::std::os::raw::c_int,
2499 >,
2500 arg3: *mut ::std::os::raw::c_void,
2501 ) -> *mut ::std::os::raw::c_void,
2502 >,
2503 pub blob_reopen: ::std::option::Option<
2504 unsafe extern "C" fn(arg1: *mut sqlite3_blob, arg2: sqlite3_int64) -> ::std::os::raw::c_int,
2505 >,
2506 pub vtab_config: ::std::option::Option<
2507 unsafe extern "C" fn(
2508 arg1: *mut sqlite3,
2509 op: ::std::os::raw::c_int,
2510 ...
2511 ) -> ::std::os::raw::c_int,
2512 >,
2513 pub vtab_on_conflict:
2514 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2515 pub close_v2:
2516 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2517 pub db_filename: ::std::option::Option<
2518 unsafe extern "C" fn(
2519 arg1: *mut sqlite3,
2520 arg2: *const ::std::os::raw::c_char,
2521 ) -> *const ::std::os::raw::c_char,
2522 >,
2523 pub db_readonly: ::std::option::Option<
2524 unsafe extern "C" fn(
2525 arg1: *mut sqlite3,
2526 arg2: *const ::std::os::raw::c_char,
2527 ) -> ::std::os::raw::c_int,
2528 >,
2529 pub db_release_memory:
2530 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2531 pub errstr: ::std::option::Option<
2532 unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *const ::std::os::raw::c_char,
2533 >,
2534 pub stmt_busy: ::std::option::Option<
2535 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
2536 >,
2537 pub stmt_readonly: ::std::option::Option<
2538 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
2539 >,
2540 pub stricmp: ::std::option::Option<
2541 unsafe extern "C" fn(
2542 arg1: *const ::std::os::raw::c_char,
2543 arg2: *const ::std::os::raw::c_char,
2544 ) -> ::std::os::raw::c_int,
2545 >,
2546 pub uri_boolean: ::std::option::Option<
2547 unsafe extern "C" fn(
2548 arg1: *const ::std::os::raw::c_char,
2549 arg2: *const ::std::os::raw::c_char,
2550 arg3: ::std::os::raw::c_int,
2551 ) -> ::std::os::raw::c_int,
2552 >,
2553 pub uri_int64: ::std::option::Option<
2554 unsafe extern "C" fn(
2555 arg1: *const ::std::os::raw::c_char,
2556 arg2: *const ::std::os::raw::c_char,
2557 arg3: sqlite3_int64,
2558 ) -> sqlite3_int64,
2559 >,
2560 pub uri_parameter: ::std::option::Option<
2561 unsafe extern "C" fn(
2562 arg1: *const ::std::os::raw::c_char,
2563 arg2: *const ::std::os::raw::c_char,
2564 ) -> *const ::std::os::raw::c_char,
2565 >,
2566 pub xvsnprintf: ::std::option::Option<
2567 unsafe extern "C" fn(
2568 arg1: ::std::os::raw::c_int,
2569 arg2: *mut ::std::os::raw::c_char,
2570 arg3: *const ::std::os::raw::c_char,
2571 arg4: *mut ::std::os::raw::c_void,
2572 ) -> *mut ::std::os::raw::c_char,
2573 >,
2574 pub wal_checkpoint_v2: ::std::option::Option<
2575 unsafe extern "C" fn(
2576 arg1: *mut sqlite3,
2577 arg2: *const ::std::os::raw::c_char,
2578 arg3: ::std::os::raw::c_int,
2579 arg4: *mut ::std::os::raw::c_int,
2580 arg5: *mut ::std::os::raw::c_int,
2581 ) -> ::std::os::raw::c_int,
2582 >,
2583 pub auto_extension: ::std::option::Option<
2584 unsafe extern "C" fn(
2585 arg1: ::std::option::Option<unsafe extern "C" fn()>,
2586 ) -> ::std::os::raw::c_int,
2587 >,
2588 pub bind_blob64: ::std::option::Option<
2589 unsafe extern "C" fn(
2590 arg1: *mut sqlite3_stmt,
2591 arg2: ::std::os::raw::c_int,
2592 arg3: *const ::std::os::raw::c_void,
2593 arg4: sqlite3_uint64,
2594 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2595 ) -> ::std::os::raw::c_int,
2596 >,
2597 pub bind_text64: ::std::option::Option<
2598 unsafe extern "C" fn(
2599 arg1: *mut sqlite3_stmt,
2600 arg2: ::std::os::raw::c_int,
2601 arg3: *const ::std::os::raw::c_char,
2602 arg4: sqlite3_uint64,
2603 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2604 arg6: ::std::os::raw::c_uchar,
2605 ) -> ::std::os::raw::c_int,
2606 >,
2607 pub cancel_auto_extension: ::std::option::Option<
2608 unsafe extern "C" fn(
2609 arg1: ::std::option::Option<unsafe extern "C" fn()>,
2610 ) -> ::std::os::raw::c_int,
2611 >,
2612 pub load_extension: ::std::option::Option<
2613 unsafe extern "C" fn(
2614 arg1: *mut sqlite3,
2615 arg2: *const ::std::os::raw::c_char,
2616 arg3: *const ::std::os::raw::c_char,
2617 arg4: *mut *mut ::std::os::raw::c_char,
2618 ) -> ::std::os::raw::c_int,
2619 >,
2620 pub malloc64: ::std::option::Option<
2621 unsafe extern "C" fn(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void,
2622 >,
2623 pub msize: ::std::option::Option<
2624 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64,
2625 >,
2626 pub realloc64: ::std::option::Option<
2627 unsafe extern "C" fn(
2628 arg1: *mut ::std::os::raw::c_void,
2629 arg2: sqlite3_uint64,
2630 ) -> *mut ::std::os::raw::c_void,
2631 >,
2632 pub reset_auto_extension: ::std::option::Option<unsafe extern "C" fn()>,
2633 pub result_blob64: ::std::option::Option<
2634 unsafe extern "C" fn(
2635 arg1: *mut sqlite3_context,
2636 arg2: *const ::std::os::raw::c_void,
2637 arg3: sqlite3_uint64,
2638 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2639 ),
2640 >,
2641 pub result_text64: ::std::option::Option<
2642 unsafe extern "C" fn(
2643 arg1: *mut sqlite3_context,
2644 arg2: *const ::std::os::raw::c_char,
2645 arg3: sqlite3_uint64,
2646 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2647 arg5: ::std::os::raw::c_uchar,
2648 ),
2649 >,
2650 pub strglob: ::std::option::Option<
2651 unsafe extern "C" fn(
2652 arg1: *const ::std::os::raw::c_char,
2653 arg2: *const ::std::os::raw::c_char,
2654 ) -> ::std::os::raw::c_int,
2655 >,
2656 pub value_dup: ::std::option::Option<
2657 unsafe extern "C" fn(arg1: *const sqlite3_value) -> *mut sqlite3_value,
2658 >,
2659 pub value_free: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_value)>,
2660 pub result_zeroblob64: ::std::option::Option<
2661 unsafe extern "C" fn(
2662 arg1: *mut sqlite3_context,
2663 arg2: sqlite3_uint64,
2664 ) -> ::std::os::raw::c_int,
2665 >,
2666 pub bind_zeroblob64: ::std::option::Option<
2667 unsafe extern "C" fn(
2668 arg1: *mut sqlite3_stmt,
2669 arg2: ::std::os::raw::c_int,
2670 arg3: sqlite3_uint64,
2671 ) -> ::std::os::raw::c_int,
2672 >,
2673 pub value_subtype: ::std::option::Option<
2674 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint,
2675 >,
2676 pub result_subtype: ::std::option::Option<
2677 unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: ::std::os::raw::c_uint),
2678 >,
2679 pub status64: ::std::option::Option<
2680 unsafe extern "C" fn(
2681 arg1: ::std::os::raw::c_int,
2682 arg2: *mut sqlite3_int64,
2683 arg3: *mut sqlite3_int64,
2684 arg4: ::std::os::raw::c_int,
2685 ) -> ::std::os::raw::c_int,
2686 >,
2687 pub strlike: ::std::option::Option<
2688 unsafe extern "C" fn(
2689 arg1: *const ::std::os::raw::c_char,
2690 arg2: *const ::std::os::raw::c_char,
2691 arg3: ::std::os::raw::c_uint,
2692 ) -> ::std::os::raw::c_int,
2693 >,
2694 pub db_cacheflush:
2695 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2696 pub system_errno:
2697 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2698 pub trace_v2: ::std::option::Option<
2699 unsafe extern "C" fn(
2700 arg1: *mut sqlite3,
2701 arg2: ::std::os::raw::c_uint,
2702 arg3: ::std::option::Option<
2703 unsafe extern "C" fn(
2704 arg1: ::std::os::raw::c_uint,
2705 arg2: *mut ::std::os::raw::c_void,
2706 arg3: *mut ::std::os::raw::c_void,
2707 arg4: *mut ::std::os::raw::c_void,
2708 ) -> ::std::os::raw::c_int,
2709 >,
2710 arg4: *mut ::std::os::raw::c_void,
2711 ) -> ::std::os::raw::c_int,
2712 >,
2713 pub expanded_sql: ::std::option::Option<
2714 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> *mut ::std::os::raw::c_char,
2715 >,
2716 pub set_last_insert_rowid:
2717 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3, arg2: sqlite3_int64)>,
2718 pub prepare_v3: ::std::option::Option<
2719 unsafe extern "C" fn(
2720 arg1: *mut sqlite3,
2721 arg2: *const ::std::os::raw::c_char,
2722 arg3: ::std::os::raw::c_int,
2723 arg4: ::std::os::raw::c_uint,
2724 arg5: *mut *mut sqlite3_stmt,
2725 arg6: *mut *const ::std::os::raw::c_char,
2726 ) -> ::std::os::raw::c_int,
2727 >,
2728 pub prepare16_v3: ::std::option::Option<
2729 unsafe extern "C" fn(
2730 arg1: *mut sqlite3,
2731 arg2: *const ::std::os::raw::c_void,
2732 arg3: ::std::os::raw::c_int,
2733 arg4: ::std::os::raw::c_uint,
2734 arg5: *mut *mut sqlite3_stmt,
2735 arg6: *mut *const ::std::os::raw::c_void,
2736 ) -> ::std::os::raw::c_int,
2737 >,
2738 pub bind_pointer: ::std::option::Option<
2739 unsafe extern "C" fn(
2740 arg1: *mut sqlite3_stmt,
2741 arg2: ::std::os::raw::c_int,
2742 arg3: *mut ::std::os::raw::c_void,
2743 arg4: *const ::std::os::raw::c_char,
2744 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2745 ) -> ::std::os::raw::c_int,
2746 >,
2747 pub result_pointer: ::std::option::Option<
2748 unsafe extern "C" fn(
2749 arg1: *mut sqlite3_context,
2750 arg2: *mut ::std::os::raw::c_void,
2751 arg3: *const ::std::os::raw::c_char,
2752 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2753 ),
2754 >,
2755 pub value_pointer: ::std::option::Option<
2756 unsafe extern "C" fn(
2757 arg1: *mut sqlite3_value,
2758 arg2: *const ::std::os::raw::c_char,
2759 ) -> *mut ::std::os::raw::c_void,
2760 >,
2761 pub vtab_nochange: ::std::option::Option<
2762 unsafe extern "C" fn(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int,
2763 >,
2764 pub value_nochange: ::std::option::Option<
2765 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2766 >,
2767 pub vtab_collation: ::std::option::Option<
2768 unsafe extern "C" fn(
2769 arg1: *mut sqlite3_index_info,
2770 arg2: ::std::os::raw::c_int,
2771 ) -> *const ::std::os::raw::c_char,
2772 >,
2773 pub keyword_count: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
2774 pub keyword_name: ::std::option::Option<
2775 unsafe extern "C" fn(
2776 arg1: ::std::os::raw::c_int,
2777 arg2: *mut *const ::std::os::raw::c_char,
2778 arg3: *mut ::std::os::raw::c_int,
2779 ) -> ::std::os::raw::c_int,
2780 >,
2781 pub keyword_check: ::std::option::Option<
2782 unsafe extern "C" fn(
2783 arg1: *const ::std::os::raw::c_char,
2784 arg2: ::std::os::raw::c_int,
2785 ) -> ::std::os::raw::c_int,
2786 >,
2787 pub str_new:
2788 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> *mut sqlite3_str>,
2789 pub str_finish: ::std::option::Option<
2790 unsafe extern "C" fn(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char,
2791 >,
2792 pub str_appendf: ::std::option::Option<
2793 unsafe extern "C" fn(arg1: *mut sqlite3_str, zFormat: *const ::std::os::raw::c_char, ...),
2794 >,
2795 pub str_vappendf: ::std::option::Option<
2796 unsafe extern "C" fn(
2797 arg1: *mut sqlite3_str,
2798 zFormat: *const ::std::os::raw::c_char,
2799 arg2: *mut ::std::os::raw::c_void,
2800 ),
2801 >,
2802 pub str_append: ::std::option::Option<
2803 unsafe extern "C" fn(
2804 arg1: *mut sqlite3_str,
2805 zIn: *const ::std::os::raw::c_char,
2806 N: ::std::os::raw::c_int,
2807 ),
2808 >,
2809 pub str_appendall: ::std::option::Option<
2810 unsafe extern "C" fn(arg1: *mut sqlite3_str, zIn: *const ::std::os::raw::c_char),
2811 >,
2812 pub str_appendchar: ::std::option::Option<
2813 unsafe extern "C" fn(
2814 arg1: *mut sqlite3_str,
2815 N: ::std::os::raw::c_int,
2816 C: ::std::os::raw::c_char,
2817 ),
2818 >,
2819 pub str_reset: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_str)>,
2820 pub str_errcode: ::std::option::Option<
2821 unsafe extern "C" fn(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int,
2822 >,
2823 pub str_length: ::std::option::Option<
2824 unsafe extern "C" fn(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int,
2825 >,
2826 pub str_value: ::std::option::Option<
2827 unsafe extern "C" fn(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char,
2828 >,
2829 pub create_window_function: ::std::option::Option<
2830 unsafe extern "C" fn(
2831 arg1: *mut sqlite3,
2832 arg2: *const ::std::os::raw::c_char,
2833 arg3: ::std::os::raw::c_int,
2834 arg4: ::std::os::raw::c_int,
2835 arg5: *mut ::std::os::raw::c_void,
2836 xStep: ::std::option::Option<
2837 unsafe extern "C" fn(
2838 arg1: *mut sqlite3_context,
2839 arg2: ::std::os::raw::c_int,
2840 arg3: *mut *mut sqlite3_value,
2841 ),
2842 >,
2843 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2844 xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
2845 xInv: ::std::option::Option<
2846 unsafe extern "C" fn(
2847 arg1: *mut sqlite3_context,
2848 arg2: ::std::os::raw::c_int,
2849 arg3: *mut *mut sqlite3_value,
2850 ),
2851 >,
2852 xDestroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2853 ) -> ::std::os::raw::c_int,
2854 >,
2855 pub normalized_sql: ::std::option::Option<
2856 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char,
2857 >,
2858 pub stmt_isexplain: ::std::option::Option<
2859 unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int,
2860 >,
2861 pub value_frombind: ::std::option::Option<
2862 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2863 >,
2864 pub drop_modules: ::std::option::Option<
2865 unsafe extern "C" fn(
2866 arg1: *mut sqlite3,
2867 arg2: *mut *const ::std::os::raw::c_char,
2868 ) -> ::std::os::raw::c_int,
2869 >,
2870 pub hard_heap_limit64:
2871 ::std::option::Option<unsafe extern "C" fn(arg1: sqlite3_int64) -> sqlite3_int64>,
2872 pub uri_key: ::std::option::Option<
2873 unsafe extern "C" fn(
2874 arg1: *const ::std::os::raw::c_char,
2875 arg2: ::std::os::raw::c_int,
2876 ) -> *const ::std::os::raw::c_char,
2877 >,
2878 pub filename_database: ::std::option::Option<
2879 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char,
2880 >,
2881 pub filename_journal: ::std::option::Option<
2882 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char,
2883 >,
2884 pub filename_wal: ::std::option::Option<
2885 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *const ::std::os::raw::c_char,
2886 >,
2887 pub create_filename: ::std::option::Option<
2888 unsafe extern "C" fn(
2889 arg1: *const ::std::os::raw::c_char,
2890 arg2: *const ::std::os::raw::c_char,
2891 arg3: *const ::std::os::raw::c_char,
2892 arg4: ::std::os::raw::c_int,
2893 arg5: *mut *const ::std::os::raw::c_char,
2894 ) -> *const ::std::os::raw::c_char,
2895 >,
2896 pub free_filename:
2897 ::std::option::Option<unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char)>,
2898 pub database_file_object: ::std::option::Option<
2899 unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_file,
2900 >,
2901 pub txn_state: ::std::option::Option<
2902 unsafe extern "C" fn(
2903 arg1: *mut sqlite3,
2904 arg2: *const ::std::os::raw::c_char,
2905 ) -> ::std::os::raw::c_int,
2906 >,
2907 pub changes64: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite3_int64>,
2908 pub total_changes64:
2909 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite3_int64>,
2910 pub autovacuum_pages: ::std::option::Option<
2911 unsafe extern "C" fn(
2912 arg1: *mut sqlite3,
2913 arg2: ::std::option::Option<
2914 unsafe extern "C" fn(
2915 arg1: *mut ::std::os::raw::c_void,
2916 arg2: *const ::std::os::raw::c_char,
2917 arg3: ::std::os::raw::c_uint,
2918 arg4: ::std::os::raw::c_uint,
2919 arg5: ::std::os::raw::c_uint,
2920 ) -> ::std::os::raw::c_uint,
2921 >,
2922 arg3: *mut ::std::os::raw::c_void,
2923 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
2924 ) -> ::std::os::raw::c_int,
2925 >,
2926 pub error_offset:
2927 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2928 pub vtab_rhs_value: ::std::option::Option<
2929 unsafe extern "C" fn(
2930 arg1: *mut sqlite3_index_info,
2931 arg2: ::std::os::raw::c_int,
2932 arg3: *mut *mut sqlite3_value,
2933 ) -> ::std::os::raw::c_int,
2934 >,
2935 pub vtab_distinct: ::std::option::Option<
2936 unsafe extern "C" fn(arg1: *mut sqlite3_index_info) -> ::std::os::raw::c_int,
2937 >,
2938 pub vtab_in: ::std::option::Option<
2939 unsafe extern "C" fn(
2940 arg1: *mut sqlite3_index_info,
2941 arg2: ::std::os::raw::c_int,
2942 arg3: ::std::os::raw::c_int,
2943 ) -> ::std::os::raw::c_int,
2944 >,
2945 pub vtab_in_first: ::std::option::Option<
2946 unsafe extern "C" fn(
2947 arg1: *mut sqlite3_value,
2948 arg2: *mut *mut sqlite3_value,
2949 ) -> ::std::os::raw::c_int,
2950 >,
2951 pub vtab_in_next: ::std::option::Option<
2952 unsafe extern "C" fn(
2953 arg1: *mut sqlite3_value,
2954 arg2: *mut *mut sqlite3_value,
2955 ) -> ::std::os::raw::c_int,
2956 >,
2957 pub deserialize: ::std::option::Option<
2958 unsafe extern "C" fn(
2959 arg1: *mut sqlite3,
2960 arg2: *const ::std::os::raw::c_char,
2961 arg3: *mut ::std::os::raw::c_uchar,
2962 arg4: sqlite3_int64,
2963 arg5: sqlite3_int64,
2964 arg6: ::std::os::raw::c_uint,
2965 ) -> ::std::os::raw::c_int,
2966 >,
2967 pub serialize: ::std::option::Option<
2968 unsafe extern "C" fn(
2969 arg1: *mut sqlite3,
2970 arg2: *const ::std::os::raw::c_char,
2971 arg3: *mut sqlite3_int64,
2972 arg4: ::std::os::raw::c_uint,
2973 ) -> *mut ::std::os::raw::c_uchar,
2974 >,
2975 pub db_name: ::std::option::Option<
2976 unsafe extern "C" fn(
2977 arg1: *mut sqlite3,
2978 arg2: ::std::os::raw::c_int,
2979 ) -> *const ::std::os::raw::c_char,
2980 >,
2981 pub value_encoding: ::std::option::Option<
2982 unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int,
2983 >,
2984 pub is_interrupted:
2985 ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int>,
2986 pub stmt_explain: ::std::option::Option<
2987 unsafe extern "C" fn(
2988 arg1: *mut sqlite3_stmt,
2989 arg2: ::std::os::raw::c_int,
2990 ) -> ::std::os::raw::c_int,
2991 >,
2992 pub get_clientdata: ::std::option::Option<
2993 unsafe extern "C" fn(
2994 arg1: *mut sqlite3,
2995 arg2: *const ::std::os::raw::c_char,
2996 ) -> *mut ::std::os::raw::c_void,
2997 >,
2998 pub set_clientdata: ::std::option::Option<
2999 unsafe extern "C" fn(
3000 arg1: *mut sqlite3,
3001 arg2: *const ::std::os::raw::c_char,
3002 arg3: *mut ::std::os::raw::c_void,
3003 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3004 ) -> ::std::os::raw::c_int,
3005 >,
3006 }
3007 pub type sqlite3_loadext_entry = ::std::option::Option<
3008 unsafe extern "C" fn(
3009 db: *mut sqlite3,
3010 pzErrMsg: *mut *mut ::std::os::raw::c_char,
3011 pThunk: *const sqlite3_api_routines,
3012 ) -> ::std::os::raw::c_int,
3013 >;
3014 static __SQLITE3_AGGREGATE_CONTEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3015 ::std::ptr::null_mut(),
3016 );
3017 pub unsafe fn sqlite3_aggregate_context(
3018 arg1: *mut sqlite3_context,
3019 nBytes: ::std::os::raw::c_int,
3020 ) -> *mut ::std::os::raw::c_void {
3021 let ptr = __SQLITE3_AGGREGATE_CONTEXT.load(::std::sync::atomic::Ordering::Acquire);
3022 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3023 let fun: unsafe extern "C" fn(
3024 arg1: *mut sqlite3_context,
3025 nBytes: ::std::os::raw::c_int,
3026 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3027 (fun)(arg1, nBytes)
3028 }
3029
3030 static __SQLITE3_BIND_BLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3031 ::std::ptr::null_mut(),
3032 );
3033 pub unsafe fn sqlite3_bind_blob(
3034 arg1: *mut sqlite3_stmt,
3035 arg2: ::std::os::raw::c_int,
3036 arg3: *const ::std::os::raw::c_void,
3037 n: ::std::os::raw::c_int,
3038 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3039 ) -> ::std::os::raw::c_int {
3040 let ptr = __SQLITE3_BIND_BLOB.load(::std::sync::atomic::Ordering::Acquire);
3041 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3042 let fun: unsafe extern "C" fn(
3043 arg1: *mut sqlite3_stmt,
3044 arg2: ::std::os::raw::c_int,
3045 arg3: *const ::std::os::raw::c_void,
3046 n: ::std::os::raw::c_int,
3047 arg4: ::std::option::Option<
3048 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
3049 >,
3050 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3051 (fun)(arg1, arg2, arg3, n, arg4)
3052 }
3053
3054 static __SQLITE3_BIND_DOUBLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3055 ::std::ptr::null_mut(),
3056 );
3057 pub unsafe fn sqlite3_bind_double(
3058 arg1: *mut sqlite3_stmt,
3059 arg2: ::std::os::raw::c_int,
3060 arg3: f64,
3061 ) -> ::std::os::raw::c_int {
3062 let ptr = __SQLITE3_BIND_DOUBLE.load(::std::sync::atomic::Ordering::Acquire);
3063 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3064 let fun: unsafe extern "C" fn(
3065 arg1: *mut sqlite3_stmt,
3066 arg2: ::std::os::raw::c_int,
3067 arg3: f64,
3068 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3069 (fun)(arg1, arg2, arg3)
3070 }
3071
3072 static __SQLITE3_BIND_INT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3073 ::std::ptr::null_mut(),
3074 );
3075 pub unsafe fn sqlite3_bind_int(
3076 arg1: *mut sqlite3_stmt,
3077 arg2: ::std::os::raw::c_int,
3078 arg3: ::std::os::raw::c_int,
3079 ) -> ::std::os::raw::c_int {
3080 let ptr = __SQLITE3_BIND_INT.load(::std::sync::atomic::Ordering::Acquire);
3081 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3082 let fun: unsafe extern "C" fn(
3083 arg1: *mut sqlite3_stmt,
3084 arg2: ::std::os::raw::c_int,
3085 arg3: ::std::os::raw::c_int,
3086 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3087 (fun)(arg1, arg2, arg3)
3088 }
3089
3090 static __SQLITE3_BIND_INT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3091 ::std::ptr::null_mut(),
3092 );
3093 pub unsafe fn sqlite3_bind_int64(
3094 arg1: *mut sqlite3_stmt,
3095 arg2: ::std::os::raw::c_int,
3096 arg3: sqlite_int64,
3097 ) -> ::std::os::raw::c_int {
3098 let ptr = __SQLITE3_BIND_INT64.load(::std::sync::atomic::Ordering::Acquire);
3099 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3100 let fun: unsafe extern "C" fn(
3101 arg1: *mut sqlite3_stmt,
3102 arg2: ::std::os::raw::c_int,
3103 arg3: sqlite_int64,
3104 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3105 (fun)(arg1, arg2, arg3)
3106 }
3107
3108 static __SQLITE3_BIND_NULL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3109 ::std::ptr::null_mut(),
3110 );
3111 pub unsafe fn sqlite3_bind_null(
3112 arg1: *mut sqlite3_stmt,
3113 arg2: ::std::os::raw::c_int,
3114 ) -> ::std::os::raw::c_int {
3115 let ptr = __SQLITE3_BIND_NULL.load(::std::sync::atomic::Ordering::Acquire);
3116 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3117 let fun: unsafe extern "C" fn(
3118 arg1: *mut sqlite3_stmt,
3119 arg2: ::std::os::raw::c_int,
3120 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3121 (fun)(arg1, arg2)
3122 }
3123
3124 static __SQLITE3_BIND_PARAMETER_COUNT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3125 ::std::ptr::null_mut(),
3126 );
3127 pub unsafe fn sqlite3_bind_parameter_count(
3128 arg1: *mut sqlite3_stmt,
3129 ) -> ::std::os::raw::c_int {
3130 let ptr = __SQLITE3_BIND_PARAMETER_COUNT
3131 .load(::std::sync::atomic::Ordering::Acquire);
3132 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3133 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
3134 ptr,
3135 );
3136 (fun)(arg1)
3137 }
3138
3139 static __SQLITE3_BIND_PARAMETER_INDEX: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3140 ::std::ptr::null_mut(),
3141 );
3142 pub unsafe fn sqlite3_bind_parameter_index(
3143 arg1: *mut sqlite3_stmt,
3144 zName: *const ::std::os::raw::c_char,
3145 ) -> ::std::os::raw::c_int {
3146 let ptr = __SQLITE3_BIND_PARAMETER_INDEX
3147 .load(::std::sync::atomic::Ordering::Acquire);
3148 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3149 let fun: unsafe extern "C" fn(
3150 arg1: *mut sqlite3_stmt,
3151 zName: *const ::std::os::raw::c_char,
3152 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3153 (fun)(arg1, zName)
3154 }
3155
3156 static __SQLITE3_BIND_PARAMETER_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3157 ::std::ptr::null_mut(),
3158 );
3159 pub unsafe fn sqlite3_bind_parameter_name(
3160 arg1: *mut sqlite3_stmt,
3161 arg2: ::std::os::raw::c_int,
3162 ) -> *const ::std::os::raw::c_char {
3163 let ptr = __SQLITE3_BIND_PARAMETER_NAME.load(::std::sync::atomic::Ordering::Acquire);
3164 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3165 let fun: unsafe extern "C" fn(
3166 arg1: *mut sqlite3_stmt,
3167 arg2: ::std::os::raw::c_int,
3168 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3169 (fun)(arg1, arg2)
3170 }
3171
3172 static __SQLITE3_BIND_TEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3173 ::std::ptr::null_mut(),
3174 );
3175 pub unsafe fn sqlite3_bind_text(
3176 arg1: *mut sqlite3_stmt,
3177 arg2: ::std::os::raw::c_int,
3178 arg3: *const ::std::os::raw::c_char,
3179 n: ::std::os::raw::c_int,
3180 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3181 ) -> ::std::os::raw::c_int {
3182 let ptr = __SQLITE3_BIND_TEXT.load(::std::sync::atomic::Ordering::Acquire);
3183 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3184 let fun: unsafe extern "C" fn(
3185 arg1: *mut sqlite3_stmt,
3186 arg2: ::std::os::raw::c_int,
3187 arg3: *const ::std::os::raw::c_char,
3188 n: ::std::os::raw::c_int,
3189 arg4: ::std::option::Option<
3190 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
3191 >,
3192 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3193 (fun)(arg1, arg2, arg3, n, arg4)
3194 }
3195
3196 static __SQLITE3_BIND_VALUE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3197 ::std::ptr::null_mut(),
3198 );
3199 pub unsafe fn sqlite3_bind_value(
3200 arg1: *mut sqlite3_stmt,
3201 arg2: ::std::os::raw::c_int,
3202 arg3: *const sqlite3_value,
3203 ) -> ::std::os::raw::c_int {
3204 let ptr = __SQLITE3_BIND_VALUE.load(::std::sync::atomic::Ordering::Acquire);
3205 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3206 let fun: unsafe extern "C" fn(
3207 arg1: *mut sqlite3_stmt,
3208 arg2: ::std::os::raw::c_int,
3209 arg3: *const sqlite3_value,
3210 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3211 (fun)(arg1, arg2, arg3)
3212 }
3213
3214 static __SQLITE3_BUSY_HANDLER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3215 ::std::ptr::null_mut(),
3216 );
3217 pub unsafe fn sqlite3_busy_handler(
3218 arg1: *mut sqlite3,
3219 arg2: ::std::option::Option<
3220 unsafe extern "C" fn(
3221 arg1: *mut ::std::os::raw::c_void,
3222 arg2: ::std::os::raw::c_int,
3223 ) -> ::std::os::raw::c_int,
3224 >,
3225 arg3: *mut ::std::os::raw::c_void,
3226 ) -> ::std::os::raw::c_int {
3227 let ptr = __SQLITE3_BUSY_HANDLER.load(::std::sync::atomic::Ordering::Acquire);
3228 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3229 let fun: unsafe extern "C" fn(
3230 arg1: *mut sqlite3,
3231 arg2: ::std::option::Option<
3232 unsafe extern "C" fn(
3233 arg1: *mut ::std::os::raw::c_void,
3234 arg2: ::std::os::raw::c_int,
3235 ) -> ::std::os::raw::c_int,
3236 >,
3237 arg3: *mut ::std::os::raw::c_void,
3238 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3239 (fun)(arg1, arg2, arg3)
3240 }
3241
3242 static __SQLITE3_BUSY_TIMEOUT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3243 ::std::ptr::null_mut(),
3244 );
3245 pub unsafe fn sqlite3_busy_timeout(
3246 arg1: *mut sqlite3,
3247 ms: ::std::os::raw::c_int,
3248 ) -> ::std::os::raw::c_int {
3249 let ptr = __SQLITE3_BUSY_TIMEOUT.load(::std::sync::atomic::Ordering::Acquire);
3250 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3251 let fun: unsafe extern "C" fn(
3252 arg1: *mut sqlite3,
3253 ms: ::std::os::raw::c_int,
3254 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3255 (fun)(arg1, ms)
3256 }
3257
3258 static __SQLITE3_CHANGES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3259 ::std::ptr::null_mut(),
3260 );
3261 pub unsafe fn sqlite3_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
3262 let ptr = __SQLITE3_CHANGES.load(::std::sync::atomic::Ordering::Acquire);
3263 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3264 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
3265 ptr,
3266 );
3267 (fun)(arg1)
3268 }
3269
3270 static __SQLITE3_CLOSE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3271 ::std::ptr::null_mut(),
3272 );
3273 pub unsafe fn sqlite3_close(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
3274 let ptr = __SQLITE3_CLOSE.load(::std::sync::atomic::Ordering::Acquire);
3275 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3276 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
3277 ptr,
3278 );
3279 (fun)(arg1)
3280 }
3281
3282 static __SQLITE3_COLLATION_NEEDED: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3283 ::std::ptr::null_mut(),
3284 );
3285 pub unsafe fn sqlite3_collation_needed(
3286 arg1: *mut sqlite3,
3287 arg2: *mut ::std::os::raw::c_void,
3288 arg3: ::std::option::Option<
3289 unsafe extern "C" fn(
3290 arg1: *mut ::std::os::raw::c_void,
3291 arg2: *mut sqlite3,
3292 eTextRep: ::std::os::raw::c_int,
3293 arg3: *const ::std::os::raw::c_char,
3294 ),
3295 >,
3296 ) -> ::std::os::raw::c_int {
3297 let ptr = __SQLITE3_COLLATION_NEEDED.load(::std::sync::atomic::Ordering::Acquire);
3298 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3299 let fun: unsafe extern "C" fn(
3300 arg1: *mut sqlite3,
3301 arg2: *mut ::std::os::raw::c_void,
3302 arg3: ::std::option::Option<
3303 unsafe extern "C" fn(
3304 arg1: *mut ::std::os::raw::c_void,
3305 arg2: *mut sqlite3,
3306 eTextRep: ::std::os::raw::c_int,
3307 arg3: *const ::std::os::raw::c_char,
3308 ),
3309 >,
3310 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3311 (fun)(arg1, arg2, arg3)
3312 }
3313
3314 static __SQLITE3_COLUMN_BLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3315 ::std::ptr::null_mut(),
3316 );
3317 pub unsafe fn sqlite3_column_blob(
3318 arg1: *mut sqlite3_stmt,
3319 iCol: ::std::os::raw::c_int,
3320 ) -> *const ::std::os::raw::c_void {
3321 let ptr = __SQLITE3_COLUMN_BLOB.load(::std::sync::atomic::Ordering::Acquire);
3322 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3323 let fun: unsafe extern "C" fn(
3324 arg1: *mut sqlite3_stmt,
3325 iCol: ::std::os::raw::c_int,
3326 ) -> *const ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3327 (fun)(arg1, iCol)
3328 }
3329
3330 static __SQLITE3_COLUMN_BYTES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3331 ::std::ptr::null_mut(),
3332 );
3333 pub unsafe fn sqlite3_column_bytes(
3334 arg1: *mut sqlite3_stmt,
3335 iCol: ::std::os::raw::c_int,
3336 ) -> ::std::os::raw::c_int {
3337 let ptr = __SQLITE3_COLUMN_BYTES.load(::std::sync::atomic::Ordering::Acquire);
3338 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3339 let fun: unsafe extern "C" fn(
3340 arg1: *mut sqlite3_stmt,
3341 iCol: ::std::os::raw::c_int,
3342 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3343 (fun)(arg1, iCol)
3344 }
3345
3346 static __SQLITE3_COLUMN_COUNT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3347 ::std::ptr::null_mut(),
3348 );
3349 pub unsafe fn sqlite3_column_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
3350 let ptr = __SQLITE3_COLUMN_COUNT.load(::std::sync::atomic::Ordering::Acquire);
3351 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3352 let fun: unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
3353 ptr,
3354 );
3355 (fun)(pStmt)
3356 }
3357
3358 static __SQLITE3_COLUMN_DATABASE_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3359 ::std::ptr::null_mut(),
3360 );
3361 pub unsafe fn sqlite3_column_database_name(
3362 arg1: *mut sqlite3_stmt,
3363 arg2: ::std::os::raw::c_int,
3364 ) -> *const ::std::os::raw::c_char {
3365 let ptr = __SQLITE3_COLUMN_DATABASE_NAME
3366 .load(::std::sync::atomic::Ordering::Acquire);
3367 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3368 let fun: unsafe extern "C" fn(
3369 arg1: *mut sqlite3_stmt,
3370 arg2: ::std::os::raw::c_int,
3371 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3372 (fun)(arg1, arg2)
3373 }
3374
3375 static __SQLITE3_COLUMN_DECLTYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3376 ::std::ptr::null_mut(),
3377 );
3378 pub unsafe fn sqlite3_column_decltype(
3379 arg1: *mut sqlite3_stmt,
3380 i: ::std::os::raw::c_int,
3381 ) -> *const ::std::os::raw::c_char {
3382 let ptr = __SQLITE3_COLUMN_DECLTYPE.load(::std::sync::atomic::Ordering::Acquire);
3383 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3384 let fun: unsafe extern "C" fn(
3385 arg1: *mut sqlite3_stmt,
3386 i: ::std::os::raw::c_int,
3387 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3388 (fun)(arg1, i)
3389 }
3390
3391 static __SQLITE3_COLUMN_DOUBLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3392 ::std::ptr::null_mut(),
3393 );
3394 pub unsafe fn sqlite3_column_double(
3395 arg1: *mut sqlite3_stmt,
3396 iCol: ::std::os::raw::c_int,
3397 ) -> f64 {
3398 let ptr = __SQLITE3_COLUMN_DOUBLE.load(::std::sync::atomic::Ordering::Acquire);
3399 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3400 let fun: unsafe extern "C" fn(
3401 arg1: *mut sqlite3_stmt,
3402 iCol: ::std::os::raw::c_int,
3403 ) -> f64 = ::std::mem::transmute(ptr);
3404 (fun)(arg1, iCol)
3405 }
3406
3407 static __SQLITE3_COLUMN_INT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3408 ::std::ptr::null_mut(),
3409 );
3410 pub unsafe fn sqlite3_column_int(
3411 arg1: *mut sqlite3_stmt,
3412 iCol: ::std::os::raw::c_int,
3413 ) -> ::std::os::raw::c_int {
3414 let ptr = __SQLITE3_COLUMN_INT.load(::std::sync::atomic::Ordering::Acquire);
3415 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3416 let fun: unsafe extern "C" fn(
3417 arg1: *mut sqlite3_stmt,
3418 iCol: ::std::os::raw::c_int,
3419 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3420 (fun)(arg1, iCol)
3421 }
3422
3423 static __SQLITE3_COLUMN_INT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3424 ::std::ptr::null_mut(),
3425 );
3426 pub unsafe fn sqlite3_column_int64(
3427 arg1: *mut sqlite3_stmt,
3428 iCol: ::std::os::raw::c_int,
3429 ) -> sqlite_int64 {
3430 let ptr = __SQLITE3_COLUMN_INT64.load(::std::sync::atomic::Ordering::Acquire);
3431 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3432 let fun: unsafe extern "C" fn(
3433 arg1: *mut sqlite3_stmt,
3434 iCol: ::std::os::raw::c_int,
3435 ) -> sqlite_int64 = ::std::mem::transmute(ptr);
3436 (fun)(arg1, iCol)
3437 }
3438
3439 static __SQLITE3_COLUMN_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3440 ::std::ptr::null_mut(),
3441 );
3442 pub unsafe fn sqlite3_column_name(
3443 arg1: *mut sqlite3_stmt,
3444 arg2: ::std::os::raw::c_int,
3445 ) -> *const ::std::os::raw::c_char {
3446 let ptr = __SQLITE3_COLUMN_NAME.load(::std::sync::atomic::Ordering::Acquire);
3447 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3448 let fun: unsafe extern "C" fn(
3449 arg1: *mut sqlite3_stmt,
3450 arg2: ::std::os::raw::c_int,
3451 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3452 (fun)(arg1, arg2)
3453 }
3454
3455 static __SQLITE3_COLUMN_ORIGIN_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3456 ::std::ptr::null_mut(),
3457 );
3458 pub unsafe fn sqlite3_column_origin_name(
3459 arg1: *mut sqlite3_stmt,
3460 arg2: ::std::os::raw::c_int,
3461 ) -> *const ::std::os::raw::c_char {
3462 let ptr = __SQLITE3_COLUMN_ORIGIN_NAME.load(::std::sync::atomic::Ordering::Acquire);
3463 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3464 let fun: unsafe extern "C" fn(
3465 arg1: *mut sqlite3_stmt,
3466 arg2: ::std::os::raw::c_int,
3467 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3468 (fun)(arg1, arg2)
3469 }
3470
3471 static __SQLITE3_COLUMN_TABLE_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3472 ::std::ptr::null_mut(),
3473 );
3474 pub unsafe fn sqlite3_column_table_name(
3475 arg1: *mut sqlite3_stmt,
3476 arg2: ::std::os::raw::c_int,
3477 ) -> *const ::std::os::raw::c_char {
3478 let ptr = __SQLITE3_COLUMN_TABLE_NAME.load(::std::sync::atomic::Ordering::Acquire);
3479 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3480 let fun: unsafe extern "C" fn(
3481 arg1: *mut sqlite3_stmt,
3482 arg2: ::std::os::raw::c_int,
3483 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
3484 (fun)(arg1, arg2)
3485 }
3486
3487 static __SQLITE3_COLUMN_TEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3488 ::std::ptr::null_mut(),
3489 );
3490 pub unsafe fn sqlite3_column_text(
3491 arg1: *mut sqlite3_stmt,
3492 iCol: ::std::os::raw::c_int,
3493 ) -> *const ::std::os::raw::c_uchar {
3494 let ptr = __SQLITE3_COLUMN_TEXT.load(::std::sync::atomic::Ordering::Acquire);
3495 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3496 let fun: unsafe extern "C" fn(
3497 arg1: *mut sqlite3_stmt,
3498 iCol: ::std::os::raw::c_int,
3499 ) -> *const ::std::os::raw::c_uchar = ::std::mem::transmute(ptr);
3500 (fun)(arg1, iCol)
3501 }
3502
3503 static __SQLITE3_COLUMN_TYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3504 ::std::ptr::null_mut(),
3505 );
3506 pub unsafe fn sqlite3_column_type(
3507 arg1: *mut sqlite3_stmt,
3508 iCol: ::std::os::raw::c_int,
3509 ) -> ::std::os::raw::c_int {
3510 let ptr = __SQLITE3_COLUMN_TYPE.load(::std::sync::atomic::Ordering::Acquire);
3511 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3512 let fun: unsafe extern "C" fn(
3513 arg1: *mut sqlite3_stmt,
3514 iCol: ::std::os::raw::c_int,
3515 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3516 (fun)(arg1, iCol)
3517 }
3518
3519 static __SQLITE3_COLUMN_VALUE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3520 ::std::ptr::null_mut(),
3521 );
3522 pub unsafe fn sqlite3_column_value(
3523 arg1: *mut sqlite3_stmt,
3524 iCol: ::std::os::raw::c_int,
3525 ) -> *mut sqlite3_value {
3526 let ptr = __SQLITE3_COLUMN_VALUE.load(::std::sync::atomic::Ordering::Acquire);
3527 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3528 let fun: unsafe extern "C" fn(
3529 arg1: *mut sqlite3_stmt,
3530 iCol: ::std::os::raw::c_int,
3531 ) -> *mut sqlite3_value = ::std::mem::transmute(ptr);
3532 (fun)(arg1, iCol)
3533 }
3534
3535 static __SQLITE3_COMMIT_HOOK: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3536 ::std::ptr::null_mut(),
3537 );
3538 pub unsafe fn sqlite3_commit_hook(
3539 arg1: *mut sqlite3,
3540 arg2: ::std::option::Option<
3541 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3542 >,
3543 arg3: *mut ::std::os::raw::c_void,
3544 ) -> *mut ::std::os::raw::c_void {
3545 let ptr = __SQLITE3_COMMIT_HOOK.load(::std::sync::atomic::Ordering::Acquire);
3546 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3547 let fun: unsafe extern "C" fn(
3548 arg1: *mut sqlite3,
3549 arg2: ::std::option::Option<
3550 unsafe extern "C" fn(
3551 arg1: *mut ::std::os::raw::c_void,
3552 ) -> ::std::os::raw::c_int,
3553 >,
3554 arg3: *mut ::std::os::raw::c_void,
3555 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3556 (fun)(arg1, arg2, arg3)
3557 }
3558
3559 static __SQLITE3_COMPLETE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3560 ::std::ptr::null_mut(),
3561 );
3562 pub unsafe fn sqlite3_complete(
3563 sql: *const ::std::os::raw::c_char,
3564 ) -> ::std::os::raw::c_int {
3565 let ptr = __SQLITE3_COMPLETE.load(::std::sync::atomic::Ordering::Acquire);
3566 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3567 let fun: unsafe extern "C" fn(
3568 sql: *const ::std::os::raw::c_char,
3569 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3570 (fun)(sql)
3571 }
3572
3573 static __SQLITE3_DATA_COUNT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3574 ::std::ptr::null_mut(),
3575 );
3576 pub unsafe fn sqlite3_data_count(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
3577 let ptr = __SQLITE3_DATA_COUNT.load(::std::sync::atomic::Ordering::Acquire);
3578 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3579 let fun: unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
3580 ptr,
3581 );
3582 (fun)(pStmt)
3583 }
3584
3585 static __SQLITE3_DB_HANDLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3586 ::std::ptr::null_mut(),
3587 );
3588 pub unsafe fn sqlite3_db_handle(arg1: *mut sqlite3_stmt) -> *mut sqlite3 {
3589 let ptr = __SQLITE3_DB_HANDLE.load(::std::sync::atomic::Ordering::Acquire);
3590 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3591 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> *mut sqlite3 = ::std::mem::transmute(
3592 ptr,
3593 );
3594 (fun)(arg1)
3595 }
3596
3597 static __SQLITE3_DECLARE_VTAB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3598 ::std::ptr::null_mut(),
3599 );
3600 pub unsafe fn sqlite3_declare_vtab(
3601 arg1: *mut sqlite3,
3602 arg2: *const ::std::os::raw::c_char,
3603 ) -> ::std::os::raw::c_int {
3604 let ptr = __SQLITE3_DECLARE_VTAB.load(::std::sync::atomic::Ordering::Acquire);
3605 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3606 let fun: unsafe extern "C" fn(
3607 arg1: *mut sqlite3,
3608 arg2: *const ::std::os::raw::c_char,
3609 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3610 (fun)(arg1, arg2)
3611 }
3612
3613 static __SQLITE3_ENABLE_SHARED_CACHE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3614 ::std::ptr::null_mut(),
3615 );
3616 pub unsafe fn sqlite3_enable_shared_cache(
3617 arg1: ::std::os::raw::c_int,
3618 ) -> ::std::os::raw::c_int {
3619 let ptr = __SQLITE3_ENABLE_SHARED_CACHE.load(::std::sync::atomic::Ordering::Acquire);
3620 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3621 let fun: unsafe extern "C" fn(
3622 arg1: ::std::os::raw::c_int,
3623 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3624 (fun)(arg1)
3625 }
3626
3627 static __SQLITE3_ERRCODE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3628 ::std::ptr::null_mut(),
3629 );
3630 pub unsafe fn sqlite3_errcode(db: *mut sqlite3) -> ::std::os::raw::c_int {
3631 let ptr = __SQLITE3_ERRCODE.load(::std::sync::atomic::Ordering::Acquire);
3632 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3633 let fun: unsafe extern "C" fn(db: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
3634 ptr,
3635 );
3636 (fun)(db)
3637 }
3638
3639 static __SQLITE3_ERRMSG: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3640 ::std::ptr::null_mut(),
3641 );
3642 pub unsafe fn sqlite3_errmsg(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char {
3643 let ptr = __SQLITE3_ERRMSG.load(::std::sync::atomic::Ordering::Acquire);
3644 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3645 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> *const ::std::os::raw::c_char = ::std::mem::transmute(
3646 ptr,
3647 );
3648 (fun)(arg1)
3649 }
3650
3651 static __SQLITE3_EXEC: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3652 ::std::ptr::null_mut(),
3653 );
3654 pub unsafe fn sqlite3_exec(
3655 arg1: *mut sqlite3,
3656 arg2: *const ::std::os::raw::c_char,
3657 arg3: sqlite3_callback,
3658 arg4: *mut ::std::os::raw::c_void,
3659 arg5: *mut *mut ::std::os::raw::c_char,
3660 ) -> ::std::os::raw::c_int {
3661 let ptr = __SQLITE3_EXEC.load(::std::sync::atomic::Ordering::Acquire);
3662 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3663 let fun: unsafe extern "C" fn(
3664 arg1: *mut sqlite3,
3665 arg2: *const ::std::os::raw::c_char,
3666 arg3: sqlite3_callback,
3667 arg4: *mut ::std::os::raw::c_void,
3668 arg5: *mut *mut ::std::os::raw::c_char,
3669 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3670 (fun)(arg1, arg2, arg3, arg4, arg5)
3671 }
3672
3673 static __SQLITE3_FINALIZE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3674 ::std::ptr::null_mut(),
3675 );
3676 pub unsafe fn sqlite3_finalize(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
3677 let ptr = __SQLITE3_FINALIZE.load(::std::sync::atomic::Ordering::Acquire);
3678 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3679 let fun: unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
3680 ptr,
3681 );
3682 (fun)(pStmt)
3683 }
3684
3685 static __SQLITE3_FREE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3686 ::std::ptr::null_mut(),
3687 );
3688 pub unsafe fn sqlite3_free(arg1: *mut ::std::os::raw::c_void) {
3689 let ptr = __SQLITE3_FREE.load(::std::sync::atomic::Ordering::Acquire);
3690 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3691 let fun: unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) = ::std::mem::transmute(
3692 ptr,
3693 );
3694 (fun)(arg1)
3695 }
3696
3697 static __SQLITE3_FREE_TABLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3698 ::std::ptr::null_mut(),
3699 );
3700 pub unsafe fn sqlite3_free_table(result: *mut *mut ::std::os::raw::c_char) {
3701 let ptr = __SQLITE3_FREE_TABLE.load(::std::sync::atomic::Ordering::Acquire);
3702 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3703 let fun: unsafe extern "C" fn(result: *mut *mut ::std::os::raw::c_char) = ::std::mem::transmute(
3704 ptr,
3705 );
3706 (fun)(result)
3707 }
3708
3709 static __SQLITE3_GET_AUTOCOMMIT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3710 ::std::ptr::null_mut(),
3711 );
3712 pub unsafe fn sqlite3_get_autocommit(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
3713 let ptr = __SQLITE3_GET_AUTOCOMMIT.load(::std::sync::atomic::Ordering::Acquire);
3714 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3715 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
3716 ptr,
3717 );
3718 (fun)(arg1)
3719 }
3720
3721 static __SQLITE3_GET_AUXDATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3722 ::std::ptr::null_mut(),
3723 );
3724 pub unsafe fn sqlite3_get_auxdata(
3725 arg1: *mut sqlite3_context,
3726 arg2: ::std::os::raw::c_int,
3727 ) -> *mut ::std::os::raw::c_void {
3728 let ptr = __SQLITE3_GET_AUXDATA.load(::std::sync::atomic::Ordering::Acquire);
3729 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3730 let fun: unsafe extern "C" fn(
3731 arg1: *mut sqlite3_context,
3732 arg2: ::std::os::raw::c_int,
3733 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3734 (fun)(arg1, arg2)
3735 }
3736
3737 static __SQLITE3_GET_TABLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3738 ::std::ptr::null_mut(),
3739 );
3740 pub unsafe fn sqlite3_get_table(
3741 arg1: *mut sqlite3,
3742 arg2: *const ::std::os::raw::c_char,
3743 arg3: *mut *mut *mut ::std::os::raw::c_char,
3744 arg4: *mut ::std::os::raw::c_int,
3745 arg5: *mut ::std::os::raw::c_int,
3746 arg6: *mut *mut ::std::os::raw::c_char,
3747 ) -> ::std::os::raw::c_int {
3748 let ptr = __SQLITE3_GET_TABLE.load(::std::sync::atomic::Ordering::Acquire);
3749 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3750 let fun: unsafe extern "C" fn(
3751 arg1: *mut sqlite3,
3752 arg2: *const ::std::os::raw::c_char,
3753 arg3: *mut *mut *mut ::std::os::raw::c_char,
3754 arg4: *mut ::std::os::raw::c_int,
3755 arg5: *mut ::std::os::raw::c_int,
3756 arg6: *mut *mut ::std::os::raw::c_char,
3757 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3758 (fun)(arg1, arg2, arg3, arg4, arg5, arg6)
3759 }
3760
3761 static __SQLITE3_INTERRUPT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3762 ::std::ptr::null_mut(),
3763 );
3764 pub unsafe fn sqlite3_interrupt(arg1: *mut sqlite3) {
3765 let ptr = __SQLITE3_INTERRUPT.load(::std::sync::atomic::Ordering::Acquire);
3766 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3767 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) = ::std::mem::transmute(ptr);
3768 (fun)(arg1)
3769 }
3770
3771 static __SQLITE3_LAST_INSERT_ROWID: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3772 ::std::ptr::null_mut(),
3773 );
3774 pub unsafe fn sqlite3_last_insert_rowid(arg1: *mut sqlite3) -> sqlite_int64 {
3775 let ptr = __SQLITE3_LAST_INSERT_ROWID.load(::std::sync::atomic::Ordering::Acquire);
3776 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3777 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite_int64 = ::std::mem::transmute(
3778 ptr,
3779 );
3780 (fun)(arg1)
3781 }
3782
3783 static __SQLITE3_LIBVERSION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3784 ::std::ptr::null_mut(),
3785 );
3786 pub unsafe fn sqlite3_libversion() -> *const ::std::os::raw::c_char {
3787 let ptr = __SQLITE3_LIBVERSION.load(::std::sync::atomic::Ordering::Acquire);
3788 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3789 let fun: unsafe extern "C" fn() -> *const ::std::os::raw::c_char = ::std::mem::transmute(
3790 ptr,
3791 );
3792 (fun)()
3793 }
3794
3795 static __SQLITE3_LIBVERSION_NUMBER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3796 ::std::ptr::null_mut(),
3797 );
3798 pub unsafe fn sqlite3_libversion_number() -> ::std::os::raw::c_int {
3799 let ptr = __SQLITE3_LIBVERSION_NUMBER.load(::std::sync::atomic::Ordering::Acquire);
3800 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3801 let fun: unsafe extern "C" fn() -> ::std::os::raw::c_int = ::std::mem::transmute(
3802 ptr,
3803 );
3804 (fun)()
3805 }
3806
3807 static __SQLITE3_MALLOC: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3808 ::std::ptr::null_mut(),
3809 );
3810 pub unsafe fn sqlite3_malloc(
3811 arg1: ::std::os::raw::c_int,
3812 ) -> *mut ::std::os::raw::c_void {
3813 let ptr = __SQLITE3_MALLOC.load(::std::sync::atomic::Ordering::Acquire);
3814 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3815 let fun: unsafe extern "C" fn(
3816 arg1: ::std::os::raw::c_int,
3817 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3818 (fun)(arg1)
3819 }
3820
3821 static __SQLITE3_OPEN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3822 ::std::ptr::null_mut(),
3823 );
3824 pub unsafe fn sqlite3_open(
3825 arg1: *const ::std::os::raw::c_char,
3826 arg2: *mut *mut sqlite3,
3827 ) -> ::std::os::raw::c_int {
3828 let ptr = __SQLITE3_OPEN.load(::std::sync::atomic::Ordering::Acquire);
3829 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3830 let fun: unsafe extern "C" fn(
3831 arg1: *const ::std::os::raw::c_char,
3832 arg2: *mut *mut sqlite3,
3833 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
3834 (fun)(arg1, arg2)
3835 }
3836
3837 static __SQLITE3_PROFILE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3838 ::std::ptr::null_mut(),
3839 );
3840 pub unsafe fn sqlite3_profile(
3841 arg1: *mut sqlite3,
3842 arg2: ::std::option::Option<
3843 unsafe extern "C" fn(
3844 arg1: *mut ::std::os::raw::c_void,
3845 arg2: *const ::std::os::raw::c_char,
3846 arg3: sqlite_uint64,
3847 ),
3848 >,
3849 arg3: *mut ::std::os::raw::c_void,
3850 ) -> *mut ::std::os::raw::c_void {
3851 let ptr = __SQLITE3_PROFILE.load(::std::sync::atomic::Ordering::Acquire);
3852 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3853 let fun: unsafe extern "C" fn(
3854 arg1: *mut sqlite3,
3855 arg2: ::std::option::Option<
3856 unsafe extern "C" fn(
3857 arg1: *mut ::std::os::raw::c_void,
3858 arg2: *const ::std::os::raw::c_char,
3859 arg3: sqlite_uint64,
3860 ),
3861 >,
3862 arg3: *mut ::std::os::raw::c_void,
3863 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3864 (fun)(arg1, arg2, arg3)
3865 }
3866
3867 static __SQLITE3_PROGRESS_HANDLER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3868 ::std::ptr::null_mut(),
3869 );
3870 pub unsafe fn sqlite3_progress_handler(
3871 arg1: *mut sqlite3,
3872 arg2: ::std::os::raw::c_int,
3873 arg3: ::std::option::Option<
3874 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
3875 >,
3876 arg4: *mut ::std::os::raw::c_void,
3877 ) {
3878 let ptr = __SQLITE3_PROGRESS_HANDLER.load(::std::sync::atomic::Ordering::Acquire);
3879 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3880 let fun: unsafe extern "C" fn(
3881 arg1: *mut sqlite3,
3882 arg2: ::std::os::raw::c_int,
3883 arg3: ::std::option::Option<
3884 unsafe extern "C" fn(
3885 arg1: *mut ::std::os::raw::c_void,
3886 ) -> ::std::os::raw::c_int,
3887 >,
3888 arg4: *mut ::std::os::raw::c_void,
3889 ) = ::std::mem::transmute(ptr);
3890 (fun)(arg1, arg2, arg3, arg4)
3891 }
3892
3893 static __SQLITE3_REALLOC: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3894 ::std::ptr::null_mut(),
3895 );
3896 pub unsafe fn sqlite3_realloc(
3897 arg1: *mut ::std::os::raw::c_void,
3898 arg2: ::std::os::raw::c_int,
3899 ) -> *mut ::std::os::raw::c_void {
3900 let ptr = __SQLITE3_REALLOC.load(::std::sync::atomic::Ordering::Acquire);
3901 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3902 let fun: unsafe extern "C" fn(
3903 arg1: *mut ::std::os::raw::c_void,
3904 arg2: ::std::os::raw::c_int,
3905 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
3906 (fun)(arg1, arg2)
3907 }
3908
3909 static __SQLITE3_RESET: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3910 ::std::ptr::null_mut(),
3911 );
3912 pub unsafe fn sqlite3_reset(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
3913 let ptr = __SQLITE3_RESET.load(::std::sync::atomic::Ordering::Acquire);
3914 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3915 let fun: unsafe extern "C" fn(pStmt: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
3916 ptr,
3917 );
3918 (fun)(pStmt)
3919 }
3920
3921 static __SQLITE3_RESULT_BLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3922 ::std::ptr::null_mut(),
3923 );
3924 pub unsafe fn sqlite3_result_blob(
3925 arg1: *mut sqlite3_context,
3926 arg2: *const ::std::os::raw::c_void,
3927 arg3: ::std::os::raw::c_int,
3928 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
3929 ) {
3930 let ptr = __SQLITE3_RESULT_BLOB.load(::std::sync::atomic::Ordering::Acquire);
3931 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3932 let fun: unsafe extern "C" fn(
3933 arg1: *mut sqlite3_context,
3934 arg2: *const ::std::os::raw::c_void,
3935 arg3: ::std::os::raw::c_int,
3936 arg4: ::std::option::Option<
3937 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
3938 >,
3939 ) = ::std::mem::transmute(ptr);
3940 (fun)(arg1, arg2, arg3, arg4)
3941 }
3942
3943 static __SQLITE3_RESULT_DOUBLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3944 ::std::ptr::null_mut(),
3945 );
3946 pub unsafe fn sqlite3_result_double(arg1: *mut sqlite3_context, arg2: f64) {
3947 let ptr = __SQLITE3_RESULT_DOUBLE.load(::std::sync::atomic::Ordering::Acquire);
3948 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3949 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: f64) = ::std::mem::transmute(
3950 ptr,
3951 );
3952 (fun)(arg1, arg2)
3953 }
3954
3955 static __SQLITE3_RESULT_ERROR: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3956 ::std::ptr::null_mut(),
3957 );
3958 pub unsafe fn sqlite3_result_error(
3959 arg1: *mut sqlite3_context,
3960 arg2: *const ::std::os::raw::c_char,
3961 arg3: ::std::os::raw::c_int,
3962 ) {
3963 let ptr = __SQLITE3_RESULT_ERROR.load(::std::sync::atomic::Ordering::Acquire);
3964 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3965 let fun: unsafe extern "C" fn(
3966 arg1: *mut sqlite3_context,
3967 arg2: *const ::std::os::raw::c_char,
3968 arg3: ::std::os::raw::c_int,
3969 ) = ::std::mem::transmute(ptr);
3970 (fun)(arg1, arg2, arg3)
3971 }
3972
3973 static __SQLITE3_RESULT_INT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3974 ::std::ptr::null_mut(),
3975 );
3976 pub unsafe fn sqlite3_result_int(
3977 arg1: *mut sqlite3_context,
3978 arg2: ::std::os::raw::c_int,
3979 ) {
3980 let ptr = __SQLITE3_RESULT_INT.load(::std::sync::atomic::Ordering::Acquire);
3981 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3982 let fun: unsafe extern "C" fn(
3983 arg1: *mut sqlite3_context,
3984 arg2: ::std::os::raw::c_int,
3985 ) = ::std::mem::transmute(ptr);
3986 (fun)(arg1, arg2)
3987 }
3988
3989 static __SQLITE3_RESULT_INT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
3990 ::std::ptr::null_mut(),
3991 );
3992 pub unsafe fn sqlite3_result_int64(arg1: *mut sqlite3_context, arg2: sqlite_int64) {
3993 let ptr = __SQLITE3_RESULT_INT64.load(::std::sync::atomic::Ordering::Acquire);
3994 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
3995 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context, arg2: sqlite_int64) = ::std::mem::transmute(
3996 ptr,
3997 );
3998 (fun)(arg1, arg2)
3999 }
4000
4001 static __SQLITE3_RESULT_NULL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4002 ::std::ptr::null_mut(),
4003 );
4004 pub unsafe fn sqlite3_result_null(arg1: *mut sqlite3_context) {
4005 let ptr = __SQLITE3_RESULT_NULL.load(::std::sync::atomic::Ordering::Acquire);
4006 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4007 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context) = ::std::mem::transmute(
4008 ptr,
4009 );
4010 (fun)(arg1)
4011 }
4012
4013 static __SQLITE3_RESULT_TEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4014 ::std::ptr::null_mut(),
4015 );
4016 pub unsafe fn sqlite3_result_text(
4017 arg1: *mut sqlite3_context,
4018 arg2: *const ::std::os::raw::c_char,
4019 arg3: ::std::os::raw::c_int,
4020 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4021 ) {
4022 let ptr = __SQLITE3_RESULT_TEXT.load(::std::sync::atomic::Ordering::Acquire);
4023 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4024 let fun: unsafe extern "C" fn(
4025 arg1: *mut sqlite3_context,
4026 arg2: *const ::std::os::raw::c_char,
4027 arg3: ::std::os::raw::c_int,
4028 arg4: ::std::option::Option<
4029 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4030 >,
4031 ) = ::std::mem::transmute(ptr);
4032 (fun)(arg1, arg2, arg3, arg4)
4033 }
4034
4035 static __SQLITE3_RESULT_VALUE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4036 ::std::ptr::null_mut(),
4037 );
4038 pub unsafe fn sqlite3_result_value(
4039 arg1: *mut sqlite3_context,
4040 arg2: *mut sqlite3_value,
4041 ) {
4042 let ptr = __SQLITE3_RESULT_VALUE.load(::std::sync::atomic::Ordering::Acquire);
4043 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4044 let fun: unsafe extern "C" fn(
4045 arg1: *mut sqlite3_context,
4046 arg2: *mut sqlite3_value,
4047 ) = ::std::mem::transmute(ptr);
4048 (fun)(arg1, arg2)
4049 }
4050
4051 static __SQLITE3_ROLLBACK_HOOK: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4052 ::std::ptr::null_mut(),
4053 );
4054 pub unsafe fn sqlite3_rollback_hook(
4055 arg1: *mut sqlite3,
4056 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4057 arg3: *mut ::std::os::raw::c_void,
4058 ) -> *mut ::std::os::raw::c_void {
4059 let ptr = __SQLITE3_ROLLBACK_HOOK.load(::std::sync::atomic::Ordering::Acquire);
4060 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4061 let fun: unsafe extern "C" fn(
4062 arg1: *mut sqlite3,
4063 arg2: ::std::option::Option<
4064 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4065 >,
4066 arg3: *mut ::std::os::raw::c_void,
4067 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
4068 (fun)(arg1, arg2, arg3)
4069 }
4070
4071 static __SQLITE3_SET_AUTHORIZER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4072 ::std::ptr::null_mut(),
4073 );
4074 pub unsafe fn sqlite3_set_authorizer(
4075 arg1: *mut sqlite3,
4076 arg2: ::std::option::Option<
4077 unsafe extern "C" fn(
4078 arg1: *mut ::std::os::raw::c_void,
4079 arg2: ::std::os::raw::c_int,
4080 arg3: *const ::std::os::raw::c_char,
4081 arg4: *const ::std::os::raw::c_char,
4082 arg5: *const ::std::os::raw::c_char,
4083 arg6: *const ::std::os::raw::c_char,
4084 ) -> ::std::os::raw::c_int,
4085 >,
4086 arg3: *mut ::std::os::raw::c_void,
4087 ) -> ::std::os::raw::c_int {
4088 let ptr = __SQLITE3_SET_AUTHORIZER.load(::std::sync::atomic::Ordering::Acquire);
4089 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4090 let fun: unsafe extern "C" fn(
4091 arg1: *mut sqlite3,
4092 arg2: ::std::option::Option<
4093 unsafe extern "C" fn(
4094 arg1: *mut ::std::os::raw::c_void,
4095 arg2: ::std::os::raw::c_int,
4096 arg3: *const ::std::os::raw::c_char,
4097 arg4: *const ::std::os::raw::c_char,
4098 arg5: *const ::std::os::raw::c_char,
4099 arg6: *const ::std::os::raw::c_char,
4100 ) -> ::std::os::raw::c_int,
4101 >,
4102 arg3: *mut ::std::os::raw::c_void,
4103 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4104 (fun)(arg1, arg2, arg3)
4105 }
4106
4107 static __SQLITE3_SET_AUXDATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4108 ::std::ptr::null_mut(),
4109 );
4110 pub unsafe fn sqlite3_set_auxdata(
4111 arg1: *mut sqlite3_context,
4112 arg2: ::std::os::raw::c_int,
4113 arg3: *mut ::std::os::raw::c_void,
4114 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4115 ) {
4116 let ptr = __SQLITE3_SET_AUXDATA.load(::std::sync::atomic::Ordering::Acquire);
4117 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4118 let fun: unsafe extern "C" fn(
4119 arg1: *mut sqlite3_context,
4120 arg2: ::std::os::raw::c_int,
4121 arg3: *mut ::std::os::raw::c_void,
4122 arg4: ::std::option::Option<
4123 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4124 >,
4125 ) = ::std::mem::transmute(ptr);
4126 (fun)(arg1, arg2, arg3, arg4)
4127 }
4128
4129 static __SQLITE3_STEP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4130 ::std::ptr::null_mut(),
4131 );
4132 pub unsafe fn sqlite3_step(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
4133 let ptr = __SQLITE3_STEP.load(::std::sync::atomic::Ordering::Acquire);
4134 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4135 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
4136 ptr,
4137 );
4138 (fun)(arg1)
4139 }
4140
4141 static __SQLITE3_TABLE_COLUMN_METADATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4142 ::std::ptr::null_mut(),
4143 );
4144 pub unsafe fn sqlite3_table_column_metadata(
4145 arg1: *mut sqlite3,
4146 arg2: *const ::std::os::raw::c_char,
4147 arg3: *const ::std::os::raw::c_char,
4148 arg4: *const ::std::os::raw::c_char,
4149 arg5: *mut *const ::std::os::raw::c_char,
4150 arg6: *mut *const ::std::os::raw::c_char,
4151 arg7: *mut ::std::os::raw::c_int,
4152 arg8: *mut ::std::os::raw::c_int,
4153 arg9: *mut ::std::os::raw::c_int,
4154 ) -> ::std::os::raw::c_int {
4155 let ptr = __SQLITE3_TABLE_COLUMN_METADATA
4156 .load(::std::sync::atomic::Ordering::Acquire);
4157 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4158 let fun: unsafe extern "C" fn(
4159 arg1: *mut sqlite3,
4160 arg2: *const ::std::os::raw::c_char,
4161 arg3: *const ::std::os::raw::c_char,
4162 arg4: *const ::std::os::raw::c_char,
4163 arg5: *mut *const ::std::os::raw::c_char,
4164 arg6: *mut *const ::std::os::raw::c_char,
4165 arg7: *mut ::std::os::raw::c_int,
4166 arg8: *mut ::std::os::raw::c_int,
4167 arg9: *mut ::std::os::raw::c_int,
4168 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4169 (fun)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)
4170 }
4171
4172 static __SQLITE3_TOTAL_CHANGES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4173 ::std::ptr::null_mut(),
4174 );
4175 pub unsafe fn sqlite3_total_changes(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
4176 let ptr = __SQLITE3_TOTAL_CHANGES.load(::std::sync::atomic::Ordering::Acquire);
4177 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4178 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
4179 ptr,
4180 );
4181 (fun)(arg1)
4182 }
4183
4184 static __SQLITE3_TRACE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4185 ::std::ptr::null_mut(),
4186 );
4187 pub unsafe fn sqlite3_trace(
4188 arg1: *mut sqlite3,
4189 xTrace: ::std::option::Option<
4190 unsafe extern "C" fn(
4191 arg1: *mut ::std::os::raw::c_void,
4192 arg2: *const ::std::os::raw::c_char,
4193 ),
4194 >,
4195 arg2: *mut ::std::os::raw::c_void,
4196 ) -> *mut ::std::os::raw::c_void {
4197 let ptr = __SQLITE3_TRACE.load(::std::sync::atomic::Ordering::Acquire);
4198 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4199 let fun: unsafe extern "C" fn(
4200 arg1: *mut sqlite3,
4201 xTrace: ::std::option::Option<
4202 unsafe extern "C" fn(
4203 arg1: *mut ::std::os::raw::c_void,
4204 arg2: *const ::std::os::raw::c_char,
4205 ),
4206 >,
4207 arg2: *mut ::std::os::raw::c_void,
4208 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
4209 (fun)(arg1, xTrace, arg2)
4210 }
4211
4212 static __SQLITE3_UPDATE_HOOK: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4213 ::std::ptr::null_mut(),
4214 );
4215 pub unsafe fn sqlite3_update_hook(
4216 arg1: *mut sqlite3,
4217 arg2: ::std::option::Option<
4218 unsafe extern "C" fn(
4219 arg1: *mut ::std::os::raw::c_void,
4220 arg2: ::std::os::raw::c_int,
4221 arg3: *const ::std::os::raw::c_char,
4222 arg4: *const ::std::os::raw::c_char,
4223 arg5: sqlite_int64,
4224 ),
4225 >,
4226 arg3: *mut ::std::os::raw::c_void,
4227 ) -> *mut ::std::os::raw::c_void {
4228 let ptr = __SQLITE3_UPDATE_HOOK.load(::std::sync::atomic::Ordering::Acquire);
4229 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4230 let fun: unsafe extern "C" fn(
4231 arg1: *mut sqlite3,
4232 arg2: ::std::option::Option<
4233 unsafe extern "C" fn(
4234 arg1: *mut ::std::os::raw::c_void,
4235 arg2: ::std::os::raw::c_int,
4236 arg3: *const ::std::os::raw::c_char,
4237 arg4: *const ::std::os::raw::c_char,
4238 arg5: sqlite_int64,
4239 ),
4240 >,
4241 arg3: *mut ::std::os::raw::c_void,
4242 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
4243 (fun)(arg1, arg2, arg3)
4244 }
4245
4246 static __SQLITE3_USER_DATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4247 ::std::ptr::null_mut(),
4248 );
4249 pub unsafe fn sqlite3_user_data(
4250 arg1: *mut sqlite3_context,
4251 ) -> *mut ::std::os::raw::c_void {
4252 let ptr = __SQLITE3_USER_DATA.load(::std::sync::atomic::Ordering::Acquire);
4253 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4254 let fun: unsafe extern "C" fn(
4255 arg1: *mut sqlite3_context,
4256 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
4257 (fun)(arg1)
4258 }
4259
4260 static __SQLITE3_VALUE_BLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4261 ::std::ptr::null_mut(),
4262 );
4263 pub unsafe fn sqlite3_value_blob(
4264 arg1: *mut sqlite3_value,
4265 ) -> *const ::std::os::raw::c_void {
4266 let ptr = __SQLITE3_VALUE_BLOB.load(::std::sync::atomic::Ordering::Acquire);
4267 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4268 let fun: unsafe extern "C" fn(
4269 arg1: *mut sqlite3_value,
4270 ) -> *const ::std::os::raw::c_void = ::std::mem::transmute(ptr);
4271 (fun)(arg1)
4272 }
4273
4274 static __SQLITE3_VALUE_BYTES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4275 ::std::ptr::null_mut(),
4276 );
4277 pub unsafe fn sqlite3_value_bytes(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
4278 let ptr = __SQLITE3_VALUE_BYTES.load(::std::sync::atomic::Ordering::Acquire);
4279 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4280 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
4281 ptr,
4282 );
4283 (fun)(arg1)
4284 }
4285
4286 static __SQLITE3_VALUE_DOUBLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4287 ::std::ptr::null_mut(),
4288 );
4289 pub unsafe fn sqlite3_value_double(arg1: *mut sqlite3_value) -> f64 {
4290 let ptr = __SQLITE3_VALUE_DOUBLE.load(::std::sync::atomic::Ordering::Acquire);
4291 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4292 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> f64 = ::std::mem::transmute(
4293 ptr,
4294 );
4295 (fun)(arg1)
4296 }
4297
4298 static __SQLITE3_VALUE_INT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4299 ::std::ptr::null_mut(),
4300 );
4301 pub unsafe fn sqlite3_value_int(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
4302 let ptr = __SQLITE3_VALUE_INT.load(::std::sync::atomic::Ordering::Acquire);
4303 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4304 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
4305 ptr,
4306 );
4307 (fun)(arg1)
4308 }
4309
4310 static __SQLITE3_VALUE_INT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4311 ::std::ptr::null_mut(),
4312 );
4313 pub unsafe fn sqlite3_value_int64(arg1: *mut sqlite3_value) -> sqlite_int64 {
4314 let ptr = __SQLITE3_VALUE_INT64.load(::std::sync::atomic::Ordering::Acquire);
4315 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4316 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> sqlite_int64 = ::std::mem::transmute(
4317 ptr,
4318 );
4319 (fun)(arg1)
4320 }
4321
4322 static __SQLITE3_VALUE_NUMERIC_TYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4323 ::std::ptr::null_mut(),
4324 );
4325 pub unsafe fn sqlite3_value_numeric_type(
4326 arg1: *mut sqlite3_value,
4327 ) -> ::std::os::raw::c_int {
4328 let ptr = __SQLITE3_VALUE_NUMERIC_TYPE.load(::std::sync::atomic::Ordering::Acquire);
4329 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4330 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
4331 ptr,
4332 );
4333 (fun)(arg1)
4334 }
4335
4336 static __SQLITE3_VALUE_TEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4337 ::std::ptr::null_mut(),
4338 );
4339 pub unsafe fn sqlite3_value_text(
4340 arg1: *mut sqlite3_value,
4341 ) -> *const ::std::os::raw::c_uchar {
4342 let ptr = __SQLITE3_VALUE_TEXT.load(::std::sync::atomic::Ordering::Acquire);
4343 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4344 let fun: unsafe extern "C" fn(
4345 arg1: *mut sqlite3_value,
4346 ) -> *const ::std::os::raw::c_uchar = ::std::mem::transmute(ptr);
4347 (fun)(arg1)
4348 }
4349
4350 static __SQLITE3_VALUE_TYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4351 ::std::ptr::null_mut(),
4352 );
4353 pub unsafe fn sqlite3_value_type(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
4354 let ptr = __SQLITE3_VALUE_TYPE.load(::std::sync::atomic::Ordering::Acquire);
4355 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4356 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
4357 ptr,
4358 );
4359 (fun)(arg1)
4360 }
4361
4362 static __SQLITE3_OVERLOAD_FUNCTION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4363 ::std::ptr::null_mut(),
4364 );
4365 pub unsafe fn sqlite3_overload_function(
4366 arg1: *mut sqlite3,
4367 zFuncName: *const ::std::os::raw::c_char,
4368 nArg: ::std::os::raw::c_int,
4369 ) -> ::std::os::raw::c_int {
4370 let ptr = __SQLITE3_OVERLOAD_FUNCTION.load(::std::sync::atomic::Ordering::Acquire);
4371 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4372 let fun: unsafe extern "C" fn(
4373 arg1: *mut sqlite3,
4374 zFuncName: *const ::std::os::raw::c_char,
4375 nArg: ::std::os::raw::c_int,
4376 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4377 (fun)(arg1, zFuncName, nArg)
4378 }
4379
4380 static __SQLITE3_PREPARE_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4381 ::std::ptr::null_mut(),
4382 );
4383 pub unsafe fn sqlite3_prepare_v2(
4384 arg1: *mut sqlite3,
4385 arg2: *const ::std::os::raw::c_char,
4386 arg3: ::std::os::raw::c_int,
4387 arg4: *mut *mut sqlite3_stmt,
4388 arg5: *mut *const ::std::os::raw::c_char,
4389 ) -> ::std::os::raw::c_int {
4390 let ptr = __SQLITE3_PREPARE_V2.load(::std::sync::atomic::Ordering::Acquire);
4391 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4392 let fun: unsafe extern "C" fn(
4393 arg1: *mut sqlite3,
4394 arg2: *const ::std::os::raw::c_char,
4395 arg3: ::std::os::raw::c_int,
4396 arg4: *mut *mut sqlite3_stmt,
4397 arg5: *mut *const ::std::os::raw::c_char,
4398 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4399 (fun)(arg1, arg2, arg3, arg4, arg5)
4400 }
4401
4402 static __SQLITE3_CLEAR_BINDINGS: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4403 ::std::ptr::null_mut(),
4404 );
4405 pub unsafe fn sqlite3_clear_bindings(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
4406 let ptr = __SQLITE3_CLEAR_BINDINGS.load(::std::sync::atomic::Ordering::Acquire);
4407 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4408 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
4409 ptr,
4410 );
4411 (fun)(arg1)
4412 }
4413
4414 static __SQLITE3_CREATE_MODULE_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4415 ::std::ptr::null_mut(),
4416 );
4417 pub unsafe fn sqlite3_create_module_v2(
4418 arg1: *mut sqlite3,
4419 arg2: *const ::std::os::raw::c_char,
4420 arg3: *const sqlite3_module,
4421 arg4: *mut ::std::os::raw::c_void,
4422 xDestroy: ::std::option::Option<
4423 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4424 >,
4425 ) -> ::std::os::raw::c_int {
4426 let ptr = __SQLITE3_CREATE_MODULE_V2.load(::std::sync::atomic::Ordering::Acquire);
4427 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4428 let fun: unsafe extern "C" fn(
4429 arg1: *mut sqlite3,
4430 arg2: *const ::std::os::raw::c_char,
4431 arg3: *const sqlite3_module,
4432 arg4: *mut ::std::os::raw::c_void,
4433 xDestroy: ::std::option::Option<
4434 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4435 >,
4436 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4437 (fun)(arg1, arg2, arg3, arg4, xDestroy)
4438 }
4439
4440 static __SQLITE3_BIND_ZEROBLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4441 ::std::ptr::null_mut(),
4442 );
4443 pub unsafe fn sqlite3_bind_zeroblob(
4444 arg1: *mut sqlite3_stmt,
4445 arg2: ::std::os::raw::c_int,
4446 arg3: ::std::os::raw::c_int,
4447 ) -> ::std::os::raw::c_int {
4448 let ptr = __SQLITE3_BIND_ZEROBLOB.load(::std::sync::atomic::Ordering::Acquire);
4449 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4450 let fun: unsafe extern "C" fn(
4451 arg1: *mut sqlite3_stmt,
4452 arg2: ::std::os::raw::c_int,
4453 arg3: ::std::os::raw::c_int,
4454 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4455 (fun)(arg1, arg2, arg3)
4456 }
4457
4458 static __SQLITE3_BLOB_BYTES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4459 ::std::ptr::null_mut(),
4460 );
4461 pub unsafe fn sqlite3_blob_bytes(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int {
4462 let ptr = __SQLITE3_BLOB_BYTES.load(::std::sync::atomic::Ordering::Acquire);
4463 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4464 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int = ::std::mem::transmute(
4465 ptr,
4466 );
4467 (fun)(arg1)
4468 }
4469
4470 static __SQLITE3_BLOB_CLOSE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4471 ::std::ptr::null_mut(),
4472 );
4473 pub unsafe fn sqlite3_blob_close(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int {
4474 let ptr = __SQLITE3_BLOB_CLOSE.load(::std::sync::atomic::Ordering::Acquire);
4475 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4476 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_blob) -> ::std::os::raw::c_int = ::std::mem::transmute(
4477 ptr,
4478 );
4479 (fun)(arg1)
4480 }
4481
4482 static __SQLITE3_BLOB_OPEN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4483 ::std::ptr::null_mut(),
4484 );
4485 pub unsafe fn sqlite3_blob_open(
4486 arg1: *mut sqlite3,
4487 arg2: *const ::std::os::raw::c_char,
4488 arg3: *const ::std::os::raw::c_char,
4489 arg4: *const ::std::os::raw::c_char,
4490 arg5: sqlite3_int64,
4491 arg6: ::std::os::raw::c_int,
4492 arg7: *mut *mut sqlite3_blob,
4493 ) -> ::std::os::raw::c_int {
4494 let ptr = __SQLITE3_BLOB_OPEN.load(::std::sync::atomic::Ordering::Acquire);
4495 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4496 let fun: unsafe extern "C" fn(
4497 arg1: *mut sqlite3,
4498 arg2: *const ::std::os::raw::c_char,
4499 arg3: *const ::std::os::raw::c_char,
4500 arg4: *const ::std::os::raw::c_char,
4501 arg5: sqlite3_int64,
4502 arg6: ::std::os::raw::c_int,
4503 arg7: *mut *mut sqlite3_blob,
4504 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4505 (fun)(arg1, arg2, arg3, arg4, arg5, arg6, arg7)
4506 }
4507
4508 static __SQLITE3_BLOB_READ: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4509 ::std::ptr::null_mut(),
4510 );
4511 pub unsafe fn sqlite3_blob_read(
4512 arg1: *mut sqlite3_blob,
4513 arg2: *mut ::std::os::raw::c_void,
4514 arg3: ::std::os::raw::c_int,
4515 arg4: ::std::os::raw::c_int,
4516 ) -> ::std::os::raw::c_int {
4517 let ptr = __SQLITE3_BLOB_READ.load(::std::sync::atomic::Ordering::Acquire);
4518 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4519 let fun: unsafe extern "C" fn(
4520 arg1: *mut sqlite3_blob,
4521 arg2: *mut ::std::os::raw::c_void,
4522 arg3: ::std::os::raw::c_int,
4523 arg4: ::std::os::raw::c_int,
4524 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4525 (fun)(arg1, arg2, arg3, arg4)
4526 }
4527
4528 static __SQLITE3_BLOB_WRITE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4529 ::std::ptr::null_mut(),
4530 );
4531 pub unsafe fn sqlite3_blob_write(
4532 arg1: *mut sqlite3_blob,
4533 arg2: *const ::std::os::raw::c_void,
4534 arg3: ::std::os::raw::c_int,
4535 arg4: ::std::os::raw::c_int,
4536 ) -> ::std::os::raw::c_int {
4537 let ptr = __SQLITE3_BLOB_WRITE.load(::std::sync::atomic::Ordering::Acquire);
4538 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4539 let fun: unsafe extern "C" fn(
4540 arg1: *mut sqlite3_blob,
4541 arg2: *const ::std::os::raw::c_void,
4542 arg3: ::std::os::raw::c_int,
4543 arg4: ::std::os::raw::c_int,
4544 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4545 (fun)(arg1, arg2, arg3, arg4)
4546 }
4547
4548 static __SQLITE3_CREATE_COLLATION_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4549 ::std::ptr::null_mut(),
4550 );
4551 pub unsafe fn sqlite3_create_collation_v2(
4552 arg1: *mut sqlite3,
4553 arg2: *const ::std::os::raw::c_char,
4554 arg3: ::std::os::raw::c_int,
4555 arg4: *mut ::std::os::raw::c_void,
4556 arg5: ::std::option::Option<
4557 unsafe extern "C" fn(
4558 arg1: *mut ::std::os::raw::c_void,
4559 arg2: ::std::os::raw::c_int,
4560 arg3: *const ::std::os::raw::c_void,
4561 arg4: ::std::os::raw::c_int,
4562 arg5: *const ::std::os::raw::c_void,
4563 ) -> ::std::os::raw::c_int,
4564 >,
4565 arg6: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
4566 ) -> ::std::os::raw::c_int {
4567 let ptr = __SQLITE3_CREATE_COLLATION_V2.load(::std::sync::atomic::Ordering::Acquire);
4568 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4569 let fun: unsafe extern "C" fn(
4570 arg1: *mut sqlite3,
4571 arg2: *const ::std::os::raw::c_char,
4572 arg3: ::std::os::raw::c_int,
4573 arg4: *mut ::std::os::raw::c_void,
4574 arg5: ::std::option::Option<
4575 unsafe extern "C" fn(
4576 arg1: *mut ::std::os::raw::c_void,
4577 arg2: ::std::os::raw::c_int,
4578 arg3: *const ::std::os::raw::c_void,
4579 arg4: ::std::os::raw::c_int,
4580 arg5: *const ::std::os::raw::c_void,
4581 ) -> ::std::os::raw::c_int,
4582 >,
4583 arg6: ::std::option::Option<
4584 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
4585 >,
4586 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4587 (fun)(arg1, arg2, arg3, arg4, arg5, arg6)
4588 }
4589
4590 static __SQLITE3_FILE_CONTROL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4591 ::std::ptr::null_mut(),
4592 );
4593 pub unsafe fn sqlite3_file_control(
4594 arg1: *mut sqlite3,
4595 arg2: *const ::std::os::raw::c_char,
4596 arg3: ::std::os::raw::c_int,
4597 arg4: *mut ::std::os::raw::c_void,
4598 ) -> ::std::os::raw::c_int {
4599 let ptr = __SQLITE3_FILE_CONTROL.load(::std::sync::atomic::Ordering::Acquire);
4600 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4601 let fun: unsafe extern "C" fn(
4602 arg1: *mut sqlite3,
4603 arg2: *const ::std::os::raw::c_char,
4604 arg3: ::std::os::raw::c_int,
4605 arg4: *mut ::std::os::raw::c_void,
4606 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4607 (fun)(arg1, arg2, arg3, arg4)
4608 }
4609
4610 static __SQLITE3_MEMORY_HIGHWATER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4611 ::std::ptr::null_mut(),
4612 );
4613 pub unsafe fn sqlite3_memory_highwater(arg1: ::std::os::raw::c_int) -> sqlite3_int64 {
4614 let ptr = __SQLITE3_MEMORY_HIGHWATER.load(::std::sync::atomic::Ordering::Acquire);
4615 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4616 let fun: unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> sqlite3_int64 = ::std::mem::transmute(
4617 ptr,
4618 );
4619 (fun)(arg1)
4620 }
4621
4622 static __SQLITE3_MEMORY_USED: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4623 ::std::ptr::null_mut(),
4624 );
4625 pub unsafe fn sqlite3_memory_used() -> sqlite3_int64 {
4626 let ptr = __SQLITE3_MEMORY_USED.load(::std::sync::atomic::Ordering::Acquire);
4627 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4628 let fun: unsafe extern "C" fn() -> sqlite3_int64 = ::std::mem::transmute(ptr);
4629 (fun)()
4630 }
4631
4632 static __SQLITE3_MUTEX_ALLOC: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4633 ::std::ptr::null_mut(),
4634 );
4635 pub unsafe fn sqlite3_mutex_alloc(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex {
4636 let ptr = __SQLITE3_MUTEX_ALLOC.load(::std::sync::atomic::Ordering::Acquire);
4637 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4638 let fun: unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut sqlite3_mutex = ::std::mem::transmute(
4639 ptr,
4640 );
4641 (fun)(arg1)
4642 }
4643
4644 static __SQLITE3_MUTEX_ENTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4645 ::std::ptr::null_mut(),
4646 );
4647 pub unsafe fn sqlite3_mutex_enter(arg1: *mut sqlite3_mutex) {
4648 let ptr = __SQLITE3_MUTEX_ENTER.load(::std::sync::atomic::Ordering::Acquire);
4649 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4650 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_mutex) = ::std::mem::transmute(ptr);
4651 (fun)(arg1)
4652 }
4653
4654 static __SQLITE3_MUTEX_FREE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4655 ::std::ptr::null_mut(),
4656 );
4657 pub unsafe fn sqlite3_mutex_free(arg1: *mut sqlite3_mutex) {
4658 let ptr = __SQLITE3_MUTEX_FREE.load(::std::sync::atomic::Ordering::Acquire);
4659 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4660 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_mutex) = ::std::mem::transmute(ptr);
4661 (fun)(arg1)
4662 }
4663
4664 static __SQLITE3_MUTEX_LEAVE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4665 ::std::ptr::null_mut(),
4666 );
4667 pub unsafe fn sqlite3_mutex_leave(arg1: *mut sqlite3_mutex) {
4668 let ptr = __SQLITE3_MUTEX_LEAVE.load(::std::sync::atomic::Ordering::Acquire);
4669 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4670 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_mutex) = ::std::mem::transmute(ptr);
4671 (fun)(arg1)
4672 }
4673
4674 static __SQLITE3_MUTEX_TRY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4675 ::std::ptr::null_mut(),
4676 );
4677 pub unsafe fn sqlite3_mutex_try(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int {
4678 let ptr = __SQLITE3_MUTEX_TRY.load(::std::sync::atomic::Ordering::Acquire);
4679 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4680 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_mutex) -> ::std::os::raw::c_int = ::std::mem::transmute(
4681 ptr,
4682 );
4683 (fun)(arg1)
4684 }
4685
4686 static __SQLITE3_OPEN_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4687 ::std::ptr::null_mut(),
4688 );
4689 pub unsafe fn sqlite3_open_v2(
4690 arg1: *const ::std::os::raw::c_char,
4691 arg2: *mut *mut sqlite3,
4692 arg3: ::std::os::raw::c_int,
4693 arg4: *const ::std::os::raw::c_char,
4694 ) -> ::std::os::raw::c_int {
4695 let ptr = __SQLITE3_OPEN_V2.load(::std::sync::atomic::Ordering::Acquire);
4696 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4697 let fun: unsafe extern "C" fn(
4698 arg1: *const ::std::os::raw::c_char,
4699 arg2: *mut *mut sqlite3,
4700 arg3: ::std::os::raw::c_int,
4701 arg4: *const ::std::os::raw::c_char,
4702 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4703 (fun)(arg1, arg2, arg3, arg4)
4704 }
4705
4706 static __SQLITE3_RELEASE_MEMORY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4707 ::std::ptr::null_mut(),
4708 );
4709 pub unsafe fn sqlite3_release_memory(
4710 arg1: ::std::os::raw::c_int,
4711 ) -> ::std::os::raw::c_int {
4712 let ptr = __SQLITE3_RELEASE_MEMORY.load(::std::sync::atomic::Ordering::Acquire);
4713 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4714 let fun: unsafe extern "C" fn(
4715 arg1: ::std::os::raw::c_int,
4716 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4717 (fun)(arg1)
4718 }
4719
4720 static __SQLITE3_RESULT_ERROR_NOMEM: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4721 ::std::ptr::null_mut(),
4722 );
4723 pub unsafe fn sqlite3_result_error_nomem(arg1: *mut sqlite3_context) {
4724 let ptr = __SQLITE3_RESULT_ERROR_NOMEM.load(::std::sync::atomic::Ordering::Acquire);
4725 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4726 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context) = ::std::mem::transmute(
4727 ptr,
4728 );
4729 (fun)(arg1)
4730 }
4731
4732 static __SQLITE3_RESULT_ERROR_TOOBIG: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4733 ::std::ptr::null_mut(),
4734 );
4735 pub unsafe fn sqlite3_result_error_toobig(arg1: *mut sqlite3_context) {
4736 let ptr = __SQLITE3_RESULT_ERROR_TOOBIG.load(::std::sync::atomic::Ordering::Acquire);
4737 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4738 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context) = ::std::mem::transmute(
4739 ptr,
4740 );
4741 (fun)(arg1)
4742 }
4743
4744 static __SQLITE3_SLEEP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4745 ::std::ptr::null_mut(),
4746 );
4747 pub unsafe fn sqlite3_sleep(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int {
4748 let ptr = __SQLITE3_SLEEP.load(::std::sync::atomic::Ordering::Acquire);
4749 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4750 let fun: unsafe extern "C" fn(
4751 arg1: ::std::os::raw::c_int,
4752 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4753 (fun)(arg1)
4754 }
4755
4756 static __SQLITE3_SOFT_HEAP_LIMIT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4757 ::std::ptr::null_mut(),
4758 );
4759 pub unsafe fn sqlite3_soft_heap_limit(arg1: ::std::os::raw::c_int) {
4760 let ptr = __SQLITE3_SOFT_HEAP_LIMIT.load(::std::sync::atomic::Ordering::Acquire);
4761 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4762 let fun: unsafe extern "C" fn(arg1: ::std::os::raw::c_int) = ::std::mem::transmute(
4763 ptr,
4764 );
4765 (fun)(arg1)
4766 }
4767
4768 static __SQLITE3_VFS_FIND: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4769 ::std::ptr::null_mut(),
4770 );
4771 pub unsafe fn sqlite3_vfs_find(arg1: *const ::std::os::raw::c_char) -> *mut sqlite3_vfs {
4772 let ptr = __SQLITE3_VFS_FIND.load(::std::sync::atomic::Ordering::Acquire);
4773 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4774 let fun: unsafe extern "C" fn(
4775 arg1: *const ::std::os::raw::c_char,
4776 ) -> *mut sqlite3_vfs = ::std::mem::transmute(ptr);
4777 (fun)(arg1)
4778 }
4779
4780 static __SQLITE3_VFS_REGISTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4781 ::std::ptr::null_mut(),
4782 );
4783 pub unsafe fn sqlite3_vfs_register(
4784 arg1: *mut sqlite3_vfs,
4785 arg2: ::std::os::raw::c_int,
4786 ) -> ::std::os::raw::c_int {
4787 let ptr = __SQLITE3_VFS_REGISTER.load(::std::sync::atomic::Ordering::Acquire);
4788 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4789 let fun: unsafe extern "C" fn(
4790 arg1: *mut sqlite3_vfs,
4791 arg2: ::std::os::raw::c_int,
4792 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4793 (fun)(arg1, arg2)
4794 }
4795
4796 static __SQLITE3_VFS_UNREGISTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4797 ::std::ptr::null_mut(),
4798 );
4799 pub unsafe fn sqlite3_vfs_unregister(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int {
4800 let ptr = __SQLITE3_VFS_UNREGISTER.load(::std::sync::atomic::Ordering::Acquire);
4801 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4802 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_vfs) -> ::std::os::raw::c_int = ::std::mem::transmute(
4803 ptr,
4804 );
4805 (fun)(arg1)
4806 }
4807
4808 static __SQLITE3_THREADSAFE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4809 ::std::ptr::null_mut(),
4810 );
4811 pub unsafe fn sqlite3_threadsafe() -> ::std::os::raw::c_int {
4812 let ptr = __SQLITE3_THREADSAFE.load(::std::sync::atomic::Ordering::Acquire);
4813 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4814 let fun: unsafe extern "C" fn() -> ::std::os::raw::c_int = ::std::mem::transmute(
4815 ptr,
4816 );
4817 (fun)()
4818 }
4819
4820 static __SQLITE3_RESULT_ZEROBLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4821 ::std::ptr::null_mut(),
4822 );
4823 pub unsafe fn sqlite3_result_zeroblob(
4824 arg1: *mut sqlite3_context,
4825 arg2: ::std::os::raw::c_int,
4826 ) {
4827 let ptr = __SQLITE3_RESULT_ZEROBLOB.load(::std::sync::atomic::Ordering::Acquire);
4828 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4829 let fun: unsafe extern "C" fn(
4830 arg1: *mut sqlite3_context,
4831 arg2: ::std::os::raw::c_int,
4832 ) = ::std::mem::transmute(ptr);
4833 (fun)(arg1, arg2)
4834 }
4835
4836 static __SQLITE3_RESULT_ERROR_CODE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4837 ::std::ptr::null_mut(),
4838 );
4839 pub unsafe fn sqlite3_result_error_code(
4840 arg1: *mut sqlite3_context,
4841 arg2: ::std::os::raw::c_int,
4842 ) {
4843 let ptr = __SQLITE3_RESULT_ERROR_CODE.load(::std::sync::atomic::Ordering::Acquire);
4844 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4845 let fun: unsafe extern "C" fn(
4846 arg1: *mut sqlite3_context,
4847 arg2: ::std::os::raw::c_int,
4848 ) = ::std::mem::transmute(ptr);
4849 (fun)(arg1, arg2)
4850 }
4851
4852 static __SQLITE3_RANDOMNESS: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4853 ::std::ptr::null_mut(),
4854 );
4855 pub unsafe fn sqlite3_randomness(
4856 arg1: ::std::os::raw::c_int,
4857 arg2: *mut ::std::os::raw::c_void,
4858 ) {
4859 let ptr = __SQLITE3_RANDOMNESS.load(::std::sync::atomic::Ordering::Acquire);
4860 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4861 let fun: unsafe extern "C" fn(
4862 arg1: ::std::os::raw::c_int,
4863 arg2: *mut ::std::os::raw::c_void,
4864 ) = ::std::mem::transmute(ptr);
4865 (fun)(arg1, arg2)
4866 }
4867
4868 static __SQLITE3_CONTEXT_DB_HANDLE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4869 ::std::ptr::null_mut(),
4870 );
4871 pub unsafe fn sqlite3_context_db_handle(arg1: *mut sqlite3_context) -> *mut sqlite3 {
4872 let ptr = __SQLITE3_CONTEXT_DB_HANDLE.load(::std::sync::atomic::Ordering::Acquire);
4873 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4874 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context) -> *mut sqlite3 = ::std::mem::transmute(
4875 ptr,
4876 );
4877 (fun)(arg1)
4878 }
4879
4880 static __SQLITE3_EXTENDED_RESULT_CODES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4881 ::std::ptr::null_mut(),
4882 );
4883 pub unsafe fn sqlite3_extended_result_codes(
4884 arg1: *mut sqlite3,
4885 arg2: ::std::os::raw::c_int,
4886 ) -> ::std::os::raw::c_int {
4887 let ptr = __SQLITE3_EXTENDED_RESULT_CODES
4888 .load(::std::sync::atomic::Ordering::Acquire);
4889 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4890 let fun: unsafe extern "C" fn(
4891 arg1: *mut sqlite3,
4892 arg2: ::std::os::raw::c_int,
4893 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4894 (fun)(arg1, arg2)
4895 }
4896
4897 static __SQLITE3_LIMIT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4898 ::std::ptr::null_mut(),
4899 );
4900 pub unsafe fn sqlite3_limit(
4901 arg1: *mut sqlite3,
4902 arg2: ::std::os::raw::c_int,
4903 arg3: ::std::os::raw::c_int,
4904 ) -> ::std::os::raw::c_int {
4905 let ptr = __SQLITE3_LIMIT.load(::std::sync::atomic::Ordering::Acquire);
4906 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4907 let fun: unsafe extern "C" fn(
4908 arg1: *mut sqlite3,
4909 arg2: ::std::os::raw::c_int,
4910 arg3: ::std::os::raw::c_int,
4911 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4912 (fun)(arg1, arg2, arg3)
4913 }
4914
4915 static __SQLITE3_NEXT_STMT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4916 ::std::ptr::null_mut(),
4917 );
4918 pub unsafe fn sqlite3_next_stmt(
4919 arg1: *mut sqlite3,
4920 arg2: *mut sqlite3_stmt,
4921 ) -> *mut sqlite3_stmt {
4922 let ptr = __SQLITE3_NEXT_STMT.load(::std::sync::atomic::Ordering::Acquire);
4923 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4924 let fun: unsafe extern "C" fn(
4925 arg1: *mut sqlite3,
4926 arg2: *mut sqlite3_stmt,
4927 ) -> *mut sqlite3_stmt = ::std::mem::transmute(ptr);
4928 (fun)(arg1, arg2)
4929 }
4930
4931 static __SQLITE3_SQL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4932 ::std::ptr::null_mut(),
4933 );
4934 pub unsafe fn sqlite3_sql(arg1: *mut sqlite3_stmt) -> *const ::std::os::raw::c_char {
4935 let ptr = __SQLITE3_SQL.load(::std::sync::atomic::Ordering::Acquire);
4936 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4937 let fun: unsafe extern "C" fn(
4938 arg1: *mut sqlite3_stmt,
4939 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
4940 (fun)(arg1)
4941 }
4942
4943 static __SQLITE3_STATUS: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4944 ::std::ptr::null_mut(),
4945 );
4946 pub unsafe fn sqlite3_status(
4947 arg1: ::std::os::raw::c_int,
4948 arg2: *mut ::std::os::raw::c_int,
4949 arg3: *mut ::std::os::raw::c_int,
4950 arg4: ::std::os::raw::c_int,
4951 ) -> ::std::os::raw::c_int {
4952 let ptr = __SQLITE3_STATUS.load(::std::sync::atomic::Ordering::Acquire);
4953 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4954 let fun: unsafe extern "C" fn(
4955 arg1: ::std::os::raw::c_int,
4956 arg2: *mut ::std::os::raw::c_int,
4957 arg3: *mut ::std::os::raw::c_int,
4958 arg4: ::std::os::raw::c_int,
4959 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
4960 (fun)(arg1, arg2, arg3, arg4)
4961 }
4962
4963 static __SQLITE3_BACKUP_FINISH: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4964 ::std::ptr::null_mut(),
4965 );
4966 pub unsafe fn sqlite3_backup_finish(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int {
4967 let ptr = __SQLITE3_BACKUP_FINISH.load(::std::sync::atomic::Ordering::Acquire);
4968 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4969 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int = ::std::mem::transmute(
4970 ptr,
4971 );
4972 (fun)(arg1)
4973 }
4974
4975 static __SQLITE3_BACKUP_INIT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4976 ::std::ptr::null_mut(),
4977 );
4978 pub unsafe fn sqlite3_backup_init(
4979 arg1: *mut sqlite3,
4980 arg2: *const ::std::os::raw::c_char,
4981 arg3: *mut sqlite3,
4982 arg4: *const ::std::os::raw::c_char,
4983 ) -> *mut sqlite3_backup {
4984 let ptr = __SQLITE3_BACKUP_INIT.load(::std::sync::atomic::Ordering::Acquire);
4985 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
4986 let fun: unsafe extern "C" fn(
4987 arg1: *mut sqlite3,
4988 arg2: *const ::std::os::raw::c_char,
4989 arg3: *mut sqlite3,
4990 arg4: *const ::std::os::raw::c_char,
4991 ) -> *mut sqlite3_backup = ::std::mem::transmute(ptr);
4992 (fun)(arg1, arg2, arg3, arg4)
4993 }
4994
4995 static __SQLITE3_BACKUP_PAGECOUNT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
4996 ::std::ptr::null_mut(),
4997 );
4998 pub unsafe fn sqlite3_backup_pagecount(
4999 arg1: *mut sqlite3_backup,
5000 ) -> ::std::os::raw::c_int {
5001 let ptr = __SQLITE3_BACKUP_PAGECOUNT.load(::std::sync::atomic::Ordering::Acquire);
5002 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5003 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int = ::std::mem::transmute(
5004 ptr,
5005 );
5006 (fun)(arg1)
5007 }
5008
5009 static __SQLITE3_BACKUP_REMAINING: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5010 ::std::ptr::null_mut(),
5011 );
5012 pub unsafe fn sqlite3_backup_remaining(
5013 arg1: *mut sqlite3_backup,
5014 ) -> ::std::os::raw::c_int {
5015 let ptr = __SQLITE3_BACKUP_REMAINING.load(::std::sync::atomic::Ordering::Acquire);
5016 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5017 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_backup) -> ::std::os::raw::c_int = ::std::mem::transmute(
5018 ptr,
5019 );
5020 (fun)(arg1)
5021 }
5022
5023 static __SQLITE3_BACKUP_STEP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5024 ::std::ptr::null_mut(),
5025 );
5026 pub unsafe fn sqlite3_backup_step(
5027 arg1: *mut sqlite3_backup,
5028 arg2: ::std::os::raw::c_int,
5029 ) -> ::std::os::raw::c_int {
5030 let ptr = __SQLITE3_BACKUP_STEP.load(::std::sync::atomic::Ordering::Acquire);
5031 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5032 let fun: unsafe extern "C" fn(
5033 arg1: *mut sqlite3_backup,
5034 arg2: ::std::os::raw::c_int,
5035 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5036 (fun)(arg1, arg2)
5037 }
5038
5039 static __SQLITE3_COMPILEOPTION_GET: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5040 ::std::ptr::null_mut(),
5041 );
5042 pub unsafe fn sqlite3_compileoption_get(
5043 arg1: ::std::os::raw::c_int,
5044 ) -> *const ::std::os::raw::c_char {
5045 let ptr = __SQLITE3_COMPILEOPTION_GET.load(::std::sync::atomic::Ordering::Acquire);
5046 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5047 let fun: unsafe extern "C" fn(
5048 arg1: ::std::os::raw::c_int,
5049 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
5050 (fun)(arg1)
5051 }
5052
5053 static __SQLITE3_COMPILEOPTION_USED: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5054 ::std::ptr::null_mut(),
5055 );
5056 pub unsafe fn sqlite3_compileoption_used(
5057 arg1: *const ::std::os::raw::c_char,
5058 ) -> ::std::os::raw::c_int {
5059 let ptr = __SQLITE3_COMPILEOPTION_USED.load(::std::sync::atomic::Ordering::Acquire);
5060 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5061 let fun: unsafe extern "C" fn(
5062 arg1: *const ::std::os::raw::c_char,
5063 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5064 (fun)(arg1)
5065 }
5066
5067 static __SQLITE3_CREATE_FUNCTION_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5068 ::std::ptr::null_mut(),
5069 );
5070 pub unsafe fn sqlite3_create_function_v2(
5071 arg1: *mut sqlite3,
5072 arg2: *const ::std::os::raw::c_char,
5073 arg3: ::std::os::raw::c_int,
5074 arg4: ::std::os::raw::c_int,
5075 arg5: *mut ::std::os::raw::c_void,
5076 xFunc: ::std::option::Option<
5077 unsafe extern "C" fn(
5078 arg1: *mut sqlite3_context,
5079 arg2: ::std::os::raw::c_int,
5080 arg3: *mut *mut sqlite3_value,
5081 ),
5082 >,
5083 xStep: ::std::option::Option<
5084 unsafe extern "C" fn(
5085 arg1: *mut sqlite3_context,
5086 arg2: ::std::os::raw::c_int,
5087 arg3: *mut *mut sqlite3_value,
5088 ),
5089 >,
5090 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
5091 xDestroy: ::std::option::Option<
5092 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5093 >,
5094 ) -> ::std::os::raw::c_int {
5095 let ptr = __SQLITE3_CREATE_FUNCTION_V2.load(::std::sync::atomic::Ordering::Acquire);
5096 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5097 let fun: unsafe extern "C" fn(
5098 arg1: *mut sqlite3,
5099 arg2: *const ::std::os::raw::c_char,
5100 arg3: ::std::os::raw::c_int,
5101 arg4: ::std::os::raw::c_int,
5102 arg5: *mut ::std::os::raw::c_void,
5103 xFunc: ::std::option::Option<
5104 unsafe extern "C" fn(
5105 arg1: *mut sqlite3_context,
5106 arg2: ::std::os::raw::c_int,
5107 arg3: *mut *mut sqlite3_value,
5108 ),
5109 >,
5110 xStep: ::std::option::Option<
5111 unsafe extern "C" fn(
5112 arg1: *mut sqlite3_context,
5113 arg2: ::std::os::raw::c_int,
5114 arg3: *mut *mut sqlite3_value,
5115 ),
5116 >,
5117 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
5118 xDestroy: ::std::option::Option<
5119 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5120 >,
5121 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5122 (fun)(arg1, arg2, arg3, arg4, arg5, xFunc, xStep, xFinal, xDestroy)
5123 }
5124
5125 static __SQLITE3_DB_CONFIG: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5126 ::std::ptr::null_mut(),
5127 );
5128 pub unsafe fn sqlite3_db_config(
5129 arg1: *mut sqlite3,
5130 arg2: ::std::os::raw::c_int,
5131 arg3: ::std::os::raw::c_int,
5132 arg4: *mut ::std::os::raw::c_int,
5133 ) -> ::std::os::raw::c_int {
5134 let ptr = __SQLITE3_DB_CONFIG.load(::std::sync::atomic::Ordering::Acquire);
5135 assert!(! ptr.is_null(), "SQLite API not initialized");
5136 let fun: unsafe extern "C" fn(
5137 arg1: *mut sqlite3,
5138 arg2: ::std::os::raw::c_int,
5139 ...
5140 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5141 (fun)(arg1, arg2, arg3, arg4)
5142 }
5143
5144 static __SQLITE3_DB_MUTEX: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5145 ::std::ptr::null_mut(),
5146 );
5147 pub unsafe fn sqlite3_db_mutex(arg1: *mut sqlite3) -> *mut sqlite3_mutex {
5148 let ptr = __SQLITE3_DB_MUTEX.load(::std::sync::atomic::Ordering::Acquire);
5149 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5150 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> *mut sqlite3_mutex = ::std::mem::transmute(
5151 ptr,
5152 );
5153 (fun)(arg1)
5154 }
5155
5156 static __SQLITE3_DB_STATUS: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5157 ::std::ptr::null_mut(),
5158 );
5159 pub unsafe fn sqlite3_db_status(
5160 arg1: *mut sqlite3,
5161 arg2: ::std::os::raw::c_int,
5162 arg3: *mut ::std::os::raw::c_int,
5163 arg4: *mut ::std::os::raw::c_int,
5164 arg5: ::std::os::raw::c_int,
5165 ) -> ::std::os::raw::c_int {
5166 let ptr = __SQLITE3_DB_STATUS.load(::std::sync::atomic::Ordering::Acquire);
5167 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5168 let fun: unsafe extern "C" fn(
5169 arg1: *mut sqlite3,
5170 arg2: ::std::os::raw::c_int,
5171 arg3: *mut ::std::os::raw::c_int,
5172 arg4: *mut ::std::os::raw::c_int,
5173 arg5: ::std::os::raw::c_int,
5174 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5175 (fun)(arg1, arg2, arg3, arg4, arg5)
5176 }
5177
5178 static __SQLITE3_EXTENDED_ERRCODE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5179 ::std::ptr::null_mut(),
5180 );
5181 pub unsafe fn sqlite3_extended_errcode(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
5182 let ptr = __SQLITE3_EXTENDED_ERRCODE.load(::std::sync::atomic::Ordering::Acquire);
5183 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5184 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
5185 ptr,
5186 );
5187 (fun)(arg1)
5188 }
5189
5190 static __SQLITE3_LOG: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5191 ::std::ptr::null_mut(),
5192 );
5193 pub unsafe fn sqlite3_log(
5194 arg1: ::std::os::raw::c_int,
5195 arg2: *const ::std::os::raw::c_char,
5196 arg3: *const ::std::os::raw::c_char,
5197 ) {
5198 let ptr = __SQLITE3_LOG.load(::std::sync::atomic::Ordering::Acquire);
5199 assert!(! ptr.is_null(), "SQLite API not initialized");
5200 let fun: unsafe extern "C" fn(
5201 arg1: ::std::os::raw::c_int,
5202 arg2: *const ::std::os::raw::c_char,
5203 ...
5204 ) = ::std::mem::transmute(ptr);
5205 (fun)(arg1, arg2, arg3)
5206 }
5207
5208 static __SQLITE3_SOFT_HEAP_LIMIT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5209 ::std::ptr::null_mut(),
5210 );
5211 pub unsafe fn sqlite3_soft_heap_limit64(arg1: sqlite3_int64) -> sqlite3_int64 {
5212 let ptr = __SQLITE3_SOFT_HEAP_LIMIT64.load(::std::sync::atomic::Ordering::Acquire);
5213 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5214 let fun: unsafe extern "C" fn(arg1: sqlite3_int64) -> sqlite3_int64 = ::std::mem::transmute(
5215 ptr,
5216 );
5217 (fun)(arg1)
5218 }
5219
5220 static __SQLITE3_SOURCEID: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5221 ::std::ptr::null_mut(),
5222 );
5223 pub unsafe fn sqlite3_sourceid() -> *const ::std::os::raw::c_char {
5224 let ptr = __SQLITE3_SOURCEID.load(::std::sync::atomic::Ordering::Acquire);
5225 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5226 let fun: unsafe extern "C" fn() -> *const ::std::os::raw::c_char = ::std::mem::transmute(
5227 ptr,
5228 );
5229 (fun)()
5230 }
5231
5232 static __SQLITE3_STMT_STATUS: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5233 ::std::ptr::null_mut(),
5234 );
5235 pub unsafe fn sqlite3_stmt_status(
5236 arg1: *mut sqlite3_stmt,
5237 arg2: ::std::os::raw::c_int,
5238 arg3: ::std::os::raw::c_int,
5239 ) -> ::std::os::raw::c_int {
5240 let ptr = __SQLITE3_STMT_STATUS.load(::std::sync::atomic::Ordering::Acquire);
5241 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5242 let fun: unsafe extern "C" fn(
5243 arg1: *mut sqlite3_stmt,
5244 arg2: ::std::os::raw::c_int,
5245 arg3: ::std::os::raw::c_int,
5246 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5247 (fun)(arg1, arg2, arg3)
5248 }
5249
5250 static __SQLITE3_STRNICMP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5251 ::std::ptr::null_mut(),
5252 );
5253 pub unsafe fn sqlite3_strnicmp(
5254 arg1: *const ::std::os::raw::c_char,
5255 arg2: *const ::std::os::raw::c_char,
5256 arg3: ::std::os::raw::c_int,
5257 ) -> ::std::os::raw::c_int {
5258 let ptr = __SQLITE3_STRNICMP.load(::std::sync::atomic::Ordering::Acquire);
5259 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5260 let fun: unsafe extern "C" fn(
5261 arg1: *const ::std::os::raw::c_char,
5262 arg2: *const ::std::os::raw::c_char,
5263 arg3: ::std::os::raw::c_int,
5264 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5265 (fun)(arg1, arg2, arg3)
5266 }
5267
5268 static __SQLITE3_UNLOCK_NOTIFY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5269 ::std::ptr::null_mut(),
5270 );
5271 pub unsafe fn sqlite3_unlock_notify(
5272 arg1: *mut sqlite3,
5273 arg2: ::std::option::Option<
5274 unsafe extern "C" fn(
5275 arg1: *mut *mut ::std::os::raw::c_void,
5276 arg2: ::std::os::raw::c_int,
5277 ),
5278 >,
5279 arg3: *mut ::std::os::raw::c_void,
5280 ) -> ::std::os::raw::c_int {
5281 let ptr = __SQLITE3_UNLOCK_NOTIFY.load(::std::sync::atomic::Ordering::Acquire);
5282 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5283 let fun: unsafe extern "C" fn(
5284 arg1: *mut sqlite3,
5285 arg2: ::std::option::Option<
5286 unsafe extern "C" fn(
5287 arg1: *mut *mut ::std::os::raw::c_void,
5288 arg2: ::std::os::raw::c_int,
5289 ),
5290 >,
5291 arg3: *mut ::std::os::raw::c_void,
5292 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5293 (fun)(arg1, arg2, arg3)
5294 }
5295
5296 static __SQLITE3_WAL_AUTOCHECKPOINT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5297 ::std::ptr::null_mut(),
5298 );
5299 pub unsafe fn sqlite3_wal_autocheckpoint(
5300 arg1: *mut sqlite3,
5301 arg2: ::std::os::raw::c_int,
5302 ) -> ::std::os::raw::c_int {
5303 let ptr = __SQLITE3_WAL_AUTOCHECKPOINT.load(::std::sync::atomic::Ordering::Acquire);
5304 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5305 let fun: unsafe extern "C" fn(
5306 arg1: *mut sqlite3,
5307 arg2: ::std::os::raw::c_int,
5308 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5309 (fun)(arg1, arg2)
5310 }
5311
5312 static __SQLITE3_WAL_CHECKPOINT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5313 ::std::ptr::null_mut(),
5314 );
5315 pub unsafe fn sqlite3_wal_checkpoint(
5316 arg1: *mut sqlite3,
5317 arg2: *const ::std::os::raw::c_char,
5318 ) -> ::std::os::raw::c_int {
5319 let ptr = __SQLITE3_WAL_CHECKPOINT.load(::std::sync::atomic::Ordering::Acquire);
5320 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5321 let fun: unsafe extern "C" fn(
5322 arg1: *mut sqlite3,
5323 arg2: *const ::std::os::raw::c_char,
5324 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5325 (fun)(arg1, arg2)
5326 }
5327
5328 static __SQLITE3_WAL_HOOK: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5329 ::std::ptr::null_mut(),
5330 );
5331 pub unsafe fn sqlite3_wal_hook(
5332 arg1: *mut sqlite3,
5333 arg2: ::std::option::Option<
5334 unsafe extern "C" fn(
5335 arg1: *mut ::std::os::raw::c_void,
5336 arg2: *mut sqlite3,
5337 arg3: *const ::std::os::raw::c_char,
5338 arg4: ::std::os::raw::c_int,
5339 ) -> ::std::os::raw::c_int,
5340 >,
5341 arg3: *mut ::std::os::raw::c_void,
5342 ) -> *mut ::std::os::raw::c_void {
5343 let ptr = __SQLITE3_WAL_HOOK.load(::std::sync::atomic::Ordering::Acquire);
5344 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5345 let fun: unsafe extern "C" fn(
5346 arg1: *mut sqlite3,
5347 arg2: ::std::option::Option<
5348 unsafe extern "C" fn(
5349 arg1: *mut ::std::os::raw::c_void,
5350 arg2: *mut sqlite3,
5351 arg3: *const ::std::os::raw::c_char,
5352 arg4: ::std::os::raw::c_int,
5353 ) -> ::std::os::raw::c_int,
5354 >,
5355 arg3: *mut ::std::os::raw::c_void,
5356 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
5357 (fun)(arg1, arg2, arg3)
5358 }
5359
5360 static __SQLITE3_BLOB_REOPEN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5361 ::std::ptr::null_mut(),
5362 );
5363 pub unsafe fn sqlite3_blob_reopen(
5364 arg1: *mut sqlite3_blob,
5365 arg2: sqlite3_int64,
5366 ) -> ::std::os::raw::c_int {
5367 let ptr = __SQLITE3_BLOB_REOPEN.load(::std::sync::atomic::Ordering::Acquire);
5368 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5369 let fun: unsafe extern "C" fn(
5370 arg1: *mut sqlite3_blob,
5371 arg2: sqlite3_int64,
5372 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5373 (fun)(arg1, arg2)
5374 }
5375
5376 static __SQLITE3_VTAB_CONFIG: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5377 ::std::ptr::null_mut(),
5378 );
5379 pub unsafe fn sqlite3_vtab_config(
5380 arg1: *mut sqlite3,
5381 op: ::std::os::raw::c_int,
5382 ) -> ::std::os::raw::c_int {
5383 let ptr = __SQLITE3_VTAB_CONFIG.load(::std::sync::atomic::Ordering::Acquire);
5384 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5385 let fun: unsafe extern "C" fn(
5386 arg1: *mut sqlite3,
5387 op: ::std::os::raw::c_int,
5388 ...
5389 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5390 (fun)(arg1, op)
5391 }
5392
5393 static __SQLITE3_VTAB_ON_CONFLICT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5394 ::std::ptr::null_mut(),
5395 );
5396 pub unsafe fn sqlite3_vtab_on_conflict(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
5397 let ptr = __SQLITE3_VTAB_ON_CONFLICT.load(::std::sync::atomic::Ordering::Acquire);
5398 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5399 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
5400 ptr,
5401 );
5402 (fun)(arg1)
5403 }
5404
5405 static __SQLITE3_DB_FILENAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5406 ::std::ptr::null_mut(),
5407 );
5408 pub unsafe fn sqlite3_db_filename(
5409 arg1: *mut sqlite3,
5410 arg2: *const ::std::os::raw::c_char,
5411 ) -> *const ::std::os::raw::c_char {
5412 let ptr = __SQLITE3_DB_FILENAME.load(::std::sync::atomic::Ordering::Acquire);
5413 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5414 let fun: unsafe extern "C" fn(
5415 arg1: *mut sqlite3,
5416 arg2: *const ::std::os::raw::c_char,
5417 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
5418 (fun)(arg1, arg2)
5419 }
5420
5421 static __SQLITE3_DB_READONLY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5422 ::std::ptr::null_mut(),
5423 );
5424 pub unsafe fn sqlite3_db_readonly(
5425 arg1: *mut sqlite3,
5426 arg2: *const ::std::os::raw::c_char,
5427 ) -> ::std::os::raw::c_int {
5428 let ptr = __SQLITE3_DB_READONLY.load(::std::sync::atomic::Ordering::Acquire);
5429 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5430 let fun: unsafe extern "C" fn(
5431 arg1: *mut sqlite3,
5432 arg2: *const ::std::os::raw::c_char,
5433 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5434 (fun)(arg1, arg2)
5435 }
5436
5437 static __SQLITE3_DB_RELEASE_MEMORY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5438 ::std::ptr::null_mut(),
5439 );
5440 pub unsafe fn sqlite3_db_release_memory(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
5441 let ptr = __SQLITE3_DB_RELEASE_MEMORY.load(::std::sync::atomic::Ordering::Acquire);
5442 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5443 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
5444 ptr,
5445 );
5446 (fun)(arg1)
5447 }
5448
5449 static __SQLITE3_ERRSTR: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5450 ::std::ptr::null_mut(),
5451 );
5452 pub unsafe fn sqlite3_errstr(
5453 arg1: ::std::os::raw::c_int,
5454 ) -> *const ::std::os::raw::c_char {
5455 let ptr = __SQLITE3_ERRSTR.load(::std::sync::atomic::Ordering::Acquire);
5456 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5457 let fun: unsafe extern "C" fn(
5458 arg1: ::std::os::raw::c_int,
5459 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
5460 (fun)(arg1)
5461 }
5462
5463 static __SQLITE3_STMT_BUSY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5464 ::std::ptr::null_mut(),
5465 );
5466 pub unsafe fn sqlite3_stmt_busy(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
5467 let ptr = __SQLITE3_STMT_BUSY.load(::std::sync::atomic::Ordering::Acquire);
5468 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5469 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
5470 ptr,
5471 );
5472 (fun)(arg1)
5473 }
5474
5475 static __SQLITE3_STMT_READONLY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5476 ::std::ptr::null_mut(),
5477 );
5478 pub unsafe fn sqlite3_stmt_readonly(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
5479 let ptr = __SQLITE3_STMT_READONLY.load(::std::sync::atomic::Ordering::Acquire);
5480 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5481 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
5482 ptr,
5483 );
5484 (fun)(arg1)
5485 }
5486
5487 static __SQLITE3_STRICMP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5488 ::std::ptr::null_mut(),
5489 );
5490 pub unsafe fn sqlite3_stricmp(
5491 arg1: *const ::std::os::raw::c_char,
5492 arg2: *const ::std::os::raw::c_char,
5493 ) -> ::std::os::raw::c_int {
5494 let ptr = __SQLITE3_STRICMP.load(::std::sync::atomic::Ordering::Acquire);
5495 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5496 let fun: unsafe extern "C" fn(
5497 arg1: *const ::std::os::raw::c_char,
5498 arg2: *const ::std::os::raw::c_char,
5499 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5500 (fun)(arg1, arg2)
5501 }
5502
5503 static __SQLITE3_URI_BOOLEAN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5504 ::std::ptr::null_mut(),
5505 );
5506 pub unsafe fn sqlite3_uri_boolean(
5507 arg1: *const ::std::os::raw::c_char,
5508 arg2: *const ::std::os::raw::c_char,
5509 arg3: ::std::os::raw::c_int,
5510 ) -> ::std::os::raw::c_int {
5511 let ptr = __SQLITE3_URI_BOOLEAN.load(::std::sync::atomic::Ordering::Acquire);
5512 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5513 let fun: unsafe extern "C" fn(
5514 arg1: *const ::std::os::raw::c_char,
5515 arg2: *const ::std::os::raw::c_char,
5516 arg3: ::std::os::raw::c_int,
5517 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5518 (fun)(arg1, arg2, arg3)
5519 }
5520
5521 static __SQLITE3_URI_INT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5522 ::std::ptr::null_mut(),
5523 );
5524 pub unsafe fn sqlite3_uri_int64(
5525 arg1: *const ::std::os::raw::c_char,
5526 arg2: *const ::std::os::raw::c_char,
5527 arg3: sqlite3_int64,
5528 ) -> sqlite3_int64 {
5529 let ptr = __SQLITE3_URI_INT64.load(::std::sync::atomic::Ordering::Acquire);
5530 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5531 let fun: unsafe extern "C" fn(
5532 arg1: *const ::std::os::raw::c_char,
5533 arg2: *const ::std::os::raw::c_char,
5534 arg3: sqlite3_int64,
5535 ) -> sqlite3_int64 = ::std::mem::transmute(ptr);
5536 (fun)(arg1, arg2, arg3)
5537 }
5538
5539 static __SQLITE3_URI_PARAMETER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5540 ::std::ptr::null_mut(),
5541 );
5542 pub unsafe fn sqlite3_uri_parameter(
5543 arg1: *const ::std::os::raw::c_char,
5544 arg2: *const ::std::os::raw::c_char,
5545 ) -> *const ::std::os::raw::c_char {
5546 let ptr = __SQLITE3_URI_PARAMETER.load(::std::sync::atomic::Ordering::Acquire);
5547 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5548 let fun: unsafe extern "C" fn(
5549 arg1: *const ::std::os::raw::c_char,
5550 arg2: *const ::std::os::raw::c_char,
5551 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
5552 (fun)(arg1, arg2)
5553 }
5554
5555 static __SQLITE3_WAL_CHECKPOINT_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5556 ::std::ptr::null_mut(),
5557 );
5558 pub unsafe fn sqlite3_wal_checkpoint_v2(
5559 arg1: *mut sqlite3,
5560 arg2: *const ::std::os::raw::c_char,
5561 arg3: ::std::os::raw::c_int,
5562 arg4: *mut ::std::os::raw::c_int,
5563 arg5: *mut ::std::os::raw::c_int,
5564 ) -> ::std::os::raw::c_int {
5565 let ptr = __SQLITE3_WAL_CHECKPOINT_V2.load(::std::sync::atomic::Ordering::Acquire);
5566 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5567 let fun: unsafe extern "C" fn(
5568 arg1: *mut sqlite3,
5569 arg2: *const ::std::os::raw::c_char,
5570 arg3: ::std::os::raw::c_int,
5571 arg4: *mut ::std::os::raw::c_int,
5572 arg5: *mut ::std::os::raw::c_int,
5573 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5574 (fun)(arg1, arg2, arg3, arg4, arg5)
5575 }
5576
5577 static __SQLITE3_AUTO_EXTENSION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5578 ::std::ptr::null_mut(),
5579 );
5580 pub unsafe fn sqlite3_auto_extension(
5581 arg1: ::std::option::Option<unsafe extern "C" fn()>,
5582 ) -> ::std::os::raw::c_int {
5583 let ptr = __SQLITE3_AUTO_EXTENSION.load(::std::sync::atomic::Ordering::Acquire);
5584 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5585 let fun: unsafe extern "C" fn(
5586 arg1: ::std::option::Option<unsafe extern "C" fn()>,
5587 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5588 (fun)(arg1)
5589 }
5590
5591 static __SQLITE3_BIND_BLOB64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5592 ::std::ptr::null_mut(),
5593 );
5594 pub unsafe fn sqlite3_bind_blob64(
5595 arg1: *mut sqlite3_stmt,
5596 arg2: ::std::os::raw::c_int,
5597 arg3: *const ::std::os::raw::c_void,
5598 arg4: sqlite3_uint64,
5599 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5600 ) -> ::std::os::raw::c_int {
5601 let ptr = __SQLITE3_BIND_BLOB64.load(::std::sync::atomic::Ordering::Acquire);
5602 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5603 let fun: unsafe extern "C" fn(
5604 arg1: *mut sqlite3_stmt,
5605 arg2: ::std::os::raw::c_int,
5606 arg3: *const ::std::os::raw::c_void,
5607 arg4: sqlite3_uint64,
5608 arg5: ::std::option::Option<
5609 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5610 >,
5611 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5612 (fun)(arg1, arg2, arg3, arg4, arg5)
5613 }
5614
5615 static __SQLITE3_BIND_TEXT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5616 ::std::ptr::null_mut(),
5617 );
5618 pub unsafe fn sqlite3_bind_text64(
5619 arg1: *mut sqlite3_stmt,
5620 arg2: ::std::os::raw::c_int,
5621 arg3: *const ::std::os::raw::c_char,
5622 arg4: sqlite3_uint64,
5623 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5624 arg6: ::std::os::raw::c_uchar,
5625 ) -> ::std::os::raw::c_int {
5626 let ptr = __SQLITE3_BIND_TEXT64.load(::std::sync::atomic::Ordering::Acquire);
5627 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5628 let fun: unsafe extern "C" fn(
5629 arg1: *mut sqlite3_stmt,
5630 arg2: ::std::os::raw::c_int,
5631 arg3: *const ::std::os::raw::c_char,
5632 arg4: sqlite3_uint64,
5633 arg5: ::std::option::Option<
5634 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5635 >,
5636 arg6: ::std::os::raw::c_uchar,
5637 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5638 (fun)(arg1, arg2, arg3, arg4, arg5, arg6)
5639 }
5640
5641 static __SQLITE3_CANCEL_AUTO_EXTENSION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5642 ::std::ptr::null_mut(),
5643 );
5644 pub unsafe fn sqlite3_cancel_auto_extension(
5645 arg1: ::std::option::Option<unsafe extern "C" fn()>,
5646 ) -> ::std::os::raw::c_int {
5647 let ptr = __SQLITE3_CANCEL_AUTO_EXTENSION
5648 .load(::std::sync::atomic::Ordering::Acquire);
5649 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5650 let fun: unsafe extern "C" fn(
5651 arg1: ::std::option::Option<unsafe extern "C" fn()>,
5652 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5653 (fun)(arg1)
5654 }
5655
5656 static __SQLITE3_LOAD_EXTENSION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5657 ::std::ptr::null_mut(),
5658 );
5659 pub unsafe fn sqlite3_load_extension(
5660 arg1: *mut sqlite3,
5661 arg2: *const ::std::os::raw::c_char,
5662 arg3: *const ::std::os::raw::c_char,
5663 arg4: *mut *mut ::std::os::raw::c_char,
5664 ) -> ::std::os::raw::c_int {
5665 let ptr = __SQLITE3_LOAD_EXTENSION.load(::std::sync::atomic::Ordering::Acquire);
5666 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5667 let fun: unsafe extern "C" fn(
5668 arg1: *mut sqlite3,
5669 arg2: *const ::std::os::raw::c_char,
5670 arg3: *const ::std::os::raw::c_char,
5671 arg4: *mut *mut ::std::os::raw::c_char,
5672 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5673 (fun)(arg1, arg2, arg3, arg4)
5674 }
5675
5676 static __SQLITE3_MALLOC64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5677 ::std::ptr::null_mut(),
5678 );
5679 pub unsafe fn sqlite3_malloc64(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void {
5680 let ptr = __SQLITE3_MALLOC64.load(::std::sync::atomic::Ordering::Acquire);
5681 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5682 let fun: unsafe extern "C" fn(arg1: sqlite3_uint64) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(
5683 ptr,
5684 );
5685 (fun)(arg1)
5686 }
5687
5688 static __SQLITE3_MSIZE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5689 ::std::ptr::null_mut(),
5690 );
5691 pub unsafe fn sqlite3_msize(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64 {
5692 let ptr = __SQLITE3_MSIZE.load(::std::sync::atomic::Ordering::Acquire);
5693 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5694 let fun: unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> sqlite3_uint64 = ::std::mem::transmute(
5695 ptr,
5696 );
5697 (fun)(arg1)
5698 }
5699
5700 static __SQLITE3_REALLOC64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5701 ::std::ptr::null_mut(),
5702 );
5703 pub unsafe fn sqlite3_realloc64(
5704 arg1: *mut ::std::os::raw::c_void,
5705 arg2: sqlite3_uint64,
5706 ) -> *mut ::std::os::raw::c_void {
5707 let ptr = __SQLITE3_REALLOC64.load(::std::sync::atomic::Ordering::Acquire);
5708 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5709 let fun: unsafe extern "C" fn(
5710 arg1: *mut ::std::os::raw::c_void,
5711 arg2: sqlite3_uint64,
5712 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
5713 (fun)(arg1, arg2)
5714 }
5715
5716 static __SQLITE3_RESET_AUTO_EXTENSION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5717 ::std::ptr::null_mut(),
5718 );
5719 pub unsafe fn sqlite3_reset_auto_extension() {
5720 let ptr = __SQLITE3_RESET_AUTO_EXTENSION
5721 .load(::std::sync::atomic::Ordering::Acquire);
5722 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5723 let fun: unsafe extern "C" fn() = ::std::mem::transmute(ptr);
5724 (fun)()
5725 }
5726
5727 static __SQLITE3_RESULT_BLOB64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5728 ::std::ptr::null_mut(),
5729 );
5730 pub unsafe fn sqlite3_result_blob64(
5731 arg1: *mut sqlite3_context,
5732 arg2: *const ::std::os::raw::c_void,
5733 arg3: sqlite3_uint64,
5734 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5735 ) {
5736 let ptr = __SQLITE3_RESULT_BLOB64.load(::std::sync::atomic::Ordering::Acquire);
5737 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5738 let fun: unsafe extern "C" fn(
5739 arg1: *mut sqlite3_context,
5740 arg2: *const ::std::os::raw::c_void,
5741 arg3: sqlite3_uint64,
5742 arg4: ::std::option::Option<
5743 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5744 >,
5745 ) = ::std::mem::transmute(ptr);
5746 (fun)(arg1, arg2, arg3, arg4)
5747 }
5748
5749 static __SQLITE3_RESULT_TEXT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5750 ::std::ptr::null_mut(),
5751 );
5752 pub unsafe fn sqlite3_result_text64(
5753 arg1: *mut sqlite3_context,
5754 arg2: *const ::std::os::raw::c_char,
5755 arg3: sqlite3_uint64,
5756 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
5757 arg5: ::std::os::raw::c_uchar,
5758 ) {
5759 let ptr = __SQLITE3_RESULT_TEXT64.load(::std::sync::atomic::Ordering::Acquire);
5760 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5761 let fun: unsafe extern "C" fn(
5762 arg1: *mut sqlite3_context,
5763 arg2: *const ::std::os::raw::c_char,
5764 arg3: sqlite3_uint64,
5765 arg4: ::std::option::Option<
5766 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
5767 >,
5768 arg5: ::std::os::raw::c_uchar,
5769 ) = ::std::mem::transmute(ptr);
5770 (fun)(arg1, arg2, arg3, arg4, arg5)
5771 }
5772
5773 static __SQLITE3_STRGLOB: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5774 ::std::ptr::null_mut(),
5775 );
5776 pub unsafe fn sqlite3_strglob(
5777 arg1: *const ::std::os::raw::c_char,
5778 arg2: *const ::std::os::raw::c_char,
5779 ) -> ::std::os::raw::c_int {
5780 let ptr = __SQLITE3_STRGLOB.load(::std::sync::atomic::Ordering::Acquire);
5781 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5782 let fun: unsafe extern "C" fn(
5783 arg1: *const ::std::os::raw::c_char,
5784 arg2: *const ::std::os::raw::c_char,
5785 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5786 (fun)(arg1, arg2)
5787 }
5788
5789 static __SQLITE3_VALUE_DUP: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5790 ::std::ptr::null_mut(),
5791 );
5792 pub unsafe fn sqlite3_value_dup(arg1: *const sqlite3_value) -> *mut sqlite3_value {
5793 let ptr = __SQLITE3_VALUE_DUP.load(::std::sync::atomic::Ordering::Acquire);
5794 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5795 let fun: unsafe extern "C" fn(arg1: *const sqlite3_value) -> *mut sqlite3_value = ::std::mem::transmute(
5796 ptr,
5797 );
5798 (fun)(arg1)
5799 }
5800
5801 static __SQLITE3_VALUE_FREE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5802 ::std::ptr::null_mut(),
5803 );
5804 pub unsafe fn sqlite3_value_free(arg1: *mut sqlite3_value) {
5805 let ptr = __SQLITE3_VALUE_FREE.load(::std::sync::atomic::Ordering::Acquire);
5806 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5807 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) = ::std::mem::transmute(ptr);
5808 (fun)(arg1)
5809 }
5810
5811 static __SQLITE3_RESULT_ZEROBLOB64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5812 ::std::ptr::null_mut(),
5813 );
5814 pub unsafe fn sqlite3_result_zeroblob64(
5815 arg1: *mut sqlite3_context,
5816 arg2: sqlite3_uint64,
5817 ) -> ::std::os::raw::c_int {
5818 let ptr = __SQLITE3_RESULT_ZEROBLOB64.load(::std::sync::atomic::Ordering::Acquire);
5819 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5820 let fun: unsafe extern "C" fn(
5821 arg1: *mut sqlite3_context,
5822 arg2: sqlite3_uint64,
5823 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5824 (fun)(arg1, arg2)
5825 }
5826
5827 static __SQLITE3_BIND_ZEROBLOB64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5828 ::std::ptr::null_mut(),
5829 );
5830 pub unsafe fn sqlite3_bind_zeroblob64(
5831 arg1: *mut sqlite3_stmt,
5832 arg2: ::std::os::raw::c_int,
5833 arg3: sqlite3_uint64,
5834 ) -> ::std::os::raw::c_int {
5835 let ptr = __SQLITE3_BIND_ZEROBLOB64.load(::std::sync::atomic::Ordering::Acquire);
5836 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5837 let fun: unsafe extern "C" fn(
5838 arg1: *mut sqlite3_stmt,
5839 arg2: ::std::os::raw::c_int,
5840 arg3: sqlite3_uint64,
5841 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5842 (fun)(arg1, arg2, arg3)
5843 }
5844
5845 static __SQLITE3_VALUE_SUBTYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5846 ::std::ptr::null_mut(),
5847 );
5848 pub unsafe fn sqlite3_value_subtype(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint {
5849 let ptr = __SQLITE3_VALUE_SUBTYPE.load(::std::sync::atomic::Ordering::Acquire);
5850 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5851 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_uint = ::std::mem::transmute(
5852 ptr,
5853 );
5854 (fun)(arg1)
5855 }
5856
5857 static __SQLITE3_RESULT_SUBTYPE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5858 ::std::ptr::null_mut(),
5859 );
5860 pub unsafe fn sqlite3_result_subtype(
5861 arg1: *mut sqlite3_context,
5862 arg2: ::std::os::raw::c_uint,
5863 ) {
5864 let ptr = __SQLITE3_RESULT_SUBTYPE.load(::std::sync::atomic::Ordering::Acquire);
5865 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5866 let fun: unsafe extern "C" fn(
5867 arg1: *mut sqlite3_context,
5868 arg2: ::std::os::raw::c_uint,
5869 ) = ::std::mem::transmute(ptr);
5870 (fun)(arg1, arg2)
5871 }
5872
5873 static __SQLITE3_STATUS64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5874 ::std::ptr::null_mut(),
5875 );
5876 pub unsafe fn sqlite3_status64(
5877 arg1: ::std::os::raw::c_int,
5878 arg2: *mut sqlite3_int64,
5879 arg3: *mut sqlite3_int64,
5880 arg4: ::std::os::raw::c_int,
5881 ) -> ::std::os::raw::c_int {
5882 let ptr = __SQLITE3_STATUS64.load(::std::sync::atomic::Ordering::Acquire);
5883 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5884 let fun: unsafe extern "C" fn(
5885 arg1: ::std::os::raw::c_int,
5886 arg2: *mut sqlite3_int64,
5887 arg3: *mut sqlite3_int64,
5888 arg4: ::std::os::raw::c_int,
5889 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5890 (fun)(arg1, arg2, arg3, arg4)
5891 }
5892
5893 static __SQLITE3_STRLIKE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5894 ::std::ptr::null_mut(),
5895 );
5896 pub unsafe fn sqlite3_strlike(
5897 arg1: *const ::std::os::raw::c_char,
5898 arg2: *const ::std::os::raw::c_char,
5899 arg3: ::std::os::raw::c_uint,
5900 ) -> ::std::os::raw::c_int {
5901 let ptr = __SQLITE3_STRLIKE.load(::std::sync::atomic::Ordering::Acquire);
5902 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5903 let fun: unsafe extern "C" fn(
5904 arg1: *const ::std::os::raw::c_char,
5905 arg2: *const ::std::os::raw::c_char,
5906 arg3: ::std::os::raw::c_uint,
5907 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5908 (fun)(arg1, arg2, arg3)
5909 }
5910
5911 static __SQLITE3_DB_CACHEFLUSH: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5912 ::std::ptr::null_mut(),
5913 );
5914 pub unsafe fn sqlite3_db_cacheflush(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
5915 let ptr = __SQLITE3_DB_CACHEFLUSH.load(::std::sync::atomic::Ordering::Acquire);
5916 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5917 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
5918 ptr,
5919 );
5920 (fun)(arg1)
5921 }
5922
5923 static __SQLITE3_SYSTEM_ERRNO: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5924 ::std::ptr::null_mut(),
5925 );
5926 pub unsafe fn sqlite3_system_errno(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
5927 let ptr = __SQLITE3_SYSTEM_ERRNO.load(::std::sync::atomic::Ordering::Acquire);
5928 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5929 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
5930 ptr,
5931 );
5932 (fun)(arg1)
5933 }
5934
5935 static __SQLITE3_TRACE_V2: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5936 ::std::ptr::null_mut(),
5937 );
5938 pub unsafe fn sqlite3_trace_v2(
5939 arg1: *mut sqlite3,
5940 arg2: ::std::os::raw::c_uint,
5941 arg3: ::std::option::Option<
5942 unsafe extern "C" fn(
5943 arg1: ::std::os::raw::c_uint,
5944 arg2: *mut ::std::os::raw::c_void,
5945 arg3: *mut ::std::os::raw::c_void,
5946 arg4: *mut ::std::os::raw::c_void,
5947 ) -> ::std::os::raw::c_int,
5948 >,
5949 arg4: *mut ::std::os::raw::c_void,
5950 ) -> ::std::os::raw::c_int {
5951 let ptr = __SQLITE3_TRACE_V2.load(::std::sync::atomic::Ordering::Acquire);
5952 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5953 let fun: unsafe extern "C" fn(
5954 arg1: *mut sqlite3,
5955 arg2: ::std::os::raw::c_uint,
5956 arg3: ::std::option::Option<
5957 unsafe extern "C" fn(
5958 arg1: ::std::os::raw::c_uint,
5959 arg2: *mut ::std::os::raw::c_void,
5960 arg3: *mut ::std::os::raw::c_void,
5961 arg4: *mut ::std::os::raw::c_void,
5962 ) -> ::std::os::raw::c_int,
5963 >,
5964 arg4: *mut ::std::os::raw::c_void,
5965 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
5966 (fun)(arg1, arg2, arg3, arg4)
5967 }
5968
5969 static __SQLITE3_EXPANDED_SQL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5970 ::std::ptr::null_mut(),
5971 );
5972 pub unsafe fn sqlite3_expanded_sql(
5973 arg1: *mut sqlite3_stmt,
5974 ) -> *mut ::std::os::raw::c_char {
5975 let ptr = __SQLITE3_EXPANDED_SQL.load(::std::sync::atomic::Ordering::Acquire);
5976 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5977 let fun: unsafe extern "C" fn(
5978 arg1: *mut sqlite3_stmt,
5979 ) -> *mut ::std::os::raw::c_char = ::std::mem::transmute(ptr);
5980 (fun)(arg1)
5981 }
5982
5983 static __SQLITE3_SET_LAST_INSERT_ROWID: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5984 ::std::ptr::null_mut(),
5985 );
5986 pub unsafe fn sqlite3_set_last_insert_rowid(arg1: *mut sqlite3, arg2: sqlite3_int64) {
5987 let ptr = __SQLITE3_SET_LAST_INSERT_ROWID
5988 .load(::std::sync::atomic::Ordering::Acquire);
5989 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
5990 let fun: unsafe extern "C" fn(arg1: *mut sqlite3, arg2: sqlite3_int64) = ::std::mem::transmute(
5991 ptr,
5992 );
5993 (fun)(arg1, arg2)
5994 }
5995
5996 static __SQLITE3_PREPARE_V3: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
5997 ::std::ptr::null_mut(),
5998 );
5999 pub unsafe fn sqlite3_prepare_v3(
6000 arg1: *mut sqlite3,
6001 arg2: *const ::std::os::raw::c_char,
6002 arg3: ::std::os::raw::c_int,
6003 arg4: ::std::os::raw::c_uint,
6004 arg5: *mut *mut sqlite3_stmt,
6005 arg6: *mut *const ::std::os::raw::c_char,
6006 ) -> ::std::os::raw::c_int {
6007 let ptr = __SQLITE3_PREPARE_V3.load(::std::sync::atomic::Ordering::Acquire);
6008 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6009 let fun: unsafe extern "C" fn(
6010 arg1: *mut sqlite3,
6011 arg2: *const ::std::os::raw::c_char,
6012 arg3: ::std::os::raw::c_int,
6013 arg4: ::std::os::raw::c_uint,
6014 arg5: *mut *mut sqlite3_stmt,
6015 arg6: *mut *const ::std::os::raw::c_char,
6016 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6017 (fun)(arg1, arg2, arg3, arg4, arg5, arg6)
6018 }
6019
6020 static __SQLITE3_BIND_POINTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6021 ::std::ptr::null_mut(),
6022 );
6023 pub unsafe fn sqlite3_bind_pointer(
6024 arg1: *mut sqlite3_stmt,
6025 arg2: ::std::os::raw::c_int,
6026 arg3: *mut ::std::os::raw::c_void,
6027 arg4: *const ::std::os::raw::c_char,
6028 arg5: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6029 ) -> ::std::os::raw::c_int {
6030 let ptr = __SQLITE3_BIND_POINTER.load(::std::sync::atomic::Ordering::Acquire);
6031 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6032 let fun: unsafe extern "C" fn(
6033 arg1: *mut sqlite3_stmt,
6034 arg2: ::std::os::raw::c_int,
6035 arg3: *mut ::std::os::raw::c_void,
6036 arg4: *const ::std::os::raw::c_char,
6037 arg5: ::std::option::Option<
6038 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6039 >,
6040 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6041 (fun)(arg1, arg2, arg3, arg4, arg5)
6042 }
6043
6044 static __SQLITE3_RESULT_POINTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6045 ::std::ptr::null_mut(),
6046 );
6047 pub unsafe fn sqlite3_result_pointer(
6048 arg1: *mut sqlite3_context,
6049 arg2: *mut ::std::os::raw::c_void,
6050 arg3: *const ::std::os::raw::c_char,
6051 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6052 ) {
6053 let ptr = __SQLITE3_RESULT_POINTER.load(::std::sync::atomic::Ordering::Acquire);
6054 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6055 let fun: unsafe extern "C" fn(
6056 arg1: *mut sqlite3_context,
6057 arg2: *mut ::std::os::raw::c_void,
6058 arg3: *const ::std::os::raw::c_char,
6059 arg4: ::std::option::Option<
6060 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6061 >,
6062 ) = ::std::mem::transmute(ptr);
6063 (fun)(arg1, arg2, arg3, arg4)
6064 }
6065
6066 static __SQLITE3_VALUE_POINTER: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6067 ::std::ptr::null_mut(),
6068 );
6069 pub unsafe fn sqlite3_value_pointer(
6070 arg1: *mut sqlite3_value,
6071 arg2: *const ::std::os::raw::c_char,
6072 ) -> *mut ::std::os::raw::c_void {
6073 let ptr = __SQLITE3_VALUE_POINTER.load(::std::sync::atomic::Ordering::Acquire);
6074 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6075 let fun: unsafe extern "C" fn(
6076 arg1: *mut sqlite3_value,
6077 arg2: *const ::std::os::raw::c_char,
6078 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
6079 (fun)(arg1, arg2)
6080 }
6081
6082 static __SQLITE3_VTAB_NOCHANGE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6083 ::std::ptr::null_mut(),
6084 );
6085 pub unsafe fn sqlite3_vtab_nochange(
6086 arg1: *mut sqlite3_context,
6087 ) -> ::std::os::raw::c_int {
6088 let ptr = __SQLITE3_VTAB_NOCHANGE.load(::std::sync::atomic::Ordering::Acquire);
6089 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6090 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_context) -> ::std::os::raw::c_int = ::std::mem::transmute(
6091 ptr,
6092 );
6093 (fun)(arg1)
6094 }
6095
6096 static __SQLITE3_VALUE_NOCHANGE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6097 ::std::ptr::null_mut(),
6098 );
6099 pub unsafe fn sqlite3_value_nochange(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
6100 let ptr = __SQLITE3_VALUE_NOCHANGE.load(::std::sync::atomic::Ordering::Acquire);
6101 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6102 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
6103 ptr,
6104 );
6105 (fun)(arg1)
6106 }
6107
6108 static __SQLITE3_VTAB_COLLATION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6109 ::std::ptr::null_mut(),
6110 );
6111 pub unsafe fn sqlite3_vtab_collation(
6112 arg1: *mut sqlite3_index_info,
6113 arg2: ::std::os::raw::c_int,
6114 ) -> *const ::std::os::raw::c_char {
6115 let ptr = __SQLITE3_VTAB_COLLATION.load(::std::sync::atomic::Ordering::Acquire);
6116 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6117 let fun: unsafe extern "C" fn(
6118 arg1: *mut sqlite3_index_info,
6119 arg2: ::std::os::raw::c_int,
6120 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6121 (fun)(arg1, arg2)
6122 }
6123
6124 static __SQLITE3_KEYWORD_COUNT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6125 ::std::ptr::null_mut(),
6126 );
6127 pub unsafe fn sqlite3_keyword_count() -> ::std::os::raw::c_int {
6128 let ptr = __SQLITE3_KEYWORD_COUNT.load(::std::sync::atomic::Ordering::Acquire);
6129 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6130 let fun: unsafe extern "C" fn() -> ::std::os::raw::c_int = ::std::mem::transmute(
6131 ptr,
6132 );
6133 (fun)()
6134 }
6135
6136 static __SQLITE3_KEYWORD_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6137 ::std::ptr::null_mut(),
6138 );
6139 pub unsafe fn sqlite3_keyword_name(
6140 arg1: ::std::os::raw::c_int,
6141 arg2: *mut *const ::std::os::raw::c_char,
6142 arg3: *mut ::std::os::raw::c_int,
6143 ) -> ::std::os::raw::c_int {
6144 let ptr = __SQLITE3_KEYWORD_NAME.load(::std::sync::atomic::Ordering::Acquire);
6145 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6146 let fun: unsafe extern "C" fn(
6147 arg1: ::std::os::raw::c_int,
6148 arg2: *mut *const ::std::os::raw::c_char,
6149 arg3: *mut ::std::os::raw::c_int,
6150 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6151 (fun)(arg1, arg2, arg3)
6152 }
6153
6154 static __SQLITE3_KEYWORD_CHECK: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6155 ::std::ptr::null_mut(),
6156 );
6157 pub unsafe fn sqlite3_keyword_check(
6158 arg1: *const ::std::os::raw::c_char,
6159 arg2: ::std::os::raw::c_int,
6160 ) -> ::std::os::raw::c_int {
6161 let ptr = __SQLITE3_KEYWORD_CHECK.load(::std::sync::atomic::Ordering::Acquire);
6162 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6163 let fun: unsafe extern "C" fn(
6164 arg1: *const ::std::os::raw::c_char,
6165 arg2: ::std::os::raw::c_int,
6166 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6167 (fun)(arg1, arg2)
6168 }
6169
6170 static __SQLITE3_STR_NEW: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6171 ::std::ptr::null_mut(),
6172 );
6173 pub unsafe fn sqlite3_str_new(arg1: *mut sqlite3) -> *mut sqlite3_str {
6174 let ptr = __SQLITE3_STR_NEW.load(::std::sync::atomic::Ordering::Acquire);
6175 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6176 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> *mut sqlite3_str = ::std::mem::transmute(
6177 ptr,
6178 );
6179 (fun)(arg1)
6180 }
6181
6182 static __SQLITE3_STR_FINISH: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6183 ::std::ptr::null_mut(),
6184 );
6185 pub unsafe fn sqlite3_str_finish(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char {
6186 let ptr = __SQLITE3_STR_FINISH.load(::std::sync::atomic::Ordering::Acquire);
6187 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6188 let fun: unsafe extern "C" fn(
6189 arg1: *mut sqlite3_str,
6190 ) -> *mut ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6191 (fun)(arg1)
6192 }
6193
6194 static __SQLITE3_STR_APPEND: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6195 ::std::ptr::null_mut(),
6196 );
6197 pub unsafe fn sqlite3_str_append(
6198 arg1: *mut sqlite3_str,
6199 zIn: *const ::std::os::raw::c_char,
6200 N: ::std::os::raw::c_int,
6201 ) {
6202 let ptr = __SQLITE3_STR_APPEND.load(::std::sync::atomic::Ordering::Acquire);
6203 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6204 let fun: unsafe extern "C" fn(
6205 arg1: *mut sqlite3_str,
6206 zIn: *const ::std::os::raw::c_char,
6207 N: ::std::os::raw::c_int,
6208 ) = ::std::mem::transmute(ptr);
6209 (fun)(arg1, zIn, N)
6210 }
6211
6212 static __SQLITE3_STR_APPENDALL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6213 ::std::ptr::null_mut(),
6214 );
6215 pub unsafe fn sqlite3_str_appendall(
6216 arg1: *mut sqlite3_str,
6217 zIn: *const ::std::os::raw::c_char,
6218 ) {
6219 let ptr = __SQLITE3_STR_APPENDALL.load(::std::sync::atomic::Ordering::Acquire);
6220 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6221 let fun: unsafe extern "C" fn(
6222 arg1: *mut sqlite3_str,
6223 zIn: *const ::std::os::raw::c_char,
6224 ) = ::std::mem::transmute(ptr);
6225 (fun)(arg1, zIn)
6226 }
6227
6228 static __SQLITE3_STR_APPENDCHAR: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6229 ::std::ptr::null_mut(),
6230 );
6231 pub unsafe fn sqlite3_str_appendchar(
6232 arg1: *mut sqlite3_str,
6233 N: ::std::os::raw::c_int,
6234 C: ::std::os::raw::c_char,
6235 ) {
6236 let ptr = __SQLITE3_STR_APPENDCHAR.load(::std::sync::atomic::Ordering::Acquire);
6237 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6238 let fun: unsafe extern "C" fn(
6239 arg1: *mut sqlite3_str,
6240 N: ::std::os::raw::c_int,
6241 C: ::std::os::raw::c_char,
6242 ) = ::std::mem::transmute(ptr);
6243 (fun)(arg1, N, C)
6244 }
6245
6246 static __SQLITE3_STR_RESET: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6247 ::std::ptr::null_mut(),
6248 );
6249 pub unsafe fn sqlite3_str_reset(arg1: *mut sqlite3_str) {
6250 let ptr = __SQLITE3_STR_RESET.load(::std::sync::atomic::Ordering::Acquire);
6251 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6252 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_str) = ::std::mem::transmute(ptr);
6253 (fun)(arg1)
6254 }
6255
6256 static __SQLITE3_STR_ERRCODE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6257 ::std::ptr::null_mut(),
6258 );
6259 pub unsafe fn sqlite3_str_errcode(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int {
6260 let ptr = __SQLITE3_STR_ERRCODE.load(::std::sync::atomic::Ordering::Acquire);
6261 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6262 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int = ::std::mem::transmute(
6263 ptr,
6264 );
6265 (fun)(arg1)
6266 }
6267
6268 static __SQLITE3_STR_LENGTH: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6269 ::std::ptr::null_mut(),
6270 );
6271 pub unsafe fn sqlite3_str_length(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int {
6272 let ptr = __SQLITE3_STR_LENGTH.load(::std::sync::atomic::Ordering::Acquire);
6273 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6274 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_str) -> ::std::os::raw::c_int = ::std::mem::transmute(
6275 ptr,
6276 );
6277 (fun)(arg1)
6278 }
6279
6280 static __SQLITE3_STR_VALUE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6281 ::std::ptr::null_mut(),
6282 );
6283 pub unsafe fn sqlite3_str_value(arg1: *mut sqlite3_str) -> *mut ::std::os::raw::c_char {
6284 let ptr = __SQLITE3_STR_VALUE.load(::std::sync::atomic::Ordering::Acquire);
6285 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6286 let fun: unsafe extern "C" fn(
6287 arg1: *mut sqlite3_str,
6288 ) -> *mut ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6289 (fun)(arg1)
6290 }
6291
6292 static __SQLITE3_CREATE_WINDOW_FUNCTION: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6293 ::std::ptr::null_mut(),
6294 );
6295 pub unsafe fn sqlite3_create_window_function(
6296 arg1: *mut sqlite3,
6297 arg2: *const ::std::os::raw::c_char,
6298 arg3: ::std::os::raw::c_int,
6299 arg4: ::std::os::raw::c_int,
6300 arg5: *mut ::std::os::raw::c_void,
6301 xStep: ::std::option::Option<
6302 unsafe extern "C" fn(
6303 arg1: *mut sqlite3_context,
6304 arg2: ::std::os::raw::c_int,
6305 arg3: *mut *mut sqlite3_value,
6306 ),
6307 >,
6308 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
6309 xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
6310 xInv: ::std::option::Option<
6311 unsafe extern "C" fn(
6312 arg1: *mut sqlite3_context,
6313 arg2: ::std::os::raw::c_int,
6314 arg3: *mut *mut sqlite3_value,
6315 ),
6316 >,
6317 xDestroy: ::std::option::Option<
6318 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6319 >,
6320 ) -> ::std::os::raw::c_int {
6321 let ptr = __SQLITE3_CREATE_WINDOW_FUNCTION
6322 .load(::std::sync::atomic::Ordering::Acquire);
6323 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6324 let fun: unsafe extern "C" fn(
6325 arg1: *mut sqlite3,
6326 arg2: *const ::std::os::raw::c_char,
6327 arg3: ::std::os::raw::c_int,
6328 arg4: ::std::os::raw::c_int,
6329 arg5: *mut ::std::os::raw::c_void,
6330 xStep: ::std::option::Option<
6331 unsafe extern "C" fn(
6332 arg1: *mut sqlite3_context,
6333 arg2: ::std::os::raw::c_int,
6334 arg3: *mut *mut sqlite3_value,
6335 ),
6336 >,
6337 xFinal: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
6338 xValue: ::std::option::Option<unsafe extern "C" fn(arg1: *mut sqlite3_context)>,
6339 xInv: ::std::option::Option<
6340 unsafe extern "C" fn(
6341 arg1: *mut sqlite3_context,
6342 arg2: ::std::os::raw::c_int,
6343 arg3: *mut *mut sqlite3_value,
6344 ),
6345 >,
6346 xDestroy: ::std::option::Option<
6347 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6348 >,
6349 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6350 (fun)(arg1, arg2, arg3, arg4, arg5, xStep, xFinal, xValue, xInv, xDestroy)
6351 }
6352
6353 static __SQLITE3_NORMALIZED_SQL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6354 ::std::ptr::null_mut(),
6355 );
6356 pub unsafe fn sqlite3_normalized_sql(
6357 arg1: *mut sqlite3_stmt,
6358 ) -> *const ::std::os::raw::c_char {
6359 let ptr = __SQLITE3_NORMALIZED_SQL.load(::std::sync::atomic::Ordering::Acquire);
6360 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6361 let fun: unsafe extern "C" fn(
6362 arg1: *mut sqlite3_stmt,
6363 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6364 (fun)(arg1)
6365 }
6366
6367 static __SQLITE3_STMT_ISEXPLAIN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6368 ::std::ptr::null_mut(),
6369 );
6370 pub unsafe fn sqlite3_stmt_isexplain(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int {
6371 let ptr = __SQLITE3_STMT_ISEXPLAIN.load(::std::sync::atomic::Ordering::Acquire);
6372 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6373 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_stmt) -> ::std::os::raw::c_int = ::std::mem::transmute(
6374 ptr,
6375 );
6376 (fun)(arg1)
6377 }
6378
6379 static __SQLITE3_VALUE_FROMBIND: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6380 ::std::ptr::null_mut(),
6381 );
6382 pub unsafe fn sqlite3_value_frombind(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
6383 let ptr = __SQLITE3_VALUE_FROMBIND.load(::std::sync::atomic::Ordering::Acquire);
6384 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6385 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
6386 ptr,
6387 );
6388 (fun)(arg1)
6389 }
6390
6391 static __SQLITE3_DROP_MODULES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6392 ::std::ptr::null_mut(),
6393 );
6394 pub unsafe fn sqlite3_drop_modules(
6395 arg1: *mut sqlite3,
6396 arg2: *mut *const ::std::os::raw::c_char,
6397 ) -> ::std::os::raw::c_int {
6398 let ptr = __SQLITE3_DROP_MODULES.load(::std::sync::atomic::Ordering::Acquire);
6399 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6400 let fun: unsafe extern "C" fn(
6401 arg1: *mut sqlite3,
6402 arg2: *mut *const ::std::os::raw::c_char,
6403 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6404 (fun)(arg1, arg2)
6405 }
6406
6407 static __SQLITE3_HARD_HEAP_LIMIT64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6408 ::std::ptr::null_mut(),
6409 );
6410 pub unsafe fn sqlite3_hard_heap_limit64(arg1: sqlite3_int64) -> sqlite3_int64 {
6411 let ptr = __SQLITE3_HARD_HEAP_LIMIT64.load(::std::sync::atomic::Ordering::Acquire);
6412 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6413 let fun: unsafe extern "C" fn(arg1: sqlite3_int64) -> sqlite3_int64 = ::std::mem::transmute(
6414 ptr,
6415 );
6416 (fun)(arg1)
6417 }
6418
6419 static __SQLITE3_URI_KEY: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6420 ::std::ptr::null_mut(),
6421 );
6422 pub unsafe fn sqlite3_uri_key(
6423 arg1: *const ::std::os::raw::c_char,
6424 arg2: ::std::os::raw::c_int,
6425 ) -> *const ::std::os::raw::c_char {
6426 let ptr = __SQLITE3_URI_KEY.load(::std::sync::atomic::Ordering::Acquire);
6427 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6428 let fun: unsafe extern "C" fn(
6429 arg1: *const ::std::os::raw::c_char,
6430 arg2: ::std::os::raw::c_int,
6431 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6432 (fun)(arg1, arg2)
6433 }
6434
6435 static __SQLITE3_FILENAME_DATABASE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6436 ::std::ptr::null_mut(),
6437 );
6438 pub unsafe fn sqlite3_filename_database(
6439 arg1: *const ::std::os::raw::c_char,
6440 ) -> *const ::std::os::raw::c_char {
6441 let ptr = __SQLITE3_FILENAME_DATABASE.load(::std::sync::atomic::Ordering::Acquire);
6442 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6443 let fun: unsafe extern "C" fn(
6444 arg1: *const ::std::os::raw::c_char,
6445 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6446 (fun)(arg1)
6447 }
6448
6449 static __SQLITE3_FILENAME_JOURNAL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6450 ::std::ptr::null_mut(),
6451 );
6452 pub unsafe fn sqlite3_filename_journal(
6453 arg1: *const ::std::os::raw::c_char,
6454 ) -> *const ::std::os::raw::c_char {
6455 let ptr = __SQLITE3_FILENAME_JOURNAL.load(::std::sync::atomic::Ordering::Acquire);
6456 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6457 let fun: unsafe extern "C" fn(
6458 arg1: *const ::std::os::raw::c_char,
6459 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6460 (fun)(arg1)
6461 }
6462
6463 static __SQLITE3_FILENAME_WAL: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6464 ::std::ptr::null_mut(),
6465 );
6466 pub unsafe fn sqlite3_filename_wal(
6467 arg1: *const ::std::os::raw::c_char,
6468 ) -> *const ::std::os::raw::c_char {
6469 let ptr = __SQLITE3_FILENAME_WAL.load(::std::sync::atomic::Ordering::Acquire);
6470 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6471 let fun: unsafe extern "C" fn(
6472 arg1: *const ::std::os::raw::c_char,
6473 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6474 (fun)(arg1)
6475 }
6476
6477 static __SQLITE3_CREATE_FILENAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6478 ::std::ptr::null_mut(),
6479 );
6480 pub unsafe fn sqlite3_create_filename(
6481 arg1: *const ::std::os::raw::c_char,
6482 arg2: *const ::std::os::raw::c_char,
6483 arg3: *const ::std::os::raw::c_char,
6484 arg4: ::std::os::raw::c_int,
6485 arg5: *mut *const ::std::os::raw::c_char,
6486 ) -> *const ::std::os::raw::c_char {
6487 let ptr = __SQLITE3_CREATE_FILENAME.load(::std::sync::atomic::Ordering::Acquire);
6488 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6489 let fun: unsafe extern "C" fn(
6490 arg1: *const ::std::os::raw::c_char,
6491 arg2: *const ::std::os::raw::c_char,
6492 arg3: *const ::std::os::raw::c_char,
6493 arg4: ::std::os::raw::c_int,
6494 arg5: *mut *const ::std::os::raw::c_char,
6495 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6496 (fun)(arg1, arg2, arg3, arg4, arg5)
6497 }
6498
6499 static __SQLITE3_FREE_FILENAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6500 ::std::ptr::null_mut(),
6501 );
6502 pub unsafe fn sqlite3_free_filename(arg1: *const ::std::os::raw::c_char) {
6503 let ptr = __SQLITE3_FREE_FILENAME.load(::std::sync::atomic::Ordering::Acquire);
6504 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6505 let fun: unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) = ::std::mem::transmute(
6506 ptr,
6507 );
6508 (fun)(arg1)
6509 }
6510
6511 static __SQLITE3_DATABASE_FILE_OBJECT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6512 ::std::ptr::null_mut(),
6513 );
6514 pub unsafe fn sqlite3_database_file_object(
6515 arg1: *const ::std::os::raw::c_char,
6516 ) -> *mut sqlite3_file {
6517 let ptr = __SQLITE3_DATABASE_FILE_OBJECT
6518 .load(::std::sync::atomic::Ordering::Acquire);
6519 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6520 let fun: unsafe extern "C" fn(
6521 arg1: *const ::std::os::raw::c_char,
6522 ) -> *mut sqlite3_file = ::std::mem::transmute(ptr);
6523 (fun)(arg1)
6524 }
6525
6526 static __SQLITE3_TXN_STATE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6527 ::std::ptr::null_mut(),
6528 );
6529 pub unsafe fn sqlite3_txn_state(
6530 arg1: *mut sqlite3,
6531 arg2: *const ::std::os::raw::c_char,
6532 ) -> ::std::os::raw::c_int {
6533 let ptr = __SQLITE3_TXN_STATE.load(::std::sync::atomic::Ordering::Acquire);
6534 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6535 let fun: unsafe extern "C" fn(
6536 arg1: *mut sqlite3,
6537 arg2: *const ::std::os::raw::c_char,
6538 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6539 (fun)(arg1, arg2)
6540 }
6541
6542 static __SQLITE3_CHANGES64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6543 ::std::ptr::null_mut(),
6544 );
6545 pub unsafe fn sqlite3_changes64(arg1: *mut sqlite3) -> sqlite3_int64 {
6546 let ptr = __SQLITE3_CHANGES64.load(::std::sync::atomic::Ordering::Acquire);
6547 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6548 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite3_int64 = ::std::mem::transmute(
6549 ptr,
6550 );
6551 (fun)(arg1)
6552 }
6553
6554 static __SQLITE3_TOTAL_CHANGES64: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6555 ::std::ptr::null_mut(),
6556 );
6557 pub unsafe fn sqlite3_total_changes64(arg1: *mut sqlite3) -> sqlite3_int64 {
6558 let ptr = __SQLITE3_TOTAL_CHANGES64.load(::std::sync::atomic::Ordering::Acquire);
6559 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6560 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> sqlite3_int64 = ::std::mem::transmute(
6561 ptr,
6562 );
6563 (fun)(arg1)
6564 }
6565
6566 static __SQLITE3_AUTOVACUUM_PAGES: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6567 ::std::ptr::null_mut(),
6568 );
6569 pub unsafe fn sqlite3_autovacuum_pages(
6570 arg1: *mut sqlite3,
6571 arg2: ::std::option::Option<
6572 unsafe extern "C" fn(
6573 arg1: *mut ::std::os::raw::c_void,
6574 arg2: *const ::std::os::raw::c_char,
6575 arg3: ::std::os::raw::c_uint,
6576 arg4: ::std::os::raw::c_uint,
6577 arg5: ::std::os::raw::c_uint,
6578 ) -> ::std::os::raw::c_uint,
6579 >,
6580 arg3: *mut ::std::os::raw::c_void,
6581 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6582 ) -> ::std::os::raw::c_int {
6583 let ptr = __SQLITE3_AUTOVACUUM_PAGES.load(::std::sync::atomic::Ordering::Acquire);
6584 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6585 let fun: unsafe extern "C" fn(
6586 arg1: *mut sqlite3,
6587 arg2: ::std::option::Option<
6588 unsafe extern "C" fn(
6589 arg1: *mut ::std::os::raw::c_void,
6590 arg2: *const ::std::os::raw::c_char,
6591 arg3: ::std::os::raw::c_uint,
6592 arg4: ::std::os::raw::c_uint,
6593 arg5: ::std::os::raw::c_uint,
6594 ) -> ::std::os::raw::c_uint,
6595 >,
6596 arg3: *mut ::std::os::raw::c_void,
6597 arg4: ::std::option::Option<
6598 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6599 >,
6600 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6601 (fun)(arg1, arg2, arg3, arg4)
6602 }
6603
6604 static __SQLITE3_ERROR_OFFSET: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6605 ::std::ptr::null_mut(),
6606 );
6607 pub unsafe fn sqlite3_error_offset(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
6608 let ptr = __SQLITE3_ERROR_OFFSET.load(::std::sync::atomic::Ordering::Acquire);
6609 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6610 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
6611 ptr,
6612 );
6613 (fun)(arg1)
6614 }
6615
6616 static __SQLITE3_VTAB_RHS_VALUE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6617 ::std::ptr::null_mut(),
6618 );
6619 pub unsafe fn sqlite3_vtab_rhs_value(
6620 arg1: *mut sqlite3_index_info,
6621 arg2: ::std::os::raw::c_int,
6622 arg3: *mut *mut sqlite3_value,
6623 ) -> ::std::os::raw::c_int {
6624 let ptr = __SQLITE3_VTAB_RHS_VALUE.load(::std::sync::atomic::Ordering::Acquire);
6625 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6626 let fun: unsafe extern "C" fn(
6627 arg1: *mut sqlite3_index_info,
6628 arg2: ::std::os::raw::c_int,
6629 arg3: *mut *mut sqlite3_value,
6630 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6631 (fun)(arg1, arg2, arg3)
6632 }
6633
6634 static __SQLITE3_VTAB_DISTINCT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6635 ::std::ptr::null_mut(),
6636 );
6637 pub unsafe fn sqlite3_vtab_distinct(
6638 arg1: *mut sqlite3_index_info,
6639 ) -> ::std::os::raw::c_int {
6640 let ptr = __SQLITE3_VTAB_DISTINCT.load(::std::sync::atomic::Ordering::Acquire);
6641 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6642 let fun: unsafe extern "C" fn(
6643 arg1: *mut sqlite3_index_info,
6644 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6645 (fun)(arg1)
6646 }
6647
6648 static __SQLITE3_VTAB_IN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6649 ::std::ptr::null_mut(),
6650 );
6651 pub unsafe fn sqlite3_vtab_in(
6652 arg1: *mut sqlite3_index_info,
6653 arg2: ::std::os::raw::c_int,
6654 arg3: ::std::os::raw::c_int,
6655 ) -> ::std::os::raw::c_int {
6656 let ptr = __SQLITE3_VTAB_IN.load(::std::sync::atomic::Ordering::Acquire);
6657 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6658 let fun: unsafe extern "C" fn(
6659 arg1: *mut sqlite3_index_info,
6660 arg2: ::std::os::raw::c_int,
6661 arg3: ::std::os::raw::c_int,
6662 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6663 (fun)(arg1, arg2, arg3)
6664 }
6665
6666 static __SQLITE3_VTAB_IN_FIRST: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6667 ::std::ptr::null_mut(),
6668 );
6669 pub unsafe fn sqlite3_vtab_in_first(
6670 arg1: *mut sqlite3_value,
6671 arg2: *mut *mut sqlite3_value,
6672 ) -> ::std::os::raw::c_int {
6673 let ptr = __SQLITE3_VTAB_IN_FIRST.load(::std::sync::atomic::Ordering::Acquire);
6674 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6675 let fun: unsafe extern "C" fn(
6676 arg1: *mut sqlite3_value,
6677 arg2: *mut *mut sqlite3_value,
6678 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6679 (fun)(arg1, arg2)
6680 }
6681
6682 static __SQLITE3_VTAB_IN_NEXT: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6683 ::std::ptr::null_mut(),
6684 );
6685 pub unsafe fn sqlite3_vtab_in_next(
6686 arg1: *mut sqlite3_value,
6687 arg2: *mut *mut sqlite3_value,
6688 ) -> ::std::os::raw::c_int {
6689 let ptr = __SQLITE3_VTAB_IN_NEXT.load(::std::sync::atomic::Ordering::Acquire);
6690 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6691 let fun: unsafe extern "C" fn(
6692 arg1: *mut sqlite3_value,
6693 arg2: *mut *mut sqlite3_value,
6694 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6695 (fun)(arg1, arg2)
6696 }
6697
6698 static __SQLITE3_DESERIALIZE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6699 ::std::ptr::null_mut(),
6700 );
6701 pub unsafe fn sqlite3_deserialize(
6702 arg1: *mut sqlite3,
6703 arg2: *const ::std::os::raw::c_char,
6704 arg3: *mut ::std::os::raw::c_uchar,
6705 arg4: sqlite3_int64,
6706 arg5: sqlite3_int64,
6707 arg6: ::std::os::raw::c_uint,
6708 ) -> ::std::os::raw::c_int {
6709 let ptr = __SQLITE3_DESERIALIZE.load(::std::sync::atomic::Ordering::Acquire);
6710 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6711 let fun: unsafe extern "C" fn(
6712 arg1: *mut sqlite3,
6713 arg2: *const ::std::os::raw::c_char,
6714 arg3: *mut ::std::os::raw::c_uchar,
6715 arg4: sqlite3_int64,
6716 arg5: sqlite3_int64,
6717 arg6: ::std::os::raw::c_uint,
6718 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6719 (fun)(arg1, arg2, arg3, arg4, arg5, arg6)
6720 }
6721
6722 static __SQLITE3_SERIALIZE: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6723 ::std::ptr::null_mut(),
6724 );
6725 pub unsafe fn sqlite3_serialize(
6726 arg1: *mut sqlite3,
6727 arg2: *const ::std::os::raw::c_char,
6728 arg3: *mut sqlite3_int64,
6729 arg4: ::std::os::raw::c_uint,
6730 ) -> *mut ::std::os::raw::c_uchar {
6731 let ptr = __SQLITE3_SERIALIZE.load(::std::sync::atomic::Ordering::Acquire);
6732 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6733 let fun: unsafe extern "C" fn(
6734 arg1: *mut sqlite3,
6735 arg2: *const ::std::os::raw::c_char,
6736 arg3: *mut sqlite3_int64,
6737 arg4: ::std::os::raw::c_uint,
6738 ) -> *mut ::std::os::raw::c_uchar = ::std::mem::transmute(ptr);
6739 (fun)(arg1, arg2, arg3, arg4)
6740 }
6741
6742 static __SQLITE3_DB_NAME: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6743 ::std::ptr::null_mut(),
6744 );
6745 pub unsafe fn sqlite3_db_name(
6746 arg1: *mut sqlite3,
6747 arg2: ::std::os::raw::c_int,
6748 ) -> *const ::std::os::raw::c_char {
6749 let ptr = __SQLITE3_DB_NAME.load(::std::sync::atomic::Ordering::Acquire);
6750 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6751 let fun: unsafe extern "C" fn(
6752 arg1: *mut sqlite3,
6753 arg2: ::std::os::raw::c_int,
6754 ) -> *const ::std::os::raw::c_char = ::std::mem::transmute(ptr);
6755 (fun)(arg1, arg2)
6756 }
6757
6758 static __SQLITE3_VALUE_ENCODING: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6759 ::std::ptr::null_mut(),
6760 );
6761 pub unsafe fn sqlite3_value_encoding(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int {
6762 let ptr = __SQLITE3_VALUE_ENCODING.load(::std::sync::atomic::Ordering::Acquire);
6763 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6764 let fun: unsafe extern "C" fn(arg1: *mut sqlite3_value) -> ::std::os::raw::c_int = ::std::mem::transmute(
6765 ptr,
6766 );
6767 (fun)(arg1)
6768 }
6769
6770 static __SQLITE3_IS_INTERRUPTED: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6771 ::std::ptr::null_mut(),
6772 );
6773 pub unsafe fn sqlite3_is_interrupted(arg1: *mut sqlite3) -> ::std::os::raw::c_int {
6774 let ptr = __SQLITE3_IS_INTERRUPTED.load(::std::sync::atomic::Ordering::Acquire);
6775 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6776 let fun: unsafe extern "C" fn(arg1: *mut sqlite3) -> ::std::os::raw::c_int = ::std::mem::transmute(
6777 ptr,
6778 );
6779 (fun)(arg1)
6780 }
6781
6782 static __SQLITE3_STMT_EXPLAIN: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6783 ::std::ptr::null_mut(),
6784 );
6785 pub unsafe fn sqlite3_stmt_explain(
6786 arg1: *mut sqlite3_stmt,
6787 arg2: ::std::os::raw::c_int,
6788 ) -> ::std::os::raw::c_int {
6789 let ptr = __SQLITE3_STMT_EXPLAIN.load(::std::sync::atomic::Ordering::Acquire);
6790 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6791 let fun: unsafe extern "C" fn(
6792 arg1: *mut sqlite3_stmt,
6793 arg2: ::std::os::raw::c_int,
6794 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6795 (fun)(arg1, arg2)
6796 }
6797
6798 static __SQLITE3_GET_CLIENTDATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6799 ::std::ptr::null_mut(),
6800 );
6801 pub unsafe fn sqlite3_get_clientdata(
6802 arg1: *mut sqlite3,
6803 arg2: *const ::std::os::raw::c_char,
6804 ) -> *mut ::std::os::raw::c_void {
6805 let ptr = __SQLITE3_GET_CLIENTDATA.load(::std::sync::atomic::Ordering::Acquire);
6806 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6807 let fun: unsafe extern "C" fn(
6808 arg1: *mut sqlite3,
6809 arg2: *const ::std::os::raw::c_char,
6810 ) -> *mut ::std::os::raw::c_void = ::std::mem::transmute(ptr);
6811 (fun)(arg1, arg2)
6812 }
6813
6814 static __SQLITE3_SET_CLIENTDATA: ::std::sync::atomic::AtomicPtr<()> = ::std::sync::atomic::AtomicPtr::new(
6815 ::std::ptr::null_mut(),
6816 );
6817 pub unsafe fn sqlite3_set_clientdata(
6818 arg1: *mut sqlite3,
6819 arg2: *const ::std::os::raw::c_char,
6820 arg3: *mut ::std::os::raw::c_void,
6821 arg4: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
6822 ) -> ::std::os::raw::c_int {
6823 let ptr = __SQLITE3_SET_CLIENTDATA.load(::std::sync::atomic::Ordering::Acquire);
6824 assert!(! ptr.is_null(), "SQLite API not initialized or SQLite feature omitted");
6825 let fun: unsafe extern "C" fn(
6826 arg1: *mut sqlite3,
6827 arg2: *const ::std::os::raw::c_char,
6828 arg3: *mut ::std::os::raw::c_void,
6829 arg4: ::std::option::Option<
6830 unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void),
6831 >,
6832 ) -> ::std::os::raw::c_int = ::std::mem::transmute(ptr);
6833 (fun)(arg1, arg2, arg3, arg4)
6834 }
6835
6836 /// Like SQLITE_EXTENSION_INIT2 macro
6837 pub unsafe fn rusqlite_extension_init2(
6838 p_api: *mut sqlite3_api_routines,
6839 ) -> ::std::result::Result<(), crate::InitError> {
6840 if let Some(fun) = (*p_api).malloc {
6841 __SQLITE3_MALLOC
6842 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6843 }
6844 if let Some(fun) = (*p_api).libversion_number {
6845 let version = fun();
6846 if SQLITE_VERSION_NUMBER > version {
6847 return Err(crate::InitError::VersionMismatch {
6848 compile_time: SQLITE_VERSION_NUMBER,
6849 runtime: version,
6850 });
6851 }
6852 } else {
6853 return Err(crate::InitError::NullFunctionPointer);
6854 }
6855 if let Some(fun) = (*p_api).aggregate_context {
6856 __SQLITE3_AGGREGATE_CONTEXT
6857 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6858 }
6859 if let Some(fun) = (*p_api).bind_blob {
6860 __SQLITE3_BIND_BLOB
6861 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6862 }
6863 if let Some(fun) = (*p_api).bind_double {
6864 __SQLITE3_BIND_DOUBLE
6865 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6866 }
6867 if let Some(fun) = (*p_api).bind_int {
6868 __SQLITE3_BIND_INT
6869 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6870 }
6871 if let Some(fun) = (*p_api).bind_int64 {
6872 __SQLITE3_BIND_INT64
6873 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6874 }
6875 if let Some(fun) = (*p_api).bind_null {
6876 __SQLITE3_BIND_NULL
6877 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6878 }
6879 if let Some(fun) = (*p_api).bind_parameter_count {
6880 __SQLITE3_BIND_PARAMETER_COUNT
6881 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6882 }
6883 if let Some(fun) = (*p_api).bind_parameter_index {
6884 __SQLITE3_BIND_PARAMETER_INDEX
6885 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6886 }
6887 if let Some(fun) = (*p_api).bind_parameter_name {
6888 __SQLITE3_BIND_PARAMETER_NAME
6889 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6890 }
6891 if let Some(fun) = (*p_api).bind_text {
6892 __SQLITE3_BIND_TEXT
6893 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6894 }
6895 if let Some(fun) = (*p_api).bind_value {
6896 __SQLITE3_BIND_VALUE
6897 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6898 }
6899 if let Some(fun) = (*p_api).busy_handler {
6900 __SQLITE3_BUSY_HANDLER
6901 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6902 }
6903 if let Some(fun) = (*p_api).busy_timeout {
6904 __SQLITE3_BUSY_TIMEOUT
6905 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6906 }
6907 if let Some(fun) = (*p_api).changes {
6908 __SQLITE3_CHANGES
6909 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6910 }
6911 if let Some(fun) = (*p_api).close {
6912 __SQLITE3_CLOSE
6913 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6914 }
6915 if let Some(fun) = (*p_api).collation_needed {
6916 __SQLITE3_COLLATION_NEEDED
6917 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6918 }
6919 if let Some(fun) = (*p_api).column_blob {
6920 __SQLITE3_COLUMN_BLOB
6921 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6922 }
6923 if let Some(fun) = (*p_api).column_bytes {
6924 __SQLITE3_COLUMN_BYTES
6925 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6926 }
6927 if let Some(fun) = (*p_api).column_count {
6928 __SQLITE3_COLUMN_COUNT
6929 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6930 }
6931 if let Some(fun) = (*p_api).column_database_name {
6932 __SQLITE3_COLUMN_DATABASE_NAME
6933 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6934 }
6935 if let Some(fun) = (*p_api).column_decltype {
6936 __SQLITE3_COLUMN_DECLTYPE
6937 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6938 }
6939 if let Some(fun) = (*p_api).column_double {
6940 __SQLITE3_COLUMN_DOUBLE
6941 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6942 }
6943 if let Some(fun) = (*p_api).column_int {
6944 __SQLITE3_COLUMN_INT
6945 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6946 }
6947 if let Some(fun) = (*p_api).column_int64 {
6948 __SQLITE3_COLUMN_INT64
6949 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6950 }
6951 if let Some(fun) = (*p_api).column_name {
6952 __SQLITE3_COLUMN_NAME
6953 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6954 }
6955 if let Some(fun) = (*p_api).column_origin_name {
6956 __SQLITE3_COLUMN_ORIGIN_NAME
6957 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6958 }
6959 if let Some(fun) = (*p_api).column_table_name {
6960 __SQLITE3_COLUMN_TABLE_NAME
6961 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6962 }
6963 if let Some(fun) = (*p_api).column_text {
6964 __SQLITE3_COLUMN_TEXT
6965 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6966 }
6967 if let Some(fun) = (*p_api).column_type {
6968 __SQLITE3_COLUMN_TYPE
6969 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6970 }
6971 if let Some(fun) = (*p_api).column_value {
6972 __SQLITE3_COLUMN_VALUE
6973 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6974 }
6975 if let Some(fun) = (*p_api).commit_hook {
6976 __SQLITE3_COMMIT_HOOK
6977 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6978 }
6979 if let Some(fun) = (*p_api).complete {
6980 __SQLITE3_COMPLETE
6981 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6982 }
6983 if let Some(fun) = (*p_api).data_count {
6984 __SQLITE3_DATA_COUNT
6985 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6986 }
6987 if let Some(fun) = (*p_api).db_handle {
6988 __SQLITE3_DB_HANDLE
6989 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6990 }
6991 if let Some(fun) = (*p_api).declare_vtab {
6992 __SQLITE3_DECLARE_VTAB
6993 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6994 }
6995 if let Some(fun) = (*p_api).enable_shared_cache {
6996 __SQLITE3_ENABLE_SHARED_CACHE
6997 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
6998 }
6999 if let Some(fun) = (*p_api).errcode {
7000 __SQLITE3_ERRCODE
7001 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7002 }
7003 if let Some(fun) = (*p_api).errmsg {
7004 __SQLITE3_ERRMSG
7005 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7006 }
7007 if let Some(fun) = (*p_api).exec {
7008 __SQLITE3_EXEC
7009 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7010 }
7011 if let Some(fun) = (*p_api).finalize {
7012 __SQLITE3_FINALIZE
7013 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7014 }
7015 if let Some(fun) = (*p_api).free {
7016 __SQLITE3_FREE
7017 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7018 }
7019 if let Some(fun) = (*p_api).free_table {
7020 __SQLITE3_FREE_TABLE
7021 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7022 }
7023 if let Some(fun) = (*p_api).get_autocommit {
7024 __SQLITE3_GET_AUTOCOMMIT
7025 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7026 }
7027 if let Some(fun) = (*p_api).get_auxdata {
7028 __SQLITE3_GET_AUXDATA
7029 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7030 }
7031 if let Some(fun) = (*p_api).get_table {
7032 __SQLITE3_GET_TABLE
7033 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7034 }
7035 if let Some(fun) = (*p_api).interruptx {
7036 __SQLITE3_INTERRUPT
7037 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7038 }
7039 if let Some(fun) = (*p_api).last_insert_rowid {
7040 __SQLITE3_LAST_INSERT_ROWID
7041 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7042 }
7043 if let Some(fun) = (*p_api).libversion {
7044 __SQLITE3_LIBVERSION
7045 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7046 }
7047 if let Some(fun) = (*p_api).libversion_number {
7048 __SQLITE3_LIBVERSION_NUMBER
7049 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7050 }
7051 if let Some(fun) = (*p_api).open {
7052 __SQLITE3_OPEN
7053 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7054 }
7055 if let Some(fun) = (*p_api).profile {
7056 __SQLITE3_PROFILE
7057 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7058 }
7059 if let Some(fun) = (*p_api).progress_handler {
7060 __SQLITE3_PROGRESS_HANDLER
7061 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7062 }
7063 if let Some(fun) = (*p_api).realloc {
7064 __SQLITE3_REALLOC
7065 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7066 }
7067 if let Some(fun) = (*p_api).reset {
7068 __SQLITE3_RESET
7069 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7070 }
7071 if let Some(fun) = (*p_api).result_blob {
7072 __SQLITE3_RESULT_BLOB
7073 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7074 }
7075 if let Some(fun) = (*p_api).result_double {
7076 __SQLITE3_RESULT_DOUBLE
7077 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7078 }
7079 if let Some(fun) = (*p_api).result_error {
7080 __SQLITE3_RESULT_ERROR
7081 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7082 }
7083 if let Some(fun) = (*p_api).result_int {
7084 __SQLITE3_RESULT_INT
7085 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7086 }
7087 if let Some(fun) = (*p_api).result_int64 {
7088 __SQLITE3_RESULT_INT64
7089 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7090 }
7091 if let Some(fun) = (*p_api).result_null {
7092 __SQLITE3_RESULT_NULL
7093 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7094 }
7095 if let Some(fun) = (*p_api).result_text {
7096 __SQLITE3_RESULT_TEXT
7097 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7098 }
7099 if let Some(fun) = (*p_api).result_value {
7100 __SQLITE3_RESULT_VALUE
7101 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7102 }
7103 if let Some(fun) = (*p_api).rollback_hook {
7104 __SQLITE3_ROLLBACK_HOOK
7105 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7106 }
7107 if let Some(fun) = (*p_api).set_authorizer {
7108 __SQLITE3_SET_AUTHORIZER
7109 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7110 }
7111 if let Some(fun) = (*p_api).set_auxdata {
7112 __SQLITE3_SET_AUXDATA
7113 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7114 }
7115 if let Some(fun) = (*p_api).step {
7116 __SQLITE3_STEP
7117 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7118 }
7119 if let Some(fun) = (*p_api).table_column_metadata {
7120 __SQLITE3_TABLE_COLUMN_METADATA
7121 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7122 }
7123 if let Some(fun) = (*p_api).total_changes {
7124 __SQLITE3_TOTAL_CHANGES
7125 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7126 }
7127 if let Some(fun) = (*p_api).trace {
7128 __SQLITE3_TRACE
7129 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7130 }
7131 if let Some(fun) = (*p_api).update_hook {
7132 __SQLITE3_UPDATE_HOOK
7133 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7134 }
7135 if let Some(fun) = (*p_api).user_data {
7136 __SQLITE3_USER_DATA
7137 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7138 }
7139 if let Some(fun) = (*p_api).value_blob {
7140 __SQLITE3_VALUE_BLOB
7141 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7142 }
7143 if let Some(fun) = (*p_api).value_bytes {
7144 __SQLITE3_VALUE_BYTES
7145 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7146 }
7147 if let Some(fun) = (*p_api).value_double {
7148 __SQLITE3_VALUE_DOUBLE
7149 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7150 }
7151 if let Some(fun) = (*p_api).value_int {
7152 __SQLITE3_VALUE_INT
7153 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7154 }
7155 if let Some(fun) = (*p_api).value_int64 {
7156 __SQLITE3_VALUE_INT64
7157 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7158 }
7159 if let Some(fun) = (*p_api).value_numeric_type {
7160 __SQLITE3_VALUE_NUMERIC_TYPE
7161 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7162 }
7163 if let Some(fun) = (*p_api).value_text {
7164 __SQLITE3_VALUE_TEXT
7165 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7166 }
7167 if let Some(fun) = (*p_api).value_type {
7168 __SQLITE3_VALUE_TYPE
7169 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7170 }
7171 if let Some(fun) = (*p_api).overload_function {
7172 __SQLITE3_OVERLOAD_FUNCTION
7173 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7174 }
7175 if let Some(fun) = (*p_api).prepare_v2 {
7176 __SQLITE3_PREPARE_V2
7177 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7178 }
7179 if let Some(fun) = (*p_api).clear_bindings {
7180 __SQLITE3_CLEAR_BINDINGS
7181 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7182 }
7183 if let Some(fun) = (*p_api).create_module_v2 {
7184 __SQLITE3_CREATE_MODULE_V2
7185 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7186 }
7187 if let Some(fun) = (*p_api).bind_zeroblob {
7188 __SQLITE3_BIND_ZEROBLOB
7189 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7190 }
7191 if let Some(fun) = (*p_api).blob_bytes {
7192 __SQLITE3_BLOB_BYTES
7193 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7194 }
7195 if let Some(fun) = (*p_api).blob_close {
7196 __SQLITE3_BLOB_CLOSE
7197 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7198 }
7199 if let Some(fun) = (*p_api).blob_open {
7200 __SQLITE3_BLOB_OPEN
7201 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7202 }
7203 if let Some(fun) = (*p_api).blob_read {
7204 __SQLITE3_BLOB_READ
7205 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7206 }
7207 if let Some(fun) = (*p_api).blob_write {
7208 __SQLITE3_BLOB_WRITE
7209 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7210 }
7211 if let Some(fun) = (*p_api).create_collation_v2 {
7212 __SQLITE3_CREATE_COLLATION_V2
7213 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7214 }
7215 if let Some(fun) = (*p_api).file_control {
7216 __SQLITE3_FILE_CONTROL
7217 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7218 }
7219 if let Some(fun) = (*p_api).memory_highwater {
7220 __SQLITE3_MEMORY_HIGHWATER
7221 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7222 }
7223 if let Some(fun) = (*p_api).memory_used {
7224 __SQLITE3_MEMORY_USED
7225 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7226 }
7227 if let Some(fun) = (*p_api).mutex_alloc {
7228 __SQLITE3_MUTEX_ALLOC
7229 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7230 }
7231 if let Some(fun) = (*p_api).mutex_enter {
7232 __SQLITE3_MUTEX_ENTER
7233 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7234 }
7235 if let Some(fun) = (*p_api).mutex_free {
7236 __SQLITE3_MUTEX_FREE
7237 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7238 }
7239 if let Some(fun) = (*p_api).mutex_leave {
7240 __SQLITE3_MUTEX_LEAVE
7241 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7242 }
7243 if let Some(fun) = (*p_api).mutex_try {
7244 __SQLITE3_MUTEX_TRY
7245 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7246 }
7247 if let Some(fun) = (*p_api).open_v2 {
7248 __SQLITE3_OPEN_V2
7249 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7250 }
7251 if let Some(fun) = (*p_api).release_memory {
7252 __SQLITE3_RELEASE_MEMORY
7253 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7254 }
7255 if let Some(fun) = (*p_api).result_error_nomem {
7256 __SQLITE3_RESULT_ERROR_NOMEM
7257 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7258 }
7259 if let Some(fun) = (*p_api).result_error_toobig {
7260 __SQLITE3_RESULT_ERROR_TOOBIG
7261 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7262 }
7263 if let Some(fun) = (*p_api).sleep {
7264 __SQLITE3_SLEEP
7265 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7266 }
7267 if let Some(fun) = (*p_api).soft_heap_limit {
7268 __SQLITE3_SOFT_HEAP_LIMIT
7269 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7270 }
7271 if let Some(fun) = (*p_api).vfs_find {
7272 __SQLITE3_VFS_FIND
7273 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7274 }
7275 if let Some(fun) = (*p_api).vfs_register {
7276 __SQLITE3_VFS_REGISTER
7277 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7278 }
7279 if let Some(fun) = (*p_api).vfs_unregister {
7280 __SQLITE3_VFS_UNREGISTER
7281 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7282 }
7283 if let Some(fun) = (*p_api).xthreadsafe {
7284 __SQLITE3_THREADSAFE
7285 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7286 }
7287 if let Some(fun) = (*p_api).result_zeroblob {
7288 __SQLITE3_RESULT_ZEROBLOB
7289 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7290 }
7291 if let Some(fun) = (*p_api).result_error_code {
7292 __SQLITE3_RESULT_ERROR_CODE
7293 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7294 }
7295 if let Some(fun) = (*p_api).randomness {
7296 __SQLITE3_RANDOMNESS
7297 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7298 }
7299 if let Some(fun) = (*p_api).context_db_handle {
7300 __SQLITE3_CONTEXT_DB_HANDLE
7301 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7302 }
7303 if let Some(fun) = (*p_api).extended_result_codes {
7304 __SQLITE3_EXTENDED_RESULT_CODES
7305 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7306 }
7307 if let Some(fun) = (*p_api).limit {
7308 __SQLITE3_LIMIT
7309 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7310 }
7311 if let Some(fun) = (*p_api).next_stmt {
7312 __SQLITE3_NEXT_STMT
7313 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7314 }
7315 if let Some(fun) = (*p_api).sql {
7316 __SQLITE3_SQL
7317 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7318 }
7319 if let Some(fun) = (*p_api).status {
7320 __SQLITE3_STATUS
7321 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7322 }
7323 if let Some(fun) = (*p_api).backup_finish {
7324 __SQLITE3_BACKUP_FINISH
7325 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7326 }
7327 if let Some(fun) = (*p_api).backup_init {
7328 __SQLITE3_BACKUP_INIT
7329 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7330 }
7331 if let Some(fun) = (*p_api).backup_pagecount {
7332 __SQLITE3_BACKUP_PAGECOUNT
7333 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7334 }
7335 if let Some(fun) = (*p_api).backup_remaining {
7336 __SQLITE3_BACKUP_REMAINING
7337 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7338 }
7339 if let Some(fun) = (*p_api).backup_step {
7340 __SQLITE3_BACKUP_STEP
7341 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7342 }
7343 if let Some(fun) = (*p_api).compileoption_get {
7344 __SQLITE3_COMPILEOPTION_GET
7345 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7346 }
7347 if let Some(fun) = (*p_api).compileoption_used {
7348 __SQLITE3_COMPILEOPTION_USED
7349 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7350 }
7351 if let Some(fun) = (*p_api).create_function_v2 {
7352 __SQLITE3_CREATE_FUNCTION_V2
7353 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7354 }
7355 if let Some(fun) = (*p_api).db_config {
7356 __SQLITE3_DB_CONFIG
7357 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7358 }
7359 if let Some(fun) = (*p_api).db_mutex {
7360 __SQLITE3_DB_MUTEX
7361 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7362 }
7363 if let Some(fun) = (*p_api).db_status {
7364 __SQLITE3_DB_STATUS
7365 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7366 }
7367 if let Some(fun) = (*p_api).extended_errcode {
7368 __SQLITE3_EXTENDED_ERRCODE
7369 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7370 }
7371 if let Some(fun) = (*p_api).log {
7372 __SQLITE3_LOG
7373 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7374 }
7375 if let Some(fun) = (*p_api).soft_heap_limit64 {
7376 __SQLITE3_SOFT_HEAP_LIMIT64
7377 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7378 }
7379 if let Some(fun) = (*p_api).sourceid {
7380 __SQLITE3_SOURCEID
7381 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7382 }
7383 if let Some(fun) = (*p_api).stmt_status {
7384 __SQLITE3_STMT_STATUS
7385 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7386 }
7387 if let Some(fun) = (*p_api).strnicmp {
7388 __SQLITE3_STRNICMP
7389 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7390 }
7391 if let Some(fun) = (*p_api).unlock_notify {
7392 __SQLITE3_UNLOCK_NOTIFY
7393 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7394 }
7395 if let Some(fun) = (*p_api).wal_autocheckpoint {
7396 __SQLITE3_WAL_AUTOCHECKPOINT
7397 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7398 }
7399 if let Some(fun) = (*p_api).wal_checkpoint {
7400 __SQLITE3_WAL_CHECKPOINT
7401 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7402 }
7403 if let Some(fun) = (*p_api).wal_hook {
7404 __SQLITE3_WAL_HOOK
7405 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7406 }
7407 if let Some(fun) = (*p_api).blob_reopen {
7408 __SQLITE3_BLOB_REOPEN
7409 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7410 }
7411 if let Some(fun) = (*p_api).vtab_config {
7412 __SQLITE3_VTAB_CONFIG
7413 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7414 }
7415 if let Some(fun) = (*p_api).vtab_on_conflict {
7416 __SQLITE3_VTAB_ON_CONFLICT
7417 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7418 }
7419 if let Some(fun) = (*p_api).db_filename {
7420 __SQLITE3_DB_FILENAME
7421 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7422 }
7423 if let Some(fun) = (*p_api).db_readonly {
7424 __SQLITE3_DB_READONLY
7425 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7426 }
7427 if let Some(fun) = (*p_api).db_release_memory {
7428 __SQLITE3_DB_RELEASE_MEMORY
7429 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7430 }
7431 if let Some(fun) = (*p_api).errstr {
7432 __SQLITE3_ERRSTR
7433 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7434 }
7435 if let Some(fun) = (*p_api).stmt_busy {
7436 __SQLITE3_STMT_BUSY
7437 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7438 }
7439 if let Some(fun) = (*p_api).stmt_readonly {
7440 __SQLITE3_STMT_READONLY
7441 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7442 }
7443 if let Some(fun) = (*p_api).stricmp {
7444 __SQLITE3_STRICMP
7445 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7446 }
7447 if let Some(fun) = (*p_api).uri_boolean {
7448 __SQLITE3_URI_BOOLEAN
7449 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7450 }
7451 if let Some(fun) = (*p_api).uri_int64 {
7452 __SQLITE3_URI_INT64
7453 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7454 }
7455 if let Some(fun) = (*p_api).uri_parameter {
7456 __SQLITE3_URI_PARAMETER
7457 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7458 }
7459 if let Some(fun) = (*p_api).wal_checkpoint_v2 {
7460 __SQLITE3_WAL_CHECKPOINT_V2
7461 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7462 }
7463 if let Some(fun) = (*p_api).auto_extension {
7464 __SQLITE3_AUTO_EXTENSION
7465 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7466 }
7467 if let Some(fun) = (*p_api).bind_blob64 {
7468 __SQLITE3_BIND_BLOB64
7469 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7470 }
7471 if let Some(fun) = (*p_api).bind_text64 {
7472 __SQLITE3_BIND_TEXT64
7473 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7474 }
7475 if let Some(fun) = (*p_api).cancel_auto_extension {
7476 __SQLITE3_CANCEL_AUTO_EXTENSION
7477 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7478 }
7479 if let Some(fun) = (*p_api).load_extension {
7480 __SQLITE3_LOAD_EXTENSION
7481 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7482 }
7483 if let Some(fun) = (*p_api).malloc64 {
7484 __SQLITE3_MALLOC64
7485 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7486 }
7487 if let Some(fun) = (*p_api).msize {
7488 __SQLITE3_MSIZE
7489 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7490 }
7491 if let Some(fun) = (*p_api).realloc64 {
7492 __SQLITE3_REALLOC64
7493 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7494 }
7495 if let Some(fun) = (*p_api).reset_auto_extension {
7496 __SQLITE3_RESET_AUTO_EXTENSION
7497 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7498 }
7499 if let Some(fun) = (*p_api).result_blob64 {
7500 __SQLITE3_RESULT_BLOB64
7501 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7502 }
7503 if let Some(fun) = (*p_api).result_text64 {
7504 __SQLITE3_RESULT_TEXT64
7505 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7506 }
7507 if let Some(fun) = (*p_api).strglob {
7508 __SQLITE3_STRGLOB
7509 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7510 }
7511 if let Some(fun) = (*p_api).value_dup {
7512 __SQLITE3_VALUE_DUP
7513 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7514 }
7515 if let Some(fun) = (*p_api).value_free {
7516 __SQLITE3_VALUE_FREE
7517 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7518 }
7519 if let Some(fun) = (*p_api).result_zeroblob64 {
7520 __SQLITE3_RESULT_ZEROBLOB64
7521 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7522 }
7523 if let Some(fun) = (*p_api).bind_zeroblob64 {
7524 __SQLITE3_BIND_ZEROBLOB64
7525 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7526 }
7527 if let Some(fun) = (*p_api).value_subtype {
7528 __SQLITE3_VALUE_SUBTYPE
7529 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7530 }
7531 if let Some(fun) = (*p_api).result_subtype {
7532 __SQLITE3_RESULT_SUBTYPE
7533 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7534 }
7535 if let Some(fun) = (*p_api).status64 {
7536 __SQLITE3_STATUS64
7537 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7538 }
7539 if let Some(fun) = (*p_api).strlike {
7540 __SQLITE3_STRLIKE
7541 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7542 }
7543 if let Some(fun) = (*p_api).db_cacheflush {
7544 __SQLITE3_DB_CACHEFLUSH
7545 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7546 }
7547 if let Some(fun) = (*p_api).system_errno {
7548 __SQLITE3_SYSTEM_ERRNO
7549 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7550 }
7551 if let Some(fun) = (*p_api).trace_v2 {
7552 __SQLITE3_TRACE_V2
7553 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7554 }
7555 if let Some(fun) = (*p_api).expanded_sql {
7556 __SQLITE3_EXPANDED_SQL
7557 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7558 }
7559 if let Some(fun) = (*p_api).set_last_insert_rowid {
7560 __SQLITE3_SET_LAST_INSERT_ROWID
7561 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7562 }
7563 if let Some(fun) = (*p_api).prepare_v3 {
7564 __SQLITE3_PREPARE_V3
7565 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7566 }
7567 if let Some(fun) = (*p_api).bind_pointer {
7568 __SQLITE3_BIND_POINTER
7569 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7570 }
7571 if let Some(fun) = (*p_api).result_pointer {
7572 __SQLITE3_RESULT_POINTER
7573 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7574 }
7575 if let Some(fun) = (*p_api).value_pointer {
7576 __SQLITE3_VALUE_POINTER
7577 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7578 }
7579 if let Some(fun) = (*p_api).vtab_nochange {
7580 __SQLITE3_VTAB_NOCHANGE
7581 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7582 }
7583 if let Some(fun) = (*p_api).value_nochange {
7584 __SQLITE3_VALUE_NOCHANGE
7585 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7586 }
7587 if let Some(fun) = (*p_api).vtab_collation {
7588 __SQLITE3_VTAB_COLLATION
7589 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7590 }
7591 if let Some(fun) = (*p_api).keyword_count {
7592 __SQLITE3_KEYWORD_COUNT
7593 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7594 }
7595 if let Some(fun) = (*p_api).keyword_name {
7596 __SQLITE3_KEYWORD_NAME
7597 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7598 }
7599 if let Some(fun) = (*p_api).keyword_check {
7600 __SQLITE3_KEYWORD_CHECK
7601 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7602 }
7603 if let Some(fun) = (*p_api).str_new {
7604 __SQLITE3_STR_NEW
7605 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7606 }
7607 if let Some(fun) = (*p_api).str_finish {
7608 __SQLITE3_STR_FINISH
7609 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7610 }
7611 if let Some(fun) = (*p_api).str_append {
7612 __SQLITE3_STR_APPEND
7613 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7614 }
7615 if let Some(fun) = (*p_api).str_appendall {
7616 __SQLITE3_STR_APPENDALL
7617 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7618 }
7619 if let Some(fun) = (*p_api).str_appendchar {
7620 __SQLITE3_STR_APPENDCHAR
7621 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7622 }
7623 if let Some(fun) = (*p_api).str_reset {
7624 __SQLITE3_STR_RESET
7625 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7626 }
7627 if let Some(fun) = (*p_api).str_errcode {
7628 __SQLITE3_STR_ERRCODE
7629 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7630 }
7631 if let Some(fun) = (*p_api).str_length {
7632 __SQLITE3_STR_LENGTH
7633 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7634 }
7635 if let Some(fun) = (*p_api).str_value {
7636 __SQLITE3_STR_VALUE
7637 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7638 }
7639 if let Some(fun) = (*p_api).create_window_function {
7640 __SQLITE3_CREATE_WINDOW_FUNCTION
7641 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7642 }
7643 if let Some(fun) = (*p_api).normalized_sql {
7644 __SQLITE3_NORMALIZED_SQL
7645 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7646 }
7647 if let Some(fun) = (*p_api).stmt_isexplain {
7648 __SQLITE3_STMT_ISEXPLAIN
7649 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7650 }
7651 if let Some(fun) = (*p_api).value_frombind {
7652 __SQLITE3_VALUE_FROMBIND
7653 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7654 }
7655 if let Some(fun) = (*p_api).drop_modules {
7656 __SQLITE3_DROP_MODULES
7657 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7658 }
7659 if let Some(fun) = (*p_api).hard_heap_limit64 {
7660 __SQLITE3_HARD_HEAP_LIMIT64
7661 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7662 }
7663 if let Some(fun) = (*p_api).uri_key {
7664 __SQLITE3_URI_KEY
7665 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7666 }
7667 if let Some(fun) = (*p_api).filename_database {
7668 __SQLITE3_FILENAME_DATABASE
7669 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7670 }
7671 if let Some(fun) = (*p_api).filename_journal {
7672 __SQLITE3_FILENAME_JOURNAL
7673 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7674 }
7675 if let Some(fun) = (*p_api).filename_wal {
7676 __SQLITE3_FILENAME_WAL
7677 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7678 }
7679 if let Some(fun) = (*p_api).create_filename {
7680 __SQLITE3_CREATE_FILENAME
7681 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7682 }
7683 if let Some(fun) = (*p_api).free_filename {
7684 __SQLITE3_FREE_FILENAME
7685 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7686 }
7687 if let Some(fun) = (*p_api).database_file_object {
7688 __SQLITE3_DATABASE_FILE_OBJECT
7689 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7690 }
7691 if let Some(fun) = (*p_api).txn_state {
7692 __SQLITE3_TXN_STATE
7693 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7694 }
7695 if let Some(fun) = (*p_api).changes64 {
7696 __SQLITE3_CHANGES64
7697 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7698 }
7699 if let Some(fun) = (*p_api).total_changes64 {
7700 __SQLITE3_TOTAL_CHANGES64
7701 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7702 }
7703 if let Some(fun) = (*p_api).autovacuum_pages {
7704 __SQLITE3_AUTOVACUUM_PAGES
7705 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7706 }
7707 if let Some(fun) = (*p_api).error_offset {
7708 __SQLITE3_ERROR_OFFSET
7709 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7710 }
7711 if let Some(fun) = (*p_api).vtab_rhs_value {
7712 __SQLITE3_VTAB_RHS_VALUE
7713 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7714 }
7715 if let Some(fun) = (*p_api).vtab_distinct {
7716 __SQLITE3_VTAB_DISTINCT
7717 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7718 }
7719 if let Some(fun) = (*p_api).vtab_in {
7720 __SQLITE3_VTAB_IN
7721 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7722 }
7723 if let Some(fun) = (*p_api).vtab_in_first {
7724 __SQLITE3_VTAB_IN_FIRST
7725 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7726 }
7727 if let Some(fun) = (*p_api).vtab_in_next {
7728 __SQLITE3_VTAB_IN_NEXT
7729 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7730 }
7731 if let Some(fun) = (*p_api).deserialize {
7732 __SQLITE3_DESERIALIZE
7733 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7734 }
7735 if let Some(fun) = (*p_api).serialize {
7736 __SQLITE3_SERIALIZE
7737 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7738 }
7739 if let Some(fun) = (*p_api).db_name {
7740 __SQLITE3_DB_NAME
7741 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7742 }
7743 if let Some(fun) = (*p_api).value_encoding {
7744 __SQLITE3_VALUE_ENCODING
7745 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7746 }
7747 if let Some(fun) = (*p_api).is_interrupted {
7748 __SQLITE3_IS_INTERRUPTED
7749 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7750 }
7751 if let Some(fun) = (*p_api).stmt_explain {
7752 __SQLITE3_STMT_EXPLAIN
7753 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7754 }
7755 if let Some(fun) = (*p_api).get_clientdata {
7756 __SQLITE3_GET_CLIENTDATA
7757 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7758 }
7759 if let Some(fun) = (*p_api).set_clientdata {
7760 __SQLITE3_SET_CLIENTDATA
7761 .store(fun as usize as *mut (), ::std::sync::atomic::Ordering::Release);
7762 }
7763 Ok(())
7764 }
7765