49 # define SQLITE_EXTERN extern 57 #ifndef SQLITE_APICALL 58 # define SQLITE_APICALL 60 #ifndef SQLITE_STDCALL 61 # define SQLITE_STDCALL SQLITE_APICALL 63 #ifndef SQLITE_CALLBACK 64 # define SQLITE_CALLBACK 67 # define SQLITE_SYSAPI 83 #define SQLITE_DEPRECATED 84 #define SQLITE_EXPERIMENTAL 90 # undef SQLITE_VERSION 92 #ifdef SQLITE_VERSION_NUMBER 93 # undef SQLITE_VERSION_NUMBER 124 #define SQLITE_VERSION "3.15.2" 125 #define SQLITE_VERSION_NUMBER 3015002 126 #define SQLITE_SOURCE_ID "2016-11-28 19:13:37 bbd85d235f7037c6a033a9690534391ffeacecc8" 185 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS 260 #ifdef SQLITE_INT64_TYPE 263 #elif defined(_MSC_VER) || defined(__BORLANDC__) 277 #ifdef SQLITE_OMIT_FLOATING_POINT 278 # define double sqlite3_int64 398 int (*
callback)(
void*,
int,
char**,
char**),
416 #define SQLITE_ERROR 1 417 #define SQLITE_INTERNAL 2 418 #define SQLITE_PERM 3 419 #define SQLITE_ABORT 4 420 #define SQLITE_BUSY 5 421 #define SQLITE_LOCKED 6 422 #define SQLITE_NOMEM 7 423 #define SQLITE_READONLY 8 424 #define SQLITE_INTERRUPT 9 425 #define SQLITE_IOERR 10 426 #define SQLITE_CORRUPT 11 427 #define SQLITE_NOTFOUND 12 428 #define SQLITE_FULL 13 429 #define SQLITE_CANTOPEN 14 430 #define SQLITE_PROTOCOL 15 431 #define SQLITE_EMPTY 16 432 #define SQLITE_SCHEMA 17 433 #define SQLITE_TOOBIG 18 434 #define SQLITE_CONSTRAINT 19 435 #define SQLITE_MISMATCH 20 436 #define SQLITE_MISUSE 21 437 #define SQLITE_NOLFS 22 438 #define SQLITE_AUTH 23 439 #define SQLITE_FORMAT 24 440 #define SQLITE_RANGE 25 441 #define SQLITE_NOTADB 26 442 #define SQLITE_NOTICE 27 443 #define SQLITE_WARNING 28 444 #define SQLITE_ROW 100 445 #define SQLITE_DONE 101 465 #define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) 466 #define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) 467 #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) 468 #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) 469 #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) 470 #define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) 471 #define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8)) 472 #define SQLITE_IOERR_UNLOCK (SQLITE_IOERR | (8<<8)) 473 #define SQLITE_IOERR_RDLOCK (SQLITE_IOERR | (9<<8)) 474 #define SQLITE_IOERR_DELETE (SQLITE_IOERR | (10<<8)) 475 #define SQLITE_IOERR_BLOCKED (SQLITE_IOERR | (11<<8)) 476 #define SQLITE_IOERR_NOMEM (SQLITE_IOERR | (12<<8)) 477 #define SQLITE_IOERR_ACCESS (SQLITE_IOERR | (13<<8)) 478 #define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14<<8)) 479 #define SQLITE_IOERR_LOCK (SQLITE_IOERR | (15<<8)) 480 #define SQLITE_IOERR_CLOSE (SQLITE_IOERR | (16<<8)) 481 #define SQLITE_IOERR_DIR_CLOSE (SQLITE_IOERR | (17<<8)) 482 #define SQLITE_IOERR_SHMOPEN (SQLITE_IOERR | (18<<8)) 483 #define SQLITE_IOERR_SHMSIZE (SQLITE_IOERR | (19<<8)) 484 #define SQLITE_IOERR_SHMLOCK (SQLITE_IOERR | (20<<8)) 485 #define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8)) 486 #define SQLITE_IOERR_SEEK (SQLITE_IOERR | (22<<8)) 487 #define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8)) 488 #define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8)) 489 #define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8)) 490 #define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8)) 491 #define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8)) 492 #define SQLITE_IOERR_AUTH (SQLITE_IOERR | (28<<8)) 493 #define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8)) 494 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8)) 495 #define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8)) 496 #define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8)) 497 #define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8)) 498 #define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8)) 499 #define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8)) 500 #define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) 501 #define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) 502 #define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) 503 #define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<8)) 504 #define SQLITE_READONLY_DBMOVED (SQLITE_READONLY | (4<<8)) 505 #define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2<<8)) 506 #define SQLITE_CONSTRAINT_CHECK (SQLITE_CONSTRAINT | (1<<8)) 507 #define SQLITE_CONSTRAINT_COMMITHOOK (SQLITE_CONSTRAINT | (2<<8)) 508 #define SQLITE_CONSTRAINT_FOREIGNKEY (SQLITE_CONSTRAINT | (3<<8)) 509 #define SQLITE_CONSTRAINT_FUNCTION (SQLITE_CONSTRAINT | (4<<8)) 510 #define SQLITE_CONSTRAINT_NOTNULL (SQLITE_CONSTRAINT | (5<<8)) 511 #define SQLITE_CONSTRAINT_PRIMARYKEY (SQLITE_CONSTRAINT | (6<<8)) 512 #define SQLITE_CONSTRAINT_TRIGGER (SQLITE_CONSTRAINT | (7<<8)) 513 #define SQLITE_CONSTRAINT_UNIQUE (SQLITE_CONSTRAINT | (8<<8)) 514 #define SQLITE_CONSTRAINT_VTAB (SQLITE_CONSTRAINT | (9<<8)) 515 #define SQLITE_CONSTRAINT_ROWID (SQLITE_CONSTRAINT |(10<<8)) 516 #define SQLITE_NOTICE_RECOVER_WAL (SQLITE_NOTICE | (1<<8)) 517 #define SQLITE_NOTICE_RECOVER_ROLLBACK (SQLITE_NOTICE | (2<<8)) 518 #define SQLITE_WARNING_AUTOINDEX (SQLITE_WARNING | (1<<8)) 519 #define SQLITE_AUTH_USER (SQLITE_AUTH | (1<<8)) 520 #define SQLITE_OK_LOAD_PERMANENTLY (SQLITE_OK | (1<<8)) 529 #define SQLITE_OPEN_READONLY 0x00000001 530 #define SQLITE_OPEN_READWRITE 0x00000002 531 #define SQLITE_OPEN_CREATE 0x00000004 532 #define SQLITE_OPEN_DELETEONCLOSE 0x00000008 533 #define SQLITE_OPEN_EXCLUSIVE 0x00000010 534 #define SQLITE_OPEN_AUTOPROXY 0x00000020 535 #define SQLITE_OPEN_URI 0x00000040 536 #define SQLITE_OPEN_MEMORY 0x00000080 537 #define SQLITE_OPEN_MAIN_DB 0x00000100 538 #define SQLITE_OPEN_TEMP_DB 0x00000200 539 #define SQLITE_OPEN_TRANSIENT_DB 0x00000400 540 #define SQLITE_OPEN_MAIN_JOURNAL 0x00000800 541 #define SQLITE_OPEN_TEMP_JOURNAL 0x00001000 542 #define SQLITE_OPEN_SUBJOURNAL 0x00002000 543 #define SQLITE_OPEN_MASTER_JOURNAL 0x00004000 544 #define SQLITE_OPEN_NOMUTEX 0x00008000 545 #define SQLITE_OPEN_FULLMUTEX 0x00010000 546 #define SQLITE_OPEN_SHAREDCACHE 0x00020000 547 #define SQLITE_OPEN_PRIVATECACHE 0x00040000 548 #define SQLITE_OPEN_WAL 0x00080000 580 #define SQLITE_IOCAP_ATOMIC 0x00000001 581 #define SQLITE_IOCAP_ATOMIC512 0x00000002 582 #define SQLITE_IOCAP_ATOMIC1K 0x00000004 583 #define SQLITE_IOCAP_ATOMIC2K 0x00000008 584 #define SQLITE_IOCAP_ATOMIC4K 0x00000010 585 #define SQLITE_IOCAP_ATOMIC8K 0x00000020 586 #define SQLITE_IOCAP_ATOMIC16K 0x00000040 587 #define SQLITE_IOCAP_ATOMIC32K 0x00000080 588 #define SQLITE_IOCAP_ATOMIC64K 0x00000100 589 #define SQLITE_IOCAP_SAFE_APPEND 0x00000200 590 #define SQLITE_IOCAP_SEQUENTIAL 0x00000400 591 #define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN 0x00000800 592 #define SQLITE_IOCAP_POWERSAFE_OVERWRITE 0x00001000 593 #define SQLITE_IOCAP_IMMUTABLE 0x00002000 602 #define SQLITE_LOCK_NONE 0 603 #define SQLITE_LOCK_SHARED 1 604 #define SQLITE_LOCK_RESERVED 2 605 #define SQLITE_LOCK_PENDING 3 606 #define SQLITE_LOCK_EXCLUSIVE 4 634 #define SQLITE_SYNC_NORMAL 0x00002 635 #define SQLITE_SYNC_FULL 0x00003 636 #define SQLITE_SYNC_DATAONLY 0x00010 748 int (*xRead)(
sqlite3_file*,
void*,
int iAmt, sqlite3_int64 iOfst);
749 int (*xWrite)(
sqlite3_file*,
const void*,
int iAmt, sqlite3_int64 iOfst);
760 int (*xShmMap)(
sqlite3_file*,
int iPg,
int pgsz, int,
void volatile**);
761 int (*xShmLock)(
sqlite3_file*,
int offset,
int n,
int flags);
765 int (*xFetch)(
sqlite3_file*, sqlite3_int64 iOfst,
int iAmt,
void **pp);
766 int (*xUnfetch)(
sqlite3_file*, sqlite3_int64 iOfst,
void *p);
1010 #define SQLITE_FCNTL_LOCKSTATE 1 1011 #define SQLITE_FCNTL_GET_LOCKPROXYFILE 2 1012 #define SQLITE_FCNTL_SET_LOCKPROXYFILE 3 1013 #define SQLITE_FCNTL_LAST_ERRNO 4 1014 #define SQLITE_FCNTL_SIZE_HINT 5 1015 #define SQLITE_FCNTL_CHUNK_SIZE 6 1016 #define SQLITE_FCNTL_FILE_POINTER 7 1017 #define SQLITE_FCNTL_SYNC_OMITTED 8 1018 #define SQLITE_FCNTL_WIN32_AV_RETRY 9 1019 #define SQLITE_FCNTL_PERSIST_WAL 10 1020 #define SQLITE_FCNTL_OVERWRITE 11 1021 #define SQLITE_FCNTL_VFSNAME 12 1022 #define SQLITE_FCNTL_POWERSAFE_OVERWRITE 13 1023 #define SQLITE_FCNTL_PRAGMA 14 1024 #define SQLITE_FCNTL_BUSYHANDLER 15 1025 #define SQLITE_FCNTL_TEMPFILENAME 16 1026 #define SQLITE_FCNTL_MMAP_SIZE 18 1027 #define SQLITE_FCNTL_TRACE 19 1028 #define SQLITE_FCNTL_HAS_MOVED 20 1029 #define SQLITE_FCNTL_SYNC 21 1030 #define SQLITE_FCNTL_COMMIT_PHASETWO 22 1031 #define SQLITE_FCNTL_WIN32_SET_HANDLE 23 1032 #define SQLITE_FCNTL_WAL_BLOCK 24 1033 #define SQLITE_FCNTL_ZIPVFS 25 1034 #define SQLITE_FCNTL_RBU 26 1035 #define SQLITE_FCNTL_VFS_POINTER 27 1036 #define SQLITE_FCNTL_JOURNAL_POINTER 28 1037 #define SQLITE_FCNTL_WIN32_GET_HANDLE 29 1040 #define SQLITE_GET_LOCKPROXYFILE SQLITE_FCNTL_GET_LOCKPROXYFILE 1041 #define SQLITE_SET_LOCKPROXYFILE SQLITE_FCNTL_SET_LOCKPROXYFILE 1042 #define SQLITE_LAST_ERRNO SQLITE_FCNTL_LAST_ERRNO 1234 int flags,
int *pOutFlags);
1235 int (*xDelete)(
sqlite3_vfs*,
const char *zName,
int syncDir);
1236 int (*xAccess)(
sqlite3_vfs*,
const char *zName,
int flags,
int *pResOut);
1237 int (*xFullPathname)(
sqlite3_vfs*,
const char *zName,
int nOut,
char *zOut);
1238 void *(*xDlOpen)(
sqlite3_vfs*,
const char *zFilename);
1239 void (*xDlError)(sqlite3_vfs*,
int nByte,
char *zErrMsg);
1240 void (*(*xDlSym)(sqlite3_vfs*,
void*,
const char *zSymbol))(void);
1241 void (*xDlClose)(sqlite3_vfs*,
void*);
1242 int (*xRandomness)(sqlite3_vfs*,
int nByte,
char *zOut);
1243 int (*xSleep)(sqlite3_vfs*,
int microseconds);
1244 int (*xCurrentTime)(sqlite3_vfs*,
double*);
1245 int (*xGetLastError)(sqlite3_vfs*, int,
char *);
1250 int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
1257 const char *(*xNextSystemCall)(sqlite3_vfs*,
const char *zName);
1285 #define SQLITE_ACCESS_EXISTS 0 1286 #define SQLITE_ACCESS_READWRITE 1 1287 #define SQLITE_ACCESS_READ 2 1311 #define SQLITE_SHM_UNLOCK 1 1312 #define SQLITE_SHM_LOCK 2 1313 #define SQLITE_SHM_SHARED 4 1314 #define SQLITE_SHM_EXCLUSIVE 8 1324 #define SQLITE_SHM_NLOCK 8 1524 void *(*xMalloc)(int);
1525 void (*xFree)(
void*);
1526 void *(*xRealloc)(
void*,int);
1527 int (*xSize)(
void*);
1528 int (*xRoundup)(int);
1529 int (*xInit)(
void*);
1530 void (*xShutdown)(
void*);
1868 #define SQLITE_CONFIG_SINGLETHREAD 1 1869 #define SQLITE_CONFIG_MULTITHREAD 2 1870 #define SQLITE_CONFIG_SERIALIZED 3 1871 #define SQLITE_CONFIG_MALLOC 4 1872 #define SQLITE_CONFIG_GETMALLOC 5 1873 #define SQLITE_CONFIG_SCRATCH 6 1874 #define SQLITE_CONFIG_PAGECACHE 7 1875 #define SQLITE_CONFIG_HEAP 8 1876 #define SQLITE_CONFIG_MEMSTATUS 9 1877 #define SQLITE_CONFIG_MUTEX 10 1878 #define SQLITE_CONFIG_GETMUTEX 11 1880 #define SQLITE_CONFIG_LOOKASIDE 13 1881 #define SQLITE_CONFIG_PCACHE 14 1882 #define SQLITE_CONFIG_GETPCACHE 15 1883 #define SQLITE_CONFIG_LOG 16 1884 #define SQLITE_CONFIG_URI 17 1885 #define SQLITE_CONFIG_PCACHE2 18 1886 #define SQLITE_CONFIG_GETPCACHE2 19 1887 #define SQLITE_CONFIG_COVERING_INDEX_SCAN 20 1888 #define SQLITE_CONFIG_SQLLOG 21 1889 #define SQLITE_CONFIG_MMAP_SIZE 22 1890 #define SQLITE_CONFIG_WIN32_HEAPSIZE 23 1891 #define SQLITE_CONFIG_PCACHE_HDRSZ 24 1892 #define SQLITE_CONFIG_PMASZ 25 1893 #define SQLITE_CONFIG_STMTJRNL_SPILL 26 1992 #define SQLITE_DBCONFIG_MAINDBNAME 1000 1993 #define SQLITE_DBCONFIG_LOOKASIDE 1001 1994 #define SQLITE_DBCONFIG_ENABLE_FKEY 1002 1995 #define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 1996 #define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 1997 #define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 2718 int (*xAuth)(
void*,
int,
const char*,
const char*,
const char*,
const char*),
2734 #define SQLITE_DENY 1 2735 #define SQLITE_IGNORE 2 2757 #define SQLITE_CREATE_INDEX 1 2758 #define SQLITE_CREATE_TABLE 2 2759 #define SQLITE_CREATE_TEMP_INDEX 3 2760 #define SQLITE_CREATE_TEMP_TABLE 4 2761 #define SQLITE_CREATE_TEMP_TRIGGER 5 2762 #define SQLITE_CREATE_TEMP_VIEW 6 2763 #define SQLITE_CREATE_TRIGGER 7 2764 #define SQLITE_CREATE_VIEW 8 2765 #define SQLITE_DELETE 9 2766 #define SQLITE_DROP_INDEX 10 2767 #define SQLITE_DROP_TABLE 11 2768 #define SQLITE_DROP_TEMP_INDEX 12 2769 #define SQLITE_DROP_TEMP_TABLE 13 2770 #define SQLITE_DROP_TEMP_TRIGGER 14 2771 #define SQLITE_DROP_TEMP_VIEW 15 2772 #define SQLITE_DROP_TRIGGER 16 2773 #define SQLITE_DROP_VIEW 17 2774 #define SQLITE_INSERT 18 2775 #define SQLITE_PRAGMA 19 2776 #define SQLITE_READ 20 2777 #define SQLITE_SELECT 21 2778 #define SQLITE_TRANSACTION 22 2779 #define SQLITE_UPDATE 23 2780 #define SQLITE_ATTACH 24 2781 #define SQLITE_DETACH 25 2782 #define SQLITE_ALTER_TABLE 26 2783 #define SQLITE_REINDEX 27 2784 #define SQLITE_ANALYZE 28 2785 #define SQLITE_CREATE_VTABLE 29 2786 #define SQLITE_DROP_VTABLE 30 2787 #define SQLITE_FUNCTION 31 2788 #define SQLITE_SAVEPOINT 32 2789 #define SQLITE_COPY 0 2790 #define SQLITE_RECURSIVE 33 2825 void(*xTrace)(
void*,
const char*),
void*);
2827 void(*xProfile)(
void*,
const char*,sqlite3_uint64),
void*);
2881 #define SQLITE_TRACE_STMT 0x01 2882 #define SQLITE_TRACE_PROFILE 0x02 2883 #define SQLITE_TRACE_ROW 0x04 2884 #define SQLITE_TRACE_CLOSE 0x08 2918 int(*xCallback)(
unsigned,
void*,
void*,
void*),
3184 const char *filename,
3188 const void *filename,
3192 const char *filename,
3413 #define SQLITE_LIMIT_LENGTH 0 3414 #define SQLITE_LIMIT_SQL_LENGTH 1 3415 #define SQLITE_LIMIT_COLUMN 2 3416 #define SQLITE_LIMIT_EXPR_DEPTH 3 3417 #define SQLITE_LIMIT_COMPOUND_SELECT 4 3418 #define SQLITE_LIMIT_VDBE_OP 5 3419 #define SQLITE_LIMIT_FUNCTION_ARG 6 3420 #define SQLITE_LIMIT_ATTACHED 7 3421 #define SQLITE_LIMIT_LIKE_PATTERN_LENGTH 8 3422 #define SQLITE_LIMIT_VARIABLE_NUMBER 9 3423 #define SQLITE_LIMIT_TRIGGER_DEPTH 10 3424 #define SQLITE_LIMIT_WORKER_THREADS 11 3795 void(*)(
void*),
unsigned char encoding);
4127 #define SQLITE_INTEGER 1 4128 #define SQLITE_FLOAT 2 4129 #define SQLITE_BLOB 4 4130 #define SQLITE_NULL 5 4134 # define SQLITE_TEXT 3 4136 #define SQLITE3_TEXT 3 4460 const char *zFunctionName,
4470 const void *zFunctionName,
4480 const char *zFunctionName,
4487 void(*xDestroy)(
void*)
4496 #define SQLITE_UTF8 1 4497 #define SQLITE_UTF16LE 2 4498 #define SQLITE_UTF16BE 3 4499 #define SQLITE_UTF16 4 4500 #define SQLITE_ANY 5 4501 #define SQLITE_UTF16_ALIGNED 8 4511 #define SQLITE_DETERMINISTIC 0x800 4523 #ifndef SQLITE_OMIT_DEPRECATED 4530 void*,sqlite3_int64);
4768 #define SQLITE_STATIC ((sqlite3_destructor_type)0) 4769 #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1) 4888 sqlite3_uint64,
void(*)(
void*));
4900 void(*)(
void*),
unsigned char encoding);
5008 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
5015 int(*xCompare)(
void*,
int,
const void*,
int,
const void*),
5016 void(*xDestroy)(
void*)
5023 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
5056 void(*)(
void*,
sqlite3*,
int eTextRep,
const char*)
5061 void(*)(
void*,
sqlite3*,
int eTextRep,
const void*)
5064 #ifdef SQLITE_HAS_CODEC 5074 const void *pKey,
int nKey
5078 const char *zDbName,
5079 const void *pKey,
int nKey
5092 const void *pKey,
int nKey
5096 const char *zDbName,
5097 const void *pKey,
int nKey
5105 const char *zPassPhrase
5109 #ifdef SQLITE_ENABLE_CEROD 5115 const char *zPassPhrase
5414 void(*)(
void *,
int ,
char const *,
char const *,sqlite3_int64),
5619 const char *zDbName,
5620 const char *zTableName,
5621 const char *zColumnName,
5622 char const **pzDataType,
5623 char const **pzCollSeq,
5800 int (*xCreate)(
sqlite3*,
void *pAux,
5801 int argc,
const char *
const*argv,
5803 int (*xConnect)(
sqlite3*,
void *pAux,
5804 int argc,
const char *
const*argv,
5822 int (*xFindFunction)(
sqlite3_vtab *pVtab,
int nArg,
const char *zName,
5823 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
5932 struct sqlite3_index_constraint {
5935 unsigned char usable;
5939 struct sqlite3_index_orderby {
5944 struct sqlite3_index_constraint_usage {
5947 } *aConstraintUsage;
5950 int needToFreeIdxStr;
5951 int orderByConsumed;
5952 double estimatedCost;
5954 sqlite3_int64 estimatedRows;
5958 sqlite3_uint64 colUsed;
5964 #define SQLITE_INDEX_SCAN_UNIQUE 1 5974 #define SQLITE_INDEX_CONSTRAINT_EQ 2 5975 #define SQLITE_INDEX_CONSTRAINT_GT 4 5976 #define SQLITE_INDEX_CONSTRAINT_LE 8 5977 #define SQLITE_INDEX_CONSTRAINT_LT 16 5978 #define SQLITE_INDEX_CONSTRAINT_GE 32 5979 #define SQLITE_INDEX_CONSTRAINT_MATCH 64 5980 #define SQLITE_INDEX_CONSTRAINT_LIKE 65 5981 #define SQLITE_INDEX_CONSTRAINT_GLOB 66 5982 #define SQLITE_INDEX_CONSTRAINT_REGEXP 67 6021 void(*xDestroy)(
void*)
6201 const char *zColumn,
6562 int (*xMutexInit)(void);
6563 int (*xMutexEnd)(void);
6617 #define SQLITE_MUTEX_FAST 0 6618 #define SQLITE_MUTEX_RECURSIVE 1 6619 #define SQLITE_MUTEX_STATIC_MASTER 2 6620 #define SQLITE_MUTEX_STATIC_MEM 3 6621 #define SQLITE_MUTEX_STATIC_MEM2 4 6622 #define SQLITE_MUTEX_STATIC_OPEN 4 6623 #define SQLITE_MUTEX_STATIC_PRNG 5 6624 #define SQLITE_MUTEX_STATIC_LRU 6 6625 #define SQLITE_MUTEX_STATIC_LRU2 7 6626 #define SQLITE_MUTEX_STATIC_PMEM 7 6627 #define SQLITE_MUTEX_STATIC_APP1 8 6628 #define SQLITE_MUTEX_STATIC_APP2 9 6629 #define SQLITE_MUTEX_STATIC_APP3 10 6630 #define SQLITE_MUTEX_STATIC_VFS1 11 6631 #define SQLITE_MUTEX_STATIC_VFS2 12 6632 #define SQLITE_MUTEX_STATIC_VFS3 13 6711 #define SQLITE_TESTCTRL_FIRST 5 6712 #define SQLITE_TESTCTRL_PRNG_SAVE 5 6713 #define SQLITE_TESTCTRL_PRNG_RESTORE 6 6714 #define SQLITE_TESTCTRL_PRNG_RESET 7 6715 #define SQLITE_TESTCTRL_BITVEC_TEST 8 6716 #define SQLITE_TESTCTRL_FAULT_INSTALL 9 6717 #define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS 10 6718 #define SQLITE_TESTCTRL_PENDING_BYTE 11 6719 #define SQLITE_TESTCTRL_ASSERT 12 6720 #define SQLITE_TESTCTRL_ALWAYS 13 6721 #define SQLITE_TESTCTRL_RESERVE 14 6722 #define SQLITE_TESTCTRL_OPTIMIZATIONS 15 6723 #define SQLITE_TESTCTRL_ISKEYWORD 16 6724 #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 6725 #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 6726 #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 6727 #define SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD 19 6728 #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 6729 #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 6730 #define SQLITE_TESTCTRL_BYTEORDER 22 6731 #define SQLITE_TESTCTRL_ISINIT 23 6732 #define SQLITE_TESTCTRL_SORTER_MMAP 24 6733 #define SQLITE_TESTCTRL_IMPOSTER 25 6734 #define SQLITE_TESTCTRL_LAST 25 6765 sqlite3_int64 *pCurrent,
6766 sqlite3_int64 *pHighwater,
6854 #define SQLITE_STATUS_MEMORY_USED 0 6855 #define SQLITE_STATUS_PAGECACHE_USED 1 6856 #define SQLITE_STATUS_PAGECACHE_OVERFLOW 2 6857 #define SQLITE_STATUS_SCRATCH_USED 3 6858 #define SQLITE_STATUS_SCRATCH_OVERFLOW 4 6859 #define SQLITE_STATUS_MALLOC_SIZE 5 6860 #define SQLITE_STATUS_PARSER_STACK 6 6861 #define SQLITE_STATUS_PAGECACHE_SIZE 7 6862 #define SQLITE_STATUS_SCRATCH_SIZE 8 6863 #define SQLITE_STATUS_MALLOC_COUNT 9 6992 #define SQLITE_DBSTATUS_LOOKASIDE_USED 0 6993 #define SQLITE_DBSTATUS_CACHE_USED 1 6994 #define SQLITE_DBSTATUS_SCHEMA_USED 2 6995 #define SQLITE_DBSTATUS_STMT_USED 3 6996 #define SQLITE_DBSTATUS_LOOKASIDE_HIT 4 6997 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE 5 6998 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL 6 6999 #define SQLITE_DBSTATUS_CACHE_HIT 7 7000 #define SQLITE_DBSTATUS_CACHE_MISS 8 7001 #define SQLITE_DBSTATUS_CACHE_WRITE 9 7002 #define SQLITE_DBSTATUS_DEFERRED_FKS 10 7003 #define SQLITE_DBSTATUS_CACHE_USED_SHARED 11 7004 #define SQLITE_DBSTATUS_MAX 11 7070 #define SQLITE_STMTSTATUS_FULLSCAN_STEP 1 7071 #define SQLITE_STMTSTATUS_SORT 2 7072 #define SQLITE_STMTSTATUS_AUTOINDEX 3 7073 #define SQLITE_STMTSTATUS_VM_STEP 4 7267 int (*xInit)(
void*);
7268 void (*xShutdown)(
void*);
7269 sqlite3_pcache *(*xCreate)(
int szPage,
int szExtra,
int bPurgeable);
7271 int (*xPagecount)(sqlite3_pcache*);
7274 void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*,
7275 unsigned oldKey,
unsigned newKey);
7276 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
7277 void (*xDestroy)(sqlite3_pcache*);
7278 void (*xShrink)(sqlite3_pcache*);
7289 int (*xInit)(
void*);
7290 void (*xShutdown)(
void*);
7293 int (*xPagecount)(sqlite3_pcache*);
7294 void *(*xFetch)(sqlite3_pcache*,
unsigned key,
int createFlag);
7295 void (*xUnpin)(sqlite3_pcache*,
void*,
int discard);
7296 void (*xRekey)(sqlite3_pcache*,
void*,
unsigned oldKey,
unsigned newKey);
7297 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
7298 void (*xDestroy)(sqlite3_pcache*);
7502 const char *zDestName,
7504 const char *zSourceName
7628 void (*xNotify)(
void **apArg,
int nArg),
7743 int(*)(
void *,
sqlite3*,
const char*,
int),
7909 #define SQLITE_CHECKPOINT_PASSIVE 0 7910 #define SQLITE_CHECKPOINT_FULL 1 7911 #define SQLITE_CHECKPOINT_RESTART 2 7912 #define SQLITE_CHECKPOINT_TRUNCATE 3 7969 #define SQLITE_VTAB_CONSTRAINT_SUPPORT 1 7995 #define SQLITE_ROLLBACK 1 7997 #define SQLITE_FAIL 3 7999 #define SQLITE_REPLACE 5 8048 #define SQLITE_SCANSTAT_NLOOP 0 8049 #define SQLITE_SCANSTAT_NVISIT 1 8050 #define SQLITE_SCANSTAT_EST 2 8051 #define SQLITE_SCANSTAT_NAME 3 8052 #define SQLITE_SCANSTAT_EXPLAIN 4 8053 #define SQLITE_SCANSTAT_SELECTID 5 8222 sqlite3_int64 iKey1,
8294 const char *zSchema,
8332 const char *zSchema,
8380 #ifdef SQLITE_OMIT_FLOATING_POINT 8403 #ifndef _SQLITE3RTREE_H_ 8404 #define _SQLITE3RTREE_H_ 8417 #ifdef SQLITE_RTREE_INT_ONLY 8444 sqlite3_rtree_dbl *aParam;
8446 void (*xDelUser)(
void *);
8457 const char *zQueryFunc,
8460 void (*xDestructor)(
void*)
8476 sqlite3_rtree_dbl *aParam;
8478 void (*xDelUser)(
void*);
8479 sqlite3_rtree_dbl *aCoord;
8480 unsigned int *anQueue;
8484 sqlite3_int64 iRowid;
8485 sqlite3_rtree_dbl rParentScore;
8488 sqlite3_rtree_dbl rScore;
8496 #define NOT_WITHIN 0 8497 #define PARTLY_WITHIN 1 8498 #define FULLY_WITHIN 2 8510 #if !defined(__SQLITESESSION_H_) && defined(SQLITE_ENABLE_SESSION) 8511 #define __SQLITESESSION_H_ 1 8524 typedef struct sqlite3_session sqlite3_session;
8529 typedef struct sqlite3_changeset_iter sqlite3_changeset_iter;
8561 int sqlite3session_create(
8564 sqlite3_session **ppSession
8579 void sqlite3session_delete(sqlite3_session *pSession);
8599 int sqlite3session_enable(sqlite3_session *pSession,
int bEnable);
8628 int sqlite3session_indirect(sqlite3_session *pSession,
int bIndirect);
8658 int sqlite3session_attach(
8659 sqlite3_session *pSession,
8672 void sqlite3session_table_filter(
8673 sqlite3_session *pSession,
8785 int sqlite3session_changeset(
8786 sqlite3_session *pSession,
8846 int sqlite3session_diff(
8847 sqlite3_session *pSession,
8848 const char *zFromDb,
8882 int sqlite3session_patchset(
8883 sqlite3_session *pSession,
8903 int sqlite3session_isempty(sqlite3_session *pSession);
8938 int sqlite3changeset_start(
8939 sqlite3_changeset_iter **pp,
8967 int sqlite3changeset_next(sqlite3_changeset_iter *pIter);
8995 int sqlite3changeset_op(
8996 sqlite3_changeset_iter *pIter,
9028 int sqlite3changeset_pk(
9029 sqlite3_changeset_iter *pIter,
9030 unsigned char **pabPK,
9058 int sqlite3changeset_old(
9059 sqlite3_changeset_iter *pIter,
9091 int sqlite3changeset_new(
9092 sqlite3_changeset_iter *pIter,
9118 int sqlite3changeset_conflict(
9119 sqlite3_changeset_iter *pIter,
9134 int sqlite3changeset_fk_conflicts(
9135 sqlite3_changeset_iter *pIter,
9167 int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter);
9197 int sqlite3changeset_invert(
9198 int nIn,
const void *pIn,
9199 int *pnOut,
void **ppOut
9226 int sqlite3changeset_concat(
9239 typedef struct sqlite3_changegroup sqlite3_changegroup;
9276 int sqlite3changegroup_new(sqlite3_changegroup **pp);
9353 int sqlite3changegroup_add(sqlite3_changegroup*,
int nData,
void *pData);
9379 int sqlite3changegroup_output(
9380 sqlite3_changegroup*,
9388 void sqlite3changegroup_delete(sqlite3_changegroup*);
9526 int sqlite3changeset_apply(
9537 sqlite3_changeset_iter *p
9597 #define SQLITE_CHANGESET_DATA 1 9598 #define SQLITE_CHANGESET_NOTFOUND 2 9599 #define SQLITE_CHANGESET_CONFLICT 3 9600 #define SQLITE_CHANGESET_CONSTRAINT 4 9601 #define SQLITE_CHANGESET_FOREIGN_KEY 5 9634 #define SQLITE_CHANGESET_OMIT 0 9635 #define SQLITE_CHANGESET_REPLACE 1 9636 #define SQLITE_CHANGESET_ABORT 2 9727 int sqlite3changeset_apply_strm(
9729 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9738 sqlite3_changeset_iter *p
9742 int sqlite3changeset_concat_strm(
9743 int (*xInputA)(
void *pIn,
void *pData,
int *pnData),
9745 int (*xInputB)(
void *pIn,
void *pData,
int *pnData),
9747 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9750 int sqlite3changeset_invert_strm(
9751 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9753 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9756 int sqlite3changeset_start_strm(
9757 sqlite3_changeset_iter **pp,
9758 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9761 int sqlite3session_changeset_strm(
9762 sqlite3_session *pSession,
9763 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9766 int sqlite3session_patchset_strm(
9767 sqlite3_session *pSession,
9768 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9771 int sqlite3changegroup_add_strm(sqlite3_changegroup*,
9772 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9775 int sqlite3changegroup_output_strm(sqlite3_changegroup*,
9776 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9840 const unsigned char *a;
9841 const unsigned char *b;
10065 int (*xRowCount)(
Fts5Context*, sqlite3_int64 *pnRow);
10066 int (*xColumnTotalSize)(Fts5Context*,
int iCol, sqlite3_int64 *pnToken);
10068 int (*xTokenize)(Fts5Context*,
10069 const char *pText,
int nText,
10071 int (*xToken)(
void*, int,
const char*, int, int, int)
10074 int (*xPhraseCount)(Fts5Context*);
10075 int (*xPhraseSize)(Fts5Context*,
int iPhrase);
10077 int (*xInstCount)(Fts5Context*,
int *pnInst);
10078 int (*xInst)(Fts5Context*,
int iIdx,
int *piPhrase,
int *piCol,
int *piOff);
10081 int (*xColumnText)(Fts5Context*,
int iCol,
const char **pz,
int *pn);
10082 int (*xColumnSize)(Fts5Context*,
int iCol,
int *pnToken);
10084 int (*xQueryPhrase)(Fts5Context*,
int iPhrase,
void *pUserData,
10087 int (*xSetAuxdata)(Fts5Context*,
void *pAux, void(*xDelete)(
void*));
10088 void *(*xGetAuxdata)(Fts5Context*,
int bClear);
10090 int (*xPhraseFirst)(Fts5Context*,
int iPhrase,
Fts5PhraseIter*,
int*,
int*);
10091 void (*xPhraseNext)(Fts5Context*, Fts5PhraseIter*,
int *piCol,
int *piOff);
10093 int (*xPhraseFirstColumn)(Fts5Context*,
int iPhrase, Fts5PhraseIter*,
int*);
10094 void (*xPhraseNextColumn)(Fts5Context*, Fts5PhraseIter*,
int *piCol);
10296 int (*xCreate)(
void*,
const char **azArg,
int nArg,
Fts5Tokenizer **ppOut);
10301 const char *pText,
int nText,
10305 const char *pToken,
10314 #define FTS5_TOKENIZE_QUERY 0x0001 10315 #define FTS5_TOKENIZE_PREFIX 0x0002 10316 #define FTS5_TOKENIZE_DOCUMENT 0x0004 10317 #define FTS5_TOKENIZE_AUX 0x0008 10321 #define FTS5_TOKEN_COLOCATED 0x0001 10335 int (*xCreateTokenizer)(
10340 void (*xDestroy)(
void*)
10344 int (*xFindTokenizer)(
10352 int (*xCreateFunction)(
10357 void (*xDestroy)(
void*)
SQLITE_API int sqlite3_bind_value(sqlite3_stmt *, int, const sqlite3_value *)
SQLITE_API int sqlite3_db_cacheflush(sqlite3 *)
SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_exec(sqlite3 *, const char *sql, int(*callback)(void *, int, char **, char **), void *, char **errmsg)
SQLITE_API int sqlite3_bind_int(sqlite3_stmt *, int, int)
SQLITE_API int sqlite3_value_type(sqlite3_value *)
SQLITE_API int sqlite3_prepare16(sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
SQLITE_API int sqlite3_bind_blob64(sqlite3_stmt *, int, const void *, sqlite3_uint64, void(*)(void *))
SQLITE_API sqlite3_stmt * sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt)
SQLITE_API const void * sqlite3_errmsg16(sqlite3 *)
SQLITE_API void * sqlite3_realloc(void *, int)
SQLITE_API void * sqlite3_get_auxdata(sqlite3_context *, int N)
SQLITE_API int sqlite3_column_int(sqlite3_stmt *, int iCol)
SQLITE_API double sqlite3_column_double(sqlite3_stmt *, int iCol)
SQLITE_API sqlite3_mutex * sqlite3_mutex_alloc(int)
SQLITE_API int sqlite3_table_column_metadata(sqlite3 *db, const char *zDbName, const char *zTableName, const char *zColumnName, char const **pzDataType, char const **pzCollSeq, int *pNotNull, int *pPrimaryKey, int *pAutoinc)
SQLITE_API int sqlite3_bind_int64(sqlite3_stmt *, int, sqlite3_int64)
SQLITE_API int sqlite3_column_type(sqlite3_stmt *, int iCol)
SQLITE_API const void * sqlite3_value_text16le(sqlite3_value *)
SQLITE_API int sqlite3_extended_errcode(sqlite3 *db)
SQLITE_API const void * sqlite3_column_decltype16(sqlite3_stmt *, int)
SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs *)
unsigned long long int sqlite_uint64
SQLITE_API void sqlite3_free_table(char **result)
SQLITE_API int sqlite3_release_memory(int)
SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context *)
SQLITE_API const void * sqlite3_column_name16(sqlite3_stmt *, int N)
SQLITE_API void * sqlite3_commit_hook(sqlite3 *, int(*)(void *), void *)
SQLITE_API void sqlite3_result_null(sqlite3_context *)
SQLITE_API sqlite3_value * sqlite3_value_dup(const sqlite3_value *)
SQLITE_API sqlite3 * sqlite3_context_db_handle(sqlite3_context *)
SQLITE_API void sqlite3_result_zeroblob(sqlite3_context *, int n)
SQLITE_API SQLITE_DEPRECATED void sqlite3_soft_heap_limit(int N)
SQLITE_API int sqlite3_create_module(sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData)
SQLITE_API const unsigned char * sqlite3_column_text(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_wal_checkpoint_v2(sqlite3 *db, const char *zDb, int eMode, int *pnLog, int *pnCkpt)
SQLITE_API int sqlite3_set_authorizer(sqlite3 *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
SQLITE_API int sqlite3_create_module_v2(sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData, void(*xDestroy)(void *))
SQLITE_API sqlite3_backup * sqlite3_backup_init(sqlite3 *pDest, const char *zDestName, sqlite3 *pSource, const char *zSourceName)
SQLITE_API int sqlite3_mutex_try(sqlite3_mutex *)
#define SQLITE_EXPERIMENTAL
SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *)
SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc)
SQLITE_API int sqlite3_libversion_number(void)
SQLITE_API int sqlite3_close(sqlite3 *)
void(* sqlite3_destructor_type)(void *)
SQLITE_API sqlite3_value * sqlite3_column_value(sqlite3_stmt *, int iCol)
SQLITE_API void sqlite3_reset_auto_extension(void)
#define SQLITE_DEPRECATED
SQLITE_API void * sqlite3_realloc64(void *, sqlite3_uint64)
SQLITE_API int sqlite3_os_init(void)
SQLITE_API void * sqlite3_update_hook(sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_new(sqlite3 *, int, sqlite3_value **)
SQLITE_API int sqlite3_overload_function(sqlite3 *, const char *zFuncName, int nArg)
SQLITE_API void sqlite3_result_blob(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API int sqlite3_open16(const void *filename, sqlite3 **ppDb)
SQLITE_API int sqlite3_blob_close(sqlite3_blob *)
SQLITE_API SQLITE_EXTERN const char sqlite3_version[]
SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_bind_text16(sqlite3_stmt *, int, const void *, int, void(*)(void *))
SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value *)
SQLITE_API SQLITE_DEPRECATED void * sqlite3_trace(sqlite3 *, void(*xTrace)(void *, const char *), void *)
SQLITE_API const char * sqlite3_column_origin_name(sqlite3_stmt *, int)
SQLITE_API int sqlite3_get_autocommit(sqlite3 *)
SQLITE_API int sqlite3_db_config(sqlite3 *, int op,...)
SQLITE_API int sqlite3_prepare(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API void sqlite3_randomness(int N, void *P)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get(sqlite3 *db, const char *zSchema, sqlite3_snapshot **ppSnapshot)
SQLITE_API void sqlite3_log(int iErrCode, const char *zFormat,...)
SQLITE_API int sqlite3_open(const char *filename, sqlite3 **ppDb)
SQLITE_API void sqlite3_result_error16(sqlite3_context *, const void *, int)
SQLITE_API int sqlite3_value_bytes(sqlite3_value *)
SQLITE_API const char * sqlite3_db_filename(sqlite3 *db, const char *zDbName)
SQLITE_API int sqlite3_prepare16_v2(sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
SQLITE_API int sqlite3_rtree_geometry_callback(sqlite3 *db, const char *zGeom, int(*xGeom)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *), void *pContext)
SQLITE_API int sqlite3_config(int,...)
SQLITE_API void sqlite3_result_text16le(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API int sqlite3_busy_timeout(sqlite3 *, int ms)
SQLITE_API int sqlite3_create_collation16(sqlite3 *, const void *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
SQLITE_API int sqlite3_prepare_v2(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API const char * sqlite3_column_database_name(sqlite3_stmt *, int)
SQLITE_API int sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb)
SQLITE_API int sqlite3_auto_extension(void(*xEntryPoint)(void))
SQLITE_API int sqlite3_threadsafe(void)
SQLITE_API int sqlite3_declare_vtab(sqlite3 *, const char *zSQL)
SQLITE_API int sqlite3_vtab_config(sqlite3 *, int op,...)
SQLITE_API sqlite3_vfs * sqlite3_vfs_find(const char *zVfsName)
SQLITE_API const char * sqlite3_column_decltype(sqlite3_stmt *, int)
SQLITE_API void sqlite3_result_text64(sqlite3_context *, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_depth(sqlite3 *)
SQLITE_API int sqlite3_create_function(sqlite3 *db, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *))
SQLITE_API const void * sqlite3_value_text16(sqlite3_value *)
SQLITE_API const char * sqlite3_compileoption_get(int N)
SQLITE_API const char * sqlite3_errstr(int)
SQLITE_API int sqlite3_unlock_notify(sqlite3 *pBlocked, void(*xNotify)(void **apArg, int nArg), void *pNotifyArg)
SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value *)
SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt)
SQLITE_API void sqlite3_result_text(sqlite3_context *, const char *, int, void(*)(void *))
SQLITE_API int sqlite3_rtree_query_callback(sqlite3 *db, const char *zQueryFunc, int(*xQueryFunc)(sqlite3_rtree_query_info *), void *pContext, void(*xDestructor)(void *))
sqlite_uint64 sqlite3_uint64
struct Fts5Tokenizer Fts5Tokenizer
SQLITE_API void sqlite3_result_blob64(sqlite3_context *, const void *, sqlite3_uint64, void(*)(void *))
SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff)
SQLITE_API const char * sqlite3_column_name(sqlite3_stmt *, int N)
SQLITE_API char * sqlite3_mprintf(const char *,...)
SQLITE_API int sqlite3_step(sqlite3_stmt *)
SQLITE_API const char * sqlite3_errmsg(sqlite3 *)
SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt *)
SQLITE_API const char * sqlite3_sourceid(void)
struct sqlite3_stmt sqlite3_stmt
SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex *)
SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr)
void(* fts5_extension_function)(const Fts5ExtensionApi *pApi, Fts5Context *pFts, sqlite3_context *pCtx, int nVal, sqlite3_value **apVal)
SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *, const char *zName)
SQLITE_API sqlite3_uint64 sqlite3_msize(void *)
SQLITE_API void sqlite3_result_subtype(sqlite3_context *, unsigned int)
SQLITE_API int sqlite3_trace_v2(sqlite3 *, unsigned uMask, int(*xCallback)(unsigned, void *, void *, void *), void *pCtx)
SQLITE_API char * sqlite3_snprintf(int, char *, const char *,...)
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N)
SQLITE_API double sqlite3_value_double(sqlite3_value *)
SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex *)
SQLITE_API int sqlite3_load_extension(sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
SQLITE_API char * sqlite3_expanded_sql(sqlite3_stmt *pStmt)
SQLITE_API const void * sqlite3_value_text16be(sqlite3_value *)
SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p)
SQLITE_API sqlite3_mutex * sqlite3_db_mutex(sqlite3 *)
SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt *)
SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *, int makeDflt)
SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_status64(int op, sqlite3_int64 *pCurrent, sqlite3_int64 *pHighwater, int resetFlag)
SQLITE_API int sqlite3_file_control(sqlite3 *, const char *zDbName, int op, void *)
SQLITE_API int sqlite3_stmt_status(sqlite3_stmt *, int op, int resetFlg)
SQLITE_API int sqlite3_changes(sqlite3 *)
SQLITE_API SQLITE_EXTERN char * sqlite3_temp_directory
SQLITE_API char * sqlite3_vsnprintf(int, char *, const char *, va_list)
SQLITE_API SQLITE_EXPERIMENTAL void * sqlite3_preupdate_hook(sqlite3 *db, void(*xPreUpdate)(void *pCtx, sqlite3 *db, int op, char const *zDb, char const *zName, sqlite3_int64 iKey1, sqlite3_int64 iKey2), void *)
SQLITE_API void * sqlite3_malloc64(sqlite3_uint64)
SQLITE_API const void * sqlite3_column_table_name16(sqlite3_stmt *, int)
SQLITE_API int sqlite3_create_collation(sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
SQLITE_API int sqlite3_close_v2(sqlite3 *)
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot *)
SQLITE_API int sqlite3_create_collation_v2(sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *), void(*xDestroy)(void *))
SQLITE_API void sqlite3_result_text16be(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API char * sqlite3_vmprintf(const char *, va_list)
SQLITE_API void * sqlite3_wal_hook(sqlite3 *, int(*)(void *, sqlite3 *, const char *, int), void *)
SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *)
SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *, int iCol)
SQLITE_API const void * sqlite3_value_blob(sqlite3_value *)
SQLITE_API int sqlite3_create_function_v2(sqlite3 *db, const char *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *), void(*xDestroy)(void *))
SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault)
SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt)
SQLITE_API void * sqlite3_aggregate_context(sqlite3_context *, int nBytes)
SQLITE_API int sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset)
SQLITE_API int sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset)
void(* sqlite3_syscall_ptr)(void)
SQLITE_API void * sqlite3_user_data(sqlite3_context *)
SQLITE_API int sqlite3_collation_needed16(sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const void *))
SQLITE_API SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt *)
SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup(void)
SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char *, const char *, sqlite3_int64)
SQLITE_API void sqlite3_result_text16(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API int sqlite3_blob_open(sqlite3 *, const char *zDb, const char *zTable, const char *zColumn, sqlite3_int64 iRow, int flags, sqlite3_blob **ppBlob)
SQLITE_API void sqlite3_progress_handler(sqlite3 *, int, int(*)(void *), void *)
const struct sqlite3_io_methods * pMethods
SQLITE_API void sqlite3_stmt_scanstatus_reset(sqlite3_stmt *)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp(sqlite3_snapshot *p1, sqlite3_snapshot *p2)
SQLITE_API const void * sqlite3_column_origin_name16(sqlite3_stmt *, int)
SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *, int, int n)
SQLITE_API int sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs)
SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(sqlite3 *)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open(sqlite3 *db, const char *zSchema, sqlite3_snapshot *pSnapshot)
struct Fts5Context Fts5Context
SQLITE_API int sqlite3_initialize(void)
SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*)(void *, sqlite3_int64, int), void *, sqlite3_int64)
SQLITE_API int sqlite3_test_control(int op,...)
SQLITE_API int sqlite3_bind_blob(sqlite3_stmt *, int, const void *, int n, void(*)(void *))
SQLITE_API const unsigned char * sqlite3_value_text(sqlite3_value *)
SQLITE_API void sqlite3_interrupt(sqlite3 *)
SQLITE_API int sqlite3_bind_text64(sqlite3_stmt *, int, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
SQLITE_API int sqlite3_shutdown(void)
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt *, sqlite3_stmt *)
SQLITE_API void sqlite3_value_free(sqlite3_value *)
SQLITE_API void sqlite3_set_auxdata(sqlite3_context *, int N, void *, void(*)(void *))
SQLITE_API int sqlite3_value_bytes16(sqlite3_value *)
SQLITE_API int sqlite3_create_function16(sqlite3 *db, const void *zFunctionName, int nArg, int eTextRep, void *pApp, void(*xFunc)(sqlite3_context *, int, sqlite3_value **), void(*xStep)(sqlite3_context *, int, sqlite3_value **), void(*xFinal)(sqlite3_context *))
SQLITE_API int sqlite3_errcode(sqlite3 *db)
SQLITE_API void sqlite3_result_double(sqlite3_context *, double)
SQLITE_API sqlite3_int64 sqlite3_memory_used(void)
SQLITE_API int sqlite3_os_end(void)
SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex *)
SQLITE_API int sqlite3_sleep(int)
SQLITE_API void sqlite3_result_value(sqlite3_context *, sqlite3_value *)
SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64)
SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt *, int iCol)
SQLITE_API void sqlite3_result_error_code(sqlite3_context *, int)
SQLITE_API int sqlite3_db_release_memory(sqlite3 *)
SQLITE_API SQLITE_DEPRECATED int sqlite3_global_recover(void)
SQLITE_API void * sqlite3_malloc(int)
SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *)
SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *)
SQLITE_API SQLITE_EXTERN char * sqlite3_data_directory
SQLITE_API int sqlite3_collation_needed(sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const char *))
SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p)
SQLITE_API int sqlite3_complete16(const void *sql)
SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName)
SQLITE_API void sqlite3_mutex_free(sqlite3_mutex *)
SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p)
SQLITE_API void sqlite3_result_error_nomem(sqlite3_context *)
SQLITE_API const char * sqlite3_uri_parameter(const char *zFilename, const char *zParam)
struct sqlite3_snapshot sqlite3_snapshot
SQLITE_API int sqlite3_mutex_held(sqlite3_mutex *)
SQLITE_API void * sqlite3_rollback_hook(sqlite3 *, void(*)(void *), void *)
SQLITE_API int sqlite3_total_changes(sqlite3 *)
SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int N)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_old(sqlite3 *, int, sqlite3_value **)
SQLITE_API int sqlite3_bind_double(sqlite3_stmt *, int, double)
SQLITE_API int sqlite3_stmt_scanstatus(sqlite3_stmt *pStmt, int idx, int iScanStatusOp, void *pOut)
SQLITE_API const char * sqlite3_sql(sqlite3_stmt *pStmt)
SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt *, int iCol)
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_preupdate_count(sqlite3 *)
SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage)
SQLITE_API int sqlite3_bind_null(sqlite3_stmt *, int)
int(* sqlite3_callback)(void *, int, char **, char **)
struct sqlite3_blob sqlite3_blob
SQLITE_API SQLITE_DEPRECATED void * sqlite3_profile(sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
SQLITE_API void sqlite3_result_int(sqlite3_context *, int)
SQLITE_API int sqlite3_complete(const char *sql)
SQLITE_API int sqlite3_bind_text(sqlite3_stmt *, int, const char *, int, void(*)(void *))
SQLITE_API int sqlite3_enable_shared_cache(int)
SQLITE_API const void * sqlite3_column_database_name16(sqlite3_stmt *, int)
struct sqlite3_pcache sqlite3_pcache
SQLITE_API int sqlite3_compileoption_used(const char *zOptName)
SQLITE_API int sqlite3_system_errno(sqlite3 *)
SQLITE_API int sqlite3_limit(sqlite3 *, int id, int newVal)
SQLITE_API const char * sqlite3_libversion(void)
SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt *, int, sqlite3_uint64)
SQLITE_API int sqlite3_busy_handler(sqlite3 *, int(*)(void *, int), void *)
SQLITE_API const char * sqlite3_column_table_name(sqlite3_stmt *, int)
sqlite_int64 sqlite3_int64
SQLITE_API int sqlite3_get_table(sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrmsg)
SQLITE_API void sqlite3_result_error_toobig(sqlite3_context *)
SQLITE_API int sqlite3_db_status(sqlite3 *, int op, int *pCur, int *pHiwtr, int resetFlg)
long long int sqlite_int64
SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag)
SQLITE_API int sqlite3_extended_result_codes(sqlite3 *, int onoff)
SQLITE_API void sqlite3_result_int64(sqlite3_context *, sqlite3_int64)
SQLITE_API sqlite3 * sqlite3_db_handle(sqlite3_stmt *)
SQLITE_API void sqlite3_free(void *)
SQLITE_API int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag)
SQLITE_API int sqlite3_stricmp(const char *, const char *)
SQLITE_API void sqlite3_result_error(sqlite3_context *, const char *, int)
static int callback(void *pArg, int nArg, char **azArg, char **azCol)
SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context *, sqlite3_uint64 n)
SQLITE_API const void * sqlite3_column_blob(sqlite3_stmt *, int iCol)
SQLITE_API const char * sqlite3_bind_parameter_name(sqlite3_stmt *, int)
SQLITE_API int sqlite3_cancel_auto_extension(void(*xEntryPoint)(void))
SQLITE_API const void * sqlite3_column_text16(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_strnicmp(const char *, const char *, int)
SQLITE_API int sqlite3_value_int(sqlite3_value *)