49 # define SQLITE_EXTERN extern 57 #ifndef SQLITE_STDCALL 58 # define SQLITE_STDCALL 74 #define SQLITE_DEPRECATED 75 #define SQLITE_EXPERIMENTAL 81 # undef SQLITE_VERSION 83 #ifdef SQLITE_VERSION_NUMBER 84 # undef SQLITE_VERSION_NUMBER 114 #define SQLITE_VERSION "3.13.0" 115 #define SQLITE_VERSION_NUMBER 3013000 116 #define SQLITE_SOURCE_ID "2016-05-18 10:57:30 fc49f556e48970561d7ab6a2f24fdd7d9eb81ff2" 175 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS 250 #ifdef SQLITE_INT64_TYPE 253 #elif defined(_MSC_VER) || defined(__BORLANDC__) 267 #ifdef SQLITE_OMIT_FLOATING_POINT 268 # define double sqlite3_int64 388 int (*
callback)(
void*,
int,
char**,
char**),
406 #define SQLITE_ERROR 1 407 #define SQLITE_INTERNAL 2 408 #define SQLITE_PERM 3 409 #define SQLITE_ABORT 4 410 #define SQLITE_BUSY 5 411 #define SQLITE_LOCKED 6 412 #define SQLITE_NOMEM 7 413 #define SQLITE_READONLY 8 414 #define SQLITE_INTERRUPT 9 415 #define SQLITE_IOERR 10 416 #define SQLITE_CORRUPT 11 417 #define SQLITE_NOTFOUND 12 418 #define SQLITE_FULL 13 419 #define SQLITE_CANTOPEN 14 420 #define SQLITE_PROTOCOL 15 421 #define SQLITE_EMPTY 16 422 #define SQLITE_SCHEMA 17 423 #define SQLITE_TOOBIG 18 424 #define SQLITE_CONSTRAINT 19 425 #define SQLITE_MISMATCH 20 426 #define SQLITE_MISUSE 21 427 #define SQLITE_NOLFS 22 428 #define SQLITE_AUTH 23 429 #define SQLITE_FORMAT 24 430 #define SQLITE_RANGE 25 431 #define SQLITE_NOTADB 26 432 #define SQLITE_NOTICE 27 433 #define SQLITE_WARNING 28 434 #define SQLITE_ROW 100 435 #define SQLITE_DONE 101 454 #define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) 455 #define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) 456 #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) 457 #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) 458 #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) 459 #define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) 460 #define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8)) 461 #define SQLITE_IOERR_UNLOCK (SQLITE_IOERR | (8<<8)) 462 #define SQLITE_IOERR_RDLOCK (SQLITE_IOERR | (9<<8)) 463 #define SQLITE_IOERR_DELETE (SQLITE_IOERR | (10<<8)) 464 #define SQLITE_IOERR_BLOCKED (SQLITE_IOERR | (11<<8)) 465 #define SQLITE_IOERR_NOMEM (SQLITE_IOERR | (12<<8)) 466 #define SQLITE_IOERR_ACCESS (SQLITE_IOERR | (13<<8)) 467 #define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14<<8)) 468 #define SQLITE_IOERR_LOCK (SQLITE_IOERR | (15<<8)) 469 #define SQLITE_IOERR_CLOSE (SQLITE_IOERR | (16<<8)) 470 #define SQLITE_IOERR_DIR_CLOSE (SQLITE_IOERR | (17<<8)) 471 #define SQLITE_IOERR_SHMOPEN (SQLITE_IOERR | (18<<8)) 472 #define SQLITE_IOERR_SHMSIZE (SQLITE_IOERR | (19<<8)) 473 #define SQLITE_IOERR_SHMLOCK (SQLITE_IOERR | (20<<8)) 474 #define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8)) 475 #define SQLITE_IOERR_SEEK (SQLITE_IOERR | (22<<8)) 476 #define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8)) 477 #define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8)) 478 #define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8)) 479 #define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8)) 480 #define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8)) 481 #define SQLITE_IOERR_AUTH (SQLITE_IOERR | (28<<8)) 482 #define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8)) 483 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8)) 484 #define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8)) 485 #define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8)) 486 #define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8)) 487 #define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8)) 488 #define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8)) 489 #define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) 490 #define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) 491 #define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) 492 #define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<8)) 493 #define SQLITE_READONLY_DBMOVED (SQLITE_READONLY | (4<<8)) 494 #define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2<<8)) 495 #define SQLITE_CONSTRAINT_CHECK (SQLITE_CONSTRAINT | (1<<8)) 496 #define SQLITE_CONSTRAINT_COMMITHOOK (SQLITE_CONSTRAINT | (2<<8)) 497 #define SQLITE_CONSTRAINT_FOREIGNKEY (SQLITE_CONSTRAINT | (3<<8)) 498 #define SQLITE_CONSTRAINT_FUNCTION (SQLITE_CONSTRAINT | (4<<8)) 499 #define SQLITE_CONSTRAINT_NOTNULL (SQLITE_CONSTRAINT | (5<<8)) 500 #define SQLITE_CONSTRAINT_PRIMARYKEY (SQLITE_CONSTRAINT | (6<<8)) 501 #define SQLITE_CONSTRAINT_TRIGGER (SQLITE_CONSTRAINT | (7<<8)) 502 #define SQLITE_CONSTRAINT_UNIQUE (SQLITE_CONSTRAINT | (8<<8)) 503 #define SQLITE_CONSTRAINT_VTAB (SQLITE_CONSTRAINT | (9<<8)) 504 #define SQLITE_CONSTRAINT_ROWID (SQLITE_CONSTRAINT |(10<<8)) 505 #define SQLITE_NOTICE_RECOVER_WAL (SQLITE_NOTICE | (1<<8)) 506 #define SQLITE_NOTICE_RECOVER_ROLLBACK (SQLITE_NOTICE | (2<<8)) 507 #define SQLITE_WARNING_AUTOINDEX (SQLITE_WARNING | (1<<8)) 508 #define SQLITE_AUTH_USER (SQLITE_AUTH | (1<<8)) 517 #define SQLITE_OPEN_READONLY 0x00000001 518 #define SQLITE_OPEN_READWRITE 0x00000002 519 #define SQLITE_OPEN_CREATE 0x00000004 520 #define SQLITE_OPEN_DELETEONCLOSE 0x00000008 521 #define SQLITE_OPEN_EXCLUSIVE 0x00000010 522 #define SQLITE_OPEN_AUTOPROXY 0x00000020 523 #define SQLITE_OPEN_URI 0x00000040 524 #define SQLITE_OPEN_MEMORY 0x00000080 525 #define SQLITE_OPEN_MAIN_DB 0x00000100 526 #define SQLITE_OPEN_TEMP_DB 0x00000200 527 #define SQLITE_OPEN_TRANSIENT_DB 0x00000400 528 #define SQLITE_OPEN_MAIN_JOURNAL 0x00000800 529 #define SQLITE_OPEN_TEMP_JOURNAL 0x00001000 530 #define SQLITE_OPEN_SUBJOURNAL 0x00002000 531 #define SQLITE_OPEN_MASTER_JOURNAL 0x00004000 532 #define SQLITE_OPEN_NOMUTEX 0x00008000 533 #define SQLITE_OPEN_FULLMUTEX 0x00010000 534 #define SQLITE_OPEN_SHAREDCACHE 0x00020000 535 #define SQLITE_OPEN_PRIVATECACHE 0x00040000 536 #define SQLITE_OPEN_WAL 0x00080000 568 #define SQLITE_IOCAP_ATOMIC 0x00000001 569 #define SQLITE_IOCAP_ATOMIC512 0x00000002 570 #define SQLITE_IOCAP_ATOMIC1K 0x00000004 571 #define SQLITE_IOCAP_ATOMIC2K 0x00000008 572 #define SQLITE_IOCAP_ATOMIC4K 0x00000010 573 #define SQLITE_IOCAP_ATOMIC8K 0x00000020 574 #define SQLITE_IOCAP_ATOMIC16K 0x00000040 575 #define SQLITE_IOCAP_ATOMIC32K 0x00000080 576 #define SQLITE_IOCAP_ATOMIC64K 0x00000100 577 #define SQLITE_IOCAP_SAFE_APPEND 0x00000200 578 #define SQLITE_IOCAP_SEQUENTIAL 0x00000400 579 #define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN 0x00000800 580 #define SQLITE_IOCAP_POWERSAFE_OVERWRITE 0x00001000 581 #define SQLITE_IOCAP_IMMUTABLE 0x00002000 590 #define SQLITE_LOCK_NONE 0 591 #define SQLITE_LOCK_SHARED 1 592 #define SQLITE_LOCK_RESERVED 2 593 #define SQLITE_LOCK_PENDING 3 594 #define SQLITE_LOCK_EXCLUSIVE 4 622 #define SQLITE_SYNC_NORMAL 0x00002 623 #define SQLITE_SYNC_FULL 0x00003 624 #define SQLITE_SYNC_DATAONLY 0x00010 736 int (*xRead)(
sqlite3_file*,
void*,
int iAmt, sqlite3_int64 iOfst);
737 int (*xWrite)(
sqlite3_file*,
const void*,
int iAmt, sqlite3_int64 iOfst);
748 int (*xShmMap)(
sqlite3_file*,
int iPg,
int pgsz, int,
void volatile**);
753 int (*xFetch)(
sqlite3_file*, sqlite3_int64 iOfst,
int iAmt,
void **pp);
754 int (*xUnfetch)(
sqlite3_file*, sqlite3_int64 iOfst,
void *
p);
992 #define SQLITE_FCNTL_LOCKSTATE 1 993 #define SQLITE_FCNTL_GET_LOCKPROXYFILE 2 994 #define SQLITE_FCNTL_SET_LOCKPROXYFILE 3 995 #define SQLITE_FCNTL_LAST_ERRNO 4 996 #define SQLITE_FCNTL_SIZE_HINT 5 997 #define SQLITE_FCNTL_CHUNK_SIZE 6 998 #define SQLITE_FCNTL_FILE_POINTER 7 999 #define SQLITE_FCNTL_SYNC_OMITTED 8 1000 #define SQLITE_FCNTL_WIN32_AV_RETRY 9 1001 #define SQLITE_FCNTL_PERSIST_WAL 10 1002 #define SQLITE_FCNTL_OVERWRITE 11 1003 #define SQLITE_FCNTL_VFSNAME 12 1004 #define SQLITE_FCNTL_POWERSAFE_OVERWRITE 13 1005 #define SQLITE_FCNTL_PRAGMA 14 1006 #define SQLITE_FCNTL_BUSYHANDLER 15 1007 #define SQLITE_FCNTL_TEMPFILENAME 16 1008 #define SQLITE_FCNTL_MMAP_SIZE 18 1009 #define SQLITE_FCNTL_TRACE 19 1010 #define SQLITE_FCNTL_HAS_MOVED 20 1011 #define SQLITE_FCNTL_SYNC 21 1012 #define SQLITE_FCNTL_COMMIT_PHASETWO 22 1013 #define SQLITE_FCNTL_WIN32_SET_HANDLE 23 1014 #define SQLITE_FCNTL_WAL_BLOCK 24 1015 #define SQLITE_FCNTL_ZIPVFS 25 1016 #define SQLITE_FCNTL_RBU 26 1017 #define SQLITE_FCNTL_VFS_POINTER 27 1018 #define SQLITE_FCNTL_JOURNAL_POINTER 28 1021 #define SQLITE_GET_LOCKPROXYFILE SQLITE_FCNTL_GET_LOCKPROXYFILE 1022 #define SQLITE_SET_LOCKPROXYFILE SQLITE_FCNTL_SET_LOCKPROXYFILE 1023 #define SQLITE_LAST_ERRNO SQLITE_FCNTL_LAST_ERRNO 1205 int flags,
int *pOutFlags);
1206 int (*xDelete)(
sqlite3_vfs*,
const char *zName,
int syncDir);
1208 int (*xFullPathname)(
sqlite3_vfs*,
const char *zName,
int nOut,
char *zOut);
1209 void *(*xDlOpen)(
sqlite3_vfs*,
const char *zFilename);
1210 void (*xDlError)(sqlite3_vfs*,
int nByte,
char *zErrMsg);
1211 void (*(*xDlSym)(sqlite3_vfs*,
void*,
const char *zSymbol))(
void);
1212 void (*xDlClose)(sqlite3_vfs*,
void*);
1213 int (*xRandomness)(sqlite3_vfs*,
int nByte,
char *zOut);
1214 int (*xSleep)(sqlite3_vfs*,
int microseconds);
1215 int (*xCurrentTime)(sqlite3_vfs*,
double*);
1216 int (*xGetLastError)(sqlite3_vfs*, int,
char *);
1221 int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
1228 const char *(*xNextSystemCall)(sqlite3_vfs*,
const char *zName);
1256 #define SQLITE_ACCESS_EXISTS 0 1257 #define SQLITE_ACCESS_READWRITE 1 1258 #define SQLITE_ACCESS_READ 2 1282 #define SQLITE_SHM_UNLOCK 1 1283 #define SQLITE_SHM_LOCK 2 1284 #define SQLITE_SHM_SHARED 4 1285 #define SQLITE_SHM_EXCLUSIVE 8 1295 #define SQLITE_SHM_NLOCK 8 1495 void *(*xMalloc)(int);
1496 void (*xFree)(
void*);
1497 void *(*xRealloc)(
void*,int);
1498 int (*xSize)(
void*);
1499 int (*xRoundup)(int);
1500 int (*xInit)(
void*);
1501 void (*xShutdown)(
void*);
1839 #define SQLITE_CONFIG_SINGLETHREAD 1 1840 #define SQLITE_CONFIG_MULTITHREAD 2 1841 #define SQLITE_CONFIG_SERIALIZED 3 1842 #define SQLITE_CONFIG_MALLOC 4 1843 #define SQLITE_CONFIG_GETMALLOC 5 1844 #define SQLITE_CONFIG_SCRATCH 6 1845 #define SQLITE_CONFIG_PAGECACHE 7 1846 #define SQLITE_CONFIG_HEAP 8 1847 #define SQLITE_CONFIG_MEMSTATUS 9 1848 #define SQLITE_CONFIG_MUTEX 10 1849 #define SQLITE_CONFIG_GETMUTEX 11 1851 #define SQLITE_CONFIG_LOOKASIDE 13 1852 #define SQLITE_CONFIG_PCACHE 14 1853 #define SQLITE_CONFIG_GETPCACHE 15 1854 #define SQLITE_CONFIG_LOG 16 1855 #define SQLITE_CONFIG_URI 17 1856 #define SQLITE_CONFIG_PCACHE2 18 1857 #define SQLITE_CONFIG_GETPCACHE2 19 1858 #define SQLITE_CONFIG_COVERING_INDEX_SCAN 20 1859 #define SQLITE_CONFIG_SQLLOG 21 1860 #define SQLITE_CONFIG_MMAP_SIZE 22 1861 #define SQLITE_CONFIG_WIN32_HEAPSIZE 23 1862 #define SQLITE_CONFIG_PCACHE_HDRSZ 24 1863 #define SQLITE_CONFIG_PMASZ 25 1864 #define SQLITE_CONFIG_STMTJRNL_SPILL 26 1954 #define SQLITE_DBCONFIG_LOOKASIDE 1001 1955 #define SQLITE_DBCONFIG_ENABLE_FKEY 1002 1956 #define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 1957 #define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 1958 #define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 2679 int (*xAuth)(
void*,
int,
const char*,
const char*,
const char*,
const char*),
2695 #define SQLITE_DENY 1 2696 #define SQLITE_IGNORE 2 2718 #define SQLITE_CREATE_INDEX 1 2719 #define SQLITE_CREATE_TABLE 2 2720 #define SQLITE_CREATE_TEMP_INDEX 3 2721 #define SQLITE_CREATE_TEMP_TABLE 4 2722 #define SQLITE_CREATE_TEMP_TRIGGER 5 2723 #define SQLITE_CREATE_TEMP_VIEW 6 2724 #define SQLITE_CREATE_TRIGGER 7 2725 #define SQLITE_CREATE_VIEW 8 2726 #define SQLITE_DELETE 9 2727 #define SQLITE_DROP_INDEX 10 2728 #define SQLITE_DROP_TABLE 11 2729 #define SQLITE_DROP_TEMP_INDEX 12 2730 #define SQLITE_DROP_TEMP_TABLE 13 2731 #define SQLITE_DROP_TEMP_TRIGGER 14 2732 #define SQLITE_DROP_TEMP_VIEW 15 2733 #define SQLITE_DROP_TRIGGER 16 2734 #define SQLITE_DROP_VIEW 17 2735 #define SQLITE_INSERT 18 2736 #define SQLITE_PRAGMA 19 2737 #define SQLITE_READ 20 2738 #define SQLITE_SELECT 21 2739 #define SQLITE_TRANSACTION 22 2740 #define SQLITE_UPDATE 23 2741 #define SQLITE_ATTACH 24 2742 #define SQLITE_DETACH 25 2743 #define SQLITE_ALTER_TABLE 26 2744 #define SQLITE_REINDEX 27 2745 #define SQLITE_ANALYZE 28 2746 #define SQLITE_CREATE_VTABLE 29 2747 #define SQLITE_DROP_VTABLE 30 2748 #define SQLITE_FUNCTION 31 2749 #define SQLITE_SAVEPOINT 32 2750 #define SQLITE_COPY 0 2751 #define SQLITE_RECURSIVE 33 2784 void(*xProfile)(
void*,
const char*,sqlite3_uint64),
void*);
3277 #define SQLITE_LIMIT_LENGTH 0 3278 #define SQLITE_LIMIT_SQL_LENGTH 1 3279 #define SQLITE_LIMIT_COLUMN 2 3280 #define SQLITE_LIMIT_EXPR_DEPTH 3 3281 #define SQLITE_LIMIT_COMPOUND_SELECT 4 3282 #define SQLITE_LIMIT_VDBE_OP 5 3283 #define SQLITE_LIMIT_FUNCTION_ARG 6 3284 #define SQLITE_LIMIT_ATTACHED 7 3285 #define SQLITE_LIMIT_LIKE_PATTERN_LENGTH 8 3286 #define SQLITE_LIMIT_VARIABLE_NUMBER 9 3287 #define SQLITE_LIMIT_TRIGGER_DEPTH 10 3288 #define SQLITE_LIMIT_WORKER_THREADS 11 3635 void(*)(
void*),
unsigned char encoding);
3966 #define SQLITE_INTEGER 1 3967 #define SQLITE_FLOAT 2 3968 #define SQLITE_BLOB 4 3969 #define SQLITE_NULL 5 3973 # define SQLITE_TEXT 3 3975 #define SQLITE3_TEXT 3 4299 const char *zFunctionName,
4309 const void *zFunctionName,
4319 const char *zFunctionName,
4326 void(*xDestroy)(
void*)
4335 #define SQLITE_UTF8 1 4336 #define SQLITE_UTF16LE 2 4337 #define SQLITE_UTF16BE 3 4338 #define SQLITE_UTF16 4 4339 #define SQLITE_ANY 5 4340 #define SQLITE_UTF16_ALIGNED 8 4350 #define SQLITE_DETERMINISTIC 0x800 4362 #ifndef SQLITE_OMIT_DEPRECATED 4369 void*,sqlite3_int64);
4606 #define SQLITE_STATIC ((sqlite3_destructor_type)0) 4607 #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1) 4726 sqlite3_uint64,
void(*)(
void*));
4738 void(*)(
void*),
unsigned char encoding);
4846 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
4853 int(*xCompare)(
void*,
int,
const void*,
int,
const void*),
4854 void(*xDestroy)(
void*)
4861 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
4894 void(*)(
void*,
sqlite3*,
int eTextRep,
const char*)
4899 void(*)(
void*,
sqlite3*,
int eTextRep,
const void*)
4902 #ifdef SQLITE_HAS_CODEC 4912 const void *pKey,
int nKey
4916 const char *zDbName,
4917 const void *pKey,
int nKey
4930 const void *pKey,
int nKey
4934 const char *zDbName,
4935 const void *pKey,
int nKey
4943 const char *zPassPhrase
4947 #ifdef SQLITE_ENABLE_CEROD 4953 const char *zPassPhrase
5252 void(*)(
void *,
int ,
char const *,
char const *,sqlite3_int64),
5455 const char *zDbName,
5456 const char *zTableName,
5457 const char *zColumnName,
5458 char const **pzDataType,
5459 char const **pzCollSeq,
5636 int (*xCreate)(
sqlite3*,
void *pAux,
5637 int argc,
const char *
const*argv,
5639 int (*xConnect)(
sqlite3*,
void *pAux,
5640 int argc,
const char *
const*argv,
5658 int (*xFindFunction)(
sqlite3_vtab *pVtab,
int nArg,
const char *zName,
5659 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
5766 struct sqlite3_index_constraint {
5769 unsigned char usable;
5773 struct sqlite3_index_orderby {
5778 struct sqlite3_index_constraint_usage {
5781 } *aConstraintUsage;
5784 int needToFreeIdxStr;
5785 int orderByConsumed;
5786 double estimatedCost;
5788 sqlite3_int64 estimatedRows;
5792 sqlite3_uint64 colUsed;
5798 #define SQLITE_INDEX_SCAN_UNIQUE 1 5808 #define SQLITE_INDEX_CONSTRAINT_EQ 2 5809 #define SQLITE_INDEX_CONSTRAINT_GT 4 5810 #define SQLITE_INDEX_CONSTRAINT_LE 8 5811 #define SQLITE_INDEX_CONSTRAINT_LT 16 5812 #define SQLITE_INDEX_CONSTRAINT_GE 32 5813 #define SQLITE_INDEX_CONSTRAINT_MATCH 64 5814 #define SQLITE_INDEX_CONSTRAINT_LIKE 65 5815 #define SQLITE_INDEX_CONSTRAINT_GLOB 66 5816 #define SQLITE_INDEX_CONSTRAINT_REGEXP 67 5855 void(*xDestroy)(
void*)
6035 const char *zColumn,
6396 int (*xMutexInit)(
void);
6397 int (*xMutexEnd)(
void);
6451 #define SQLITE_MUTEX_FAST 0 6452 #define SQLITE_MUTEX_RECURSIVE 1 6453 #define SQLITE_MUTEX_STATIC_MASTER 2 6454 #define SQLITE_MUTEX_STATIC_MEM 3 6455 #define SQLITE_MUTEX_STATIC_MEM2 4 6456 #define SQLITE_MUTEX_STATIC_OPEN 4 6457 #define SQLITE_MUTEX_STATIC_PRNG 5 6458 #define SQLITE_MUTEX_STATIC_LRU 6 6459 #define SQLITE_MUTEX_STATIC_LRU2 7 6460 #define SQLITE_MUTEX_STATIC_PMEM 7 6461 #define SQLITE_MUTEX_STATIC_APP1 8 6462 #define SQLITE_MUTEX_STATIC_APP2 9 6463 #define SQLITE_MUTEX_STATIC_APP3 10 6464 #define SQLITE_MUTEX_STATIC_VFS1 11 6465 #define SQLITE_MUTEX_STATIC_VFS2 12 6466 #define SQLITE_MUTEX_STATIC_VFS3 13 6545 #define SQLITE_TESTCTRL_FIRST 5 6546 #define SQLITE_TESTCTRL_PRNG_SAVE 5 6547 #define SQLITE_TESTCTRL_PRNG_RESTORE 6 6548 #define SQLITE_TESTCTRL_PRNG_RESET 7 6549 #define SQLITE_TESTCTRL_BITVEC_TEST 8 6550 #define SQLITE_TESTCTRL_FAULT_INSTALL 9 6551 #define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS 10 6552 #define SQLITE_TESTCTRL_PENDING_BYTE 11 6553 #define SQLITE_TESTCTRL_ASSERT 12 6554 #define SQLITE_TESTCTRL_ALWAYS 13 6555 #define SQLITE_TESTCTRL_RESERVE 14 6556 #define SQLITE_TESTCTRL_OPTIMIZATIONS 15 6557 #define SQLITE_TESTCTRL_ISKEYWORD 16 6558 #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 6559 #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 6560 #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 6561 #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 6562 #define SQLITE_TESTCTRL_VDBE_COVERAGE 21 6563 #define SQLITE_TESTCTRL_BYTEORDER 22 6564 #define SQLITE_TESTCTRL_ISINIT 23 6565 #define SQLITE_TESTCTRL_SORTER_MMAP 24 6566 #define SQLITE_TESTCTRL_IMPOSTER 25 6567 #define SQLITE_TESTCTRL_LAST 25 6598 sqlite3_int64 *pCurrent,
6599 sqlite3_int64 *pHighwater,
6687 #define SQLITE_STATUS_MEMORY_USED 0 6688 #define SQLITE_STATUS_PAGECACHE_USED 1 6689 #define SQLITE_STATUS_PAGECACHE_OVERFLOW 2 6690 #define SQLITE_STATUS_SCRATCH_USED 3 6691 #define SQLITE_STATUS_SCRATCH_OVERFLOW 4 6692 #define SQLITE_STATUS_MALLOC_SIZE 5 6693 #define SQLITE_STATUS_PARSER_STACK 6 6694 #define SQLITE_STATUS_PAGECACHE_SIZE 7 6695 #define SQLITE_STATUS_SCRATCH_SIZE 8 6696 #define SQLITE_STATUS_MALLOC_COUNT 9 6813 #define SQLITE_DBSTATUS_LOOKASIDE_USED 0 6814 #define SQLITE_DBSTATUS_CACHE_USED 1 6815 #define SQLITE_DBSTATUS_SCHEMA_USED 2 6816 #define SQLITE_DBSTATUS_STMT_USED 3 6817 #define SQLITE_DBSTATUS_LOOKASIDE_HIT 4 6818 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE 5 6819 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL 6 6820 #define SQLITE_DBSTATUS_CACHE_HIT 7 6821 #define SQLITE_DBSTATUS_CACHE_MISS 8 6822 #define SQLITE_DBSTATUS_CACHE_WRITE 9 6823 #define SQLITE_DBSTATUS_DEFERRED_FKS 10 6824 #define SQLITE_DBSTATUS_MAX 10 6890 #define SQLITE_STMTSTATUS_FULLSCAN_STEP 1 6891 #define SQLITE_STMTSTATUS_SORT 2 6892 #define SQLITE_STMTSTATUS_AUTOINDEX 3 6893 #define SQLITE_STMTSTATUS_VM_STEP 4 7087 int (*xInit)(
void*);
7088 void (*xShutdown)(
void*);
7089 sqlite3_pcache *(*xCreate)(
int szPage,
int szExtra,
int bPurgeable);
7091 int (*xPagecount)(sqlite3_pcache*);
7094 void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*,
7095 unsigned oldKey,
unsigned newKey);
7096 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
7097 void (*xDestroy)(sqlite3_pcache*);
7098 void (*xShrink)(sqlite3_pcache*);
7109 int (*xInit)(
void*);
7110 void (*xShutdown)(
void*);
7113 int (*xPagecount)(sqlite3_pcache*);
7114 void *(*xFetch)(sqlite3_pcache*,
unsigned key,
int createFlag);
7115 void (*xUnpin)(sqlite3_pcache*,
void*,
int discard);
7116 void (*xRekey)(sqlite3_pcache*,
void*,
unsigned oldKey,
unsigned newKey);
7117 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
7118 void (*xDestroy)(sqlite3_pcache*);
7322 const char *zDestName,
7324 const char *zSourceName
7448 void (*xNotify)(
void **apArg,
int nArg),
7563 int(*)(
void *,
sqlite3*,
const char*,
int),
7729 #define SQLITE_CHECKPOINT_PASSIVE 0 7730 #define SQLITE_CHECKPOINT_FULL 1 7731 #define SQLITE_CHECKPOINT_RESTART 2 7732 #define SQLITE_CHECKPOINT_TRUNCATE 3 7789 #define SQLITE_VTAB_CONSTRAINT_SUPPORT 1 7815 #define SQLITE_ROLLBACK 1 7817 #define SQLITE_FAIL 3 7819 #define SQLITE_REPLACE 5 7868 #define SQLITE_SCANSTAT_NLOOP 0 7869 #define SQLITE_SCANSTAT_NVISIT 1 7870 #define SQLITE_SCANSTAT_EST 2 7871 #define SQLITE_SCANSTAT_NAME 3 7872 #define SQLITE_SCANSTAT_EXPLAIN 4 7873 #define SQLITE_SCANSTAT_SELECTID 5 8042 sqlite3_int64 iKey1,
8114 const char *zSchema,
8152 const char *zSchema,
8200 #ifdef SQLITE_OMIT_FLOATING_POINT 8223 #ifndef _SQLITE3RTREE_H_ 8224 #define _SQLITE3RTREE_H_ 8237 #ifdef SQLITE_RTREE_INT_ONLY 8264 sqlite3_rtree_dbl *aParam;
8266 void (*xDelUser)(
void *);
8277 const char *zQueryFunc,
8280 void (*xDestructor)(
void*)
8296 sqlite3_rtree_dbl *aParam;
8298 void (*xDelUser)(
void*);
8299 sqlite3_rtree_dbl *aCoord;
8300 unsigned int *anQueue;
8304 sqlite3_int64 iRowid;
8305 sqlite3_rtree_dbl rParentScore;
8308 sqlite3_rtree_dbl rScore;
8316 #define NOT_WITHIN 0 8317 #define PARTLY_WITHIN 1 8318 #define FULLY_WITHIN 2 8330 #if !defined(__SQLITESESSION_H_) && defined(SQLITE_ENABLE_SESSION) 8331 #define __SQLITESESSION_H_ 1 8344 typedef struct sqlite3_session sqlite3_session;
8349 typedef struct sqlite3_changeset_iter sqlite3_changeset_iter;
8381 int sqlite3session_create(
8384 sqlite3_session **ppSession
8399 void sqlite3session_delete(sqlite3_session *pSession);
8419 int sqlite3session_enable(sqlite3_session *pSession,
int bEnable);
8448 int sqlite3session_indirect(sqlite3_session *pSession,
int bIndirect);
8478 int sqlite3session_attach(
8479 sqlite3_session *pSession,
8492 void sqlite3session_table_filter(
8493 sqlite3_session *pSession,
8605 int sqlite3session_changeset(
8606 sqlite3_session *pSession,
8666 int sqlite3session_diff(
8667 sqlite3_session *pSession,
8668 const char *zFromDb,
8702 int sqlite3session_patchset(
8703 sqlite3_session *pSession,
8723 int sqlite3session_isempty(sqlite3_session *pSession);
8758 int sqlite3changeset_start(
8759 sqlite3_changeset_iter **pp,
8787 int sqlite3changeset_next(sqlite3_changeset_iter *pIter);
8815 int sqlite3changeset_op(
8816 sqlite3_changeset_iter *pIter,
8848 int sqlite3changeset_pk(
8849 sqlite3_changeset_iter *pIter,
8850 unsigned char **pabPK,
8878 int sqlite3changeset_old(
8879 sqlite3_changeset_iter *pIter,
8911 int sqlite3changeset_new(
8912 sqlite3_changeset_iter *pIter,
8938 int sqlite3changeset_conflict(
8939 sqlite3_changeset_iter *pIter,
8954 int sqlite3changeset_fk_conflicts(
8955 sqlite3_changeset_iter *pIter,
8987 int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter);
9017 int sqlite3changeset_invert(
9018 int nIn,
const void *pIn,
9019 int *pnOut,
void **ppOut
9046 int sqlite3changeset_concat(
9059 typedef struct sqlite3_changegroup sqlite3_changegroup;
9096 int sqlite3changegroup_new(sqlite3_changegroup **pp);
9171 int sqlite3changegroup_add(sqlite3_changegroup*,
int nData,
void *pData);
9195 int sqlite3changegroup_output(
9196 sqlite3_changegroup*,
9204 void sqlite3changegroup_delete(sqlite3_changegroup*);
9342 int sqlite3changeset_apply(
9353 sqlite3_changeset_iter *p
9413 #define SQLITE_CHANGESET_DATA 1 9414 #define SQLITE_CHANGESET_NOTFOUND 2 9415 #define SQLITE_CHANGESET_CONFLICT 3 9416 #define SQLITE_CHANGESET_CONSTRAINT 4 9417 #define SQLITE_CHANGESET_FOREIGN_KEY 5 9450 #define SQLITE_CHANGESET_OMIT 0 9451 #define SQLITE_CHANGESET_REPLACE 1 9452 #define SQLITE_CHANGESET_ABORT 2 9543 int sqlite3changeset_apply_strm(
9545 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9554 sqlite3_changeset_iter *p
9558 int sqlite3changeset_concat_strm(
9559 int (*xInputA)(
void *pIn,
void *pData,
int *pnData),
9561 int (*xInputB)(
void *pIn,
void *pData,
int *pnData),
9563 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9566 int sqlite3changeset_invert_strm(
9567 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9569 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9572 int sqlite3changeset_start_strm(
9573 sqlite3_changeset_iter **pp,
9574 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9577 int sqlite3session_changeset_strm(
9578 sqlite3_session *pSession,
9579 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9582 int sqlite3session_patchset_strm(
9583 sqlite3_session *pSession,
9584 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9587 int sqlite3changegroup_add_strm(sqlite3_changegroup*,
9588 int (*xInput)(
void *pIn,
void *pData,
int *pnData),
9591 int sqlite3changegroup_output_strm(sqlite3_changegroup*,
9592 int (*xOutput)(
void *pOut,
const void *pData,
int nData),
9656 const unsigned char *
a;
9657 const unsigned char *
b;
9881 int (*xRowCount)(
Fts5Context*, sqlite3_int64 *pnRow);
9882 int (*xColumnTotalSize)(Fts5Context*,
int iCol, sqlite3_int64 *pnToken);
9884 int (*xTokenize)(Fts5Context*,
9885 const char *pText,
int nText,
9887 int (*xToken)(
void*, int,
const char*, int, int, int)
9890 int (*xPhraseCount)(Fts5Context*);
9891 int (*xPhraseSize)(Fts5Context*,
int iPhrase);
9893 int (*xInstCount)(Fts5Context*,
int *pnInst);
9894 int (*xInst)(Fts5Context*,
int iIdx,
int *piPhrase,
int *piCol,
int *piOff);
9897 int (*xColumnText)(Fts5Context*,
int iCol,
const char **pz,
int *pn);
9898 int (*xColumnSize)(Fts5Context*,
int iCol,
int *pnToken);
9900 int (*xQueryPhrase)(Fts5Context*,
int iPhrase,
void *pUserData,
9903 int (*xSetAuxdata)(Fts5Context*,
void *pAux,
void(*xDelete)(
void*));
9904 void *(*xGetAuxdata)(Fts5Context*,
int bClear);
9906 int (*xPhraseFirst)(Fts5Context*,
int iPhrase,
Fts5PhraseIter*,
int*,
int*);
9907 void (*xPhraseNext)(Fts5Context*, Fts5PhraseIter*,
int *piCol,
int *piOff);
9909 int (*xPhraseFirstColumn)(Fts5Context*,
int iPhrase, Fts5PhraseIter*,
int*);
9910 void (*xPhraseNextColumn)(Fts5Context*, Fts5PhraseIter*,
int *piCol);
10112 int (*xCreate)(
void*,
const char **azArg,
int nArg,
Fts5Tokenizer **ppOut);
10117 const char *pText,
int nText,
10121 const char *pToken,
10130 #define FTS5_TOKENIZE_QUERY 0x0001 10131 #define FTS5_TOKENIZE_PREFIX 0x0002 10132 #define FTS5_TOKENIZE_DOCUMENT 0x0004 10133 #define FTS5_TOKENIZE_AUX 0x0008 10137 #define FTS5_TOKEN_COLOCATED 0x0001 10151 int (*xCreateTokenizer)(
10156 void (*xDestroy)(
void*)
10160 int (*xFindTokenizer)(
10168 int (*xCreateFunction)(
10173 void (*xDestroy)(
void*)
SQLITE_API unsigned int SQLITE_STDCALL sqlite3_value_subtype(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes16(sqlite3_value *)
SQLITE_API void *SQLITE_STDCALL sqlite3_user_data(sqlite3_context *)
SQLITE_API int SQLITE_STDCALL sqlite3_db_cacheflush(sqlite3 *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16le(sqlite3_value *)
GLboolean GLboolean GLboolean b
SQLITE_API int SQLITE_STDCALL sqlite3_value_bytes(sqlite3_value *)
SQLITE_API void *SQLITE_STDCALL sqlite3_commit_hook(sqlite3 *, int(*)(void *), void *)
SQLITE_API int SQLITE_STDCALL 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 int SQLITE_STDCALL sqlite3_cancel_auto_extension(void(*xEntryPoint)(void))
SQLITE_API int SQLITE_STDCALL sqlite3_result_zeroblob64(sqlite3_context *, sqlite3_uint64 n)
SQLITE_API int SQLITE_STDCALL sqlite3_blob_read(sqlite3_blob *, void *Z, int N, int iOffset)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_count(sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_set_authorizer(sqlite3 *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
SQLITE_API int SQLITE_STDCALL sqlite3_vtab_on_conflict(sqlite3 *)
SQLITE_API void SQLITE_STDCALL sqlite3_result_text(sqlite3_context *, const char *, int, void(*)(void *))
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
SQLITE_API int SQLITE_STDCALL sqlite3_stricmp(const char *, const char *)
SQLITE_API int SQLITE_STDCALL sqlite3_enable_load_extension(sqlite3 *db, int onoff)
SQLITE_API int SQLITE_STDCALL sqlite3_data_count(sqlite3_stmt *pStmt)
SQLITE_API char *SQLITE_CDECL sqlite3_snprintf(int, char *, const char *,...)
SQLITE_API void SQLITE_STDCALL sqlite3_set_auxdata(sqlite3_context *, int N, void *, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_db_readonly(sqlite3 *db, const char *zDbName)
SQLITE_API char *SQLITE_STDCALL sqlite3_vsnprintf(int, char *, const char *, va_list)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text16(sqlite3_stmt *, int, const void *, int, void(*)(void *))
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16le(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_column_type(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag)
unsigned long long int sqlite_uint64
SQLITE_API int SQLITE_STDCALL sqlite3_complete(const char *sql)
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_held(sqlite3_mutex *)
SQLITE_API const char *SQLITE_STDCALL sqlite3_libversion(void)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob(sqlite3_stmt *, int, const void *, int n, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_blob_bytes(sqlite3_blob *)
SQLITE_API int SQLITE_STDCALL sqlite3_clear_bindings(sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_busy_timeout(sqlite3 *, int ms)
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_global_recover(void)
SQLITE_API int SQLITE_STDCALL sqlite3_value_numeric_type(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_create_collation(sqlite3 *, const char *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
SQLITE_API int SQLITE_STDCALL sqlite3_create_module_v2(sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData, void(*xDestroy)(void *))
SQLITE_API char *SQLITE_CDECL sqlite3_mprintf(const char *,...)
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_free(sqlite3_mutex *)
#define SQLITE_EXPERIMENTAL
SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed16(sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const void *))
SQLITE_API int SQLITE_STDCALL sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64)
SQLITE_API void SQLITE_STDCALL sqlite3_result_int(sqlite3_context *, int)
void(* sqlite3_destructor_type)(void *)
SQLITE_API void SQLITE_STDCALL sqlite3_result_null(sqlite3_context *)
SQLITE_API SQLITE_EXPERIMENTAL void *SQLITE_STDCALL 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 SQLITE_STDCALL sqlite3_result_zeroblob(sqlite3_context *, int n)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob(sqlite3_stmt *, int, int n)
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_code(sqlite3_context *, int)
SQLITE_API char *SQLITE_STDCALL sqlite3_vmprintf(const char *, va_list)
#define SQLITE_DEPRECATED
SQLITE_API void SQLITE_STDCALL sqlite3_interrupt(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_extended_result_codes(sqlite3 *, int onoff)
SQLITE_API int SQLITE_STDCALL sqlite3_prepare(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_status(sqlite3_stmt *, int op, int resetFlg)
SQLITE_API int SQLITE_STDCALL sqlite3_column_int(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_unlock_notify(sqlite3 *pBlocked, void(*xNotify)(void **apArg, int nArg), void *pNotifyArg)
SQLITE_API int SQLITE_STDCALL sqlite3_vfs_register(sqlite3_vfs *, int makeDflt)
SQLITE_API const char *SQLITE_STDCALL sqlite3_db_filename(sqlite3 *db, const char *zDbName)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_table_name16(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_changes(sqlite3 *)
SQLITE_API SQLITE_EXTERN const char sqlite3_version[]
SQLITE_API int SQLITE_STDCALL sqlite3_step(sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_readonly(sqlite3_stmt *pStmt)
SQLITE_API int SQLITE_STDCALL sqlite3_sleep(int)
SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_db_handle(sqlite3_stmt *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_errmsg16(sqlite3 *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_name16(sqlite3_stmt *, int N)
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_transfer_bindings(sqlite3_stmt *, sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text(sqlite3_stmt *, int, const char *, int, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_os_init(void)
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_uri_int64(const char *, const char *, sqlite3_int64)
SQLITE_API int SQLITE_STDCALL sqlite3_backup_step(sqlite3_backup *p, int nPage)
SQLITE_API void SQLITE_STDCALL sqlite3_result_double(sqlite3_context *, double)
SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_value_dup(const sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_column_count(sqlite3_stmt *pStmt)
SQLITE_API int SQLITE_STDCALL sqlite3_strnicmp(const char *, const char *, int)
SQLITE_API const char *SQLITE_STDCALL sqlite3_sourceid(void)
SQLITE_API int SQLITE_CDECL sqlite3_test_control(int op,...)
GLboolean GLboolean GLboolean GLboolean a
SQLITE_API int SQLITE_STDCALL sqlite3_errcode(sqlite3 *db)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_int64(sqlite3_stmt *, int, sqlite3_int64)
SQLITE_API void SQLITE_STDCALL sqlite3_result_value(sqlite3_context *, sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_collation_needed(sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const char *))
SQLITE_API int SQLITE_STDCALL 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 SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_old(sqlite3 *, int, sqlite3_value **)
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_highwater(int resetFlag)
SQLITE_API int SQLITE_STDCALL sqlite3_auto_extension(void(*xEntryPoint)(void))
SQLITE_API void *SQLITE_STDCALL sqlite3_malloc(int)
SQLITE_API void *SQLITE_STDCALL sqlite3_rollback_hook(sqlite3 *, void(*)(void *), void *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_blob(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_zeroblob64(sqlite3_stmt *, int, sqlite3_uint64)
SQLITE_API int SQLITE_STDCALL sqlite3_db_release_memory(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_double(sqlite3_stmt *, int, double)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_depth(sqlite3 *)
SQLITE_API const char *SQLITE_STDCALL sqlite3_errmsg(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_limit(sqlite3 *, int id, int newVal)
SQLITE_API sqlite3_uint64 SQLITE_STDCALL sqlite3_msize(void *)
SQLITE_API int SQLITE_STDCALL sqlite3_total_changes(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_open_v2(const char *filename, sqlite3 **ppDb, int flags, const char *zVfs)
sqlite_uint64 sqlite3_uint64
SQLITE_API int SQLITE_STDCALL sqlite3_get_autocommit(sqlite3 *)
struct Fts5Tokenizer Fts5Tokenizer
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_value_int64(sqlite3_value *)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_cmp(sqlite3_snapshot *p1, sqlite3_snapshot *p2)
SQLITE_API int SQLITE_STDCALL 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 SQLITE_STDCALL sqlite3_value_type(sqlite3_value *)
struct sqlite3_stmt sqlite3_stmt
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_scanstatus(sqlite3_stmt *pStmt, int idx, int iScanStatusOp, void *pOut)
void(* fts5_extension_function)(const Fts5ExtensionApi *pApi, Fts5Context *pFts, sqlite3_context *pCtx, int nVal, sqlite3_value **apVal)
SQLITE_API int SQLITE_STDCALL sqlite3_system_errno(sqlite3 *)
SQLITE_API const char *SQLITE_STDCALL sqlite3_sql(sqlite3_stmt *pStmt)
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_last_insert_rowid(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_wal_autocheckpoint(sqlite3 *db, int N)
SQLITE_API void SQLITE_STDCALL sqlite3_result_int64(sqlite3_context *, sqlite3_int64)
SQLITE_API int SQLITE_STDCALL sqlite3_shutdown(void)
SQLITE_API void SQLITE_CDECL sqlite3_log(int iErrCode, const char *zFormat,...)
SQLITE_API int SQLITE_STDCALL 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 sqlite3_int64 SQLITE_STDCALL sqlite3_soft_heap_limit64(sqlite3_int64 N)
SQLITE_API double SQLITE_STDCALL sqlite3_column_double(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_blob_open(sqlite3 *, const char *zDb, const char *zTable, const char *zColumn, sqlite3_int64 iRow, int flags, sqlite3_blob **ppBlob)
SQLITE_API SQLITE_EXPERIMENTAL void *SQLITE_STDCALL sqlite3_profile(sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_origin_name16(sqlite3_stmt *, int)
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API void *SQLITE_STDCALL sqlite3_realloc(void *, int)
SQLITE_API sqlite3_value *SQLITE_STDCALL sqlite3_column_value(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_extended_errcode(sqlite3 *db)
SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes(sqlite3_stmt *, int iCol)
SQLITE_API void SQLITE_STDCALL sqlite3_result_error(sqlite3_context *, const char *, int)
SQLITE_API sqlite3_backup *SQLITE_STDCALL sqlite3_backup_init(sqlite3 *pDest, const char *zDestName, sqlite3 *pSource, const char *zSourceName)
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_aggregate_count(sqlite3_context *)
SQLITE_API int SQLITE_STDCALL sqlite3_file_control(sqlite3 *, const char *zDbName, int op, void *)
SQLITE_API int SQLITE_STDCALL sqlite3_open(const char *filename, sqlite3 **ppDb)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_blob64(sqlite3_stmt *, int, const void *, sqlite3_uint64, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_finalize(sqlite3_stmt *pStmt)
SQLITE_API SQLITE_EXTERN char * sqlite3_temp_directory
SQLITE_API int SQLITE_STDCALL sqlite3_compileoption_used(const char *zOptName)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_null(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_close(sqlite3 *)
SQLITE_API int SQLITE_CDECL sqlite3_vtab_config(sqlite3 *, int op,...)
SQLITE_API void *SQLITE_STDCALL sqlite3_get_auxdata(sqlite3_context *, int N)
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_nomem(sqlite3_context *)
SQLITE_API int SQLITE_STDCALL sqlite3_stmt_busy(sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_libversion_number(void)
SQLITE_API void SQLITE_STDCALL sqlite3_result_subtype(sqlite3_context *, unsigned int)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_count(sqlite3 *)
SQLITE_API int SQLITE_STDCALL sqlite3_open16(const void *filename, sqlite3 **ppDb)
SQLITE_API int SQLITE_STDCALL sqlite3_os_end(void)
SQLITE_API int SQLITE_STDCALL sqlite3_busy_handler(sqlite3 *, int(*)(void *, int), void *)
SQLITE_API int SQLITE_STDCALL sqlite3_initialize(void)
void(* sqlite3_syscall_ptr)(void)
SQLITE_API int SQLITE_STDCALL sqlite3_blob_write(sqlite3_blob *, const void *z, int n, int iOffset)
SQLITE_API int SQLITE_STDCALL sqlite3_threadsafe(void)
SQLITE_API int SQLITE_STDCALL sqlite3_overload_function(sqlite3 *, const char *zFuncName, int nArg)
SQLITE_API void *SQLITE_STDCALL sqlite3_update_hook(sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_try(sqlite3_mutex *)
const struct sqlite3_io_methods * pMethods
SQLITE_API void SQLITE_STDCALL sqlite3_result_error16(sqlite3_context *, const void *, int)
SQLITE_API SQLITE_DEPRECATED void SQLITE_STDCALL sqlite3_thread_cleanup(void)
SQLITE_API int SQLITE_STDCALL sqlite3_close_v2(sqlite3 *)
SQLITE_API sqlite3 *SQLITE_STDCALL sqlite3_context_db_handle(sqlite3_context *)
SQLITE_API sqlite3_vfs *SQLITE_STDCALL sqlite3_vfs_find(const char *zVfsName)
SQLITE_API const char *SQLITE_STDCALL sqlite3_uri_parameter(const char *zFilename, const char *zParam)
SQLITE_API void SQLITE_STDCALL sqlite3_free_table(char **result)
struct Fts5Context Fts5Context
SQLITE_API int SQLITE_STDCALL sqlite3_create_collation16(sqlite3 *, const void *zName, int eTextRep, void *pArg, int(*xCompare)(void *, int, const void *, int, const void *))
SQLITE_API int SQLITE_STDCALL sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc)
SQLITE_API int SQLITE_STDCALL sqlite3_prepare16(sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_memory_alarm(void(*)(void *, sqlite3_int64, int), void *, sqlite3_int64)
SQLITE_API int SQLITE_STDCALL sqlite3_enable_shared_cache(int)
SQLITE_API void SQLITE_STDCALL sqlite3_free(void *)
SQLITE_API int SQLITE_STDCALL sqlite3_rtree_geometry_callback(sqlite3 *db, const char *zGeom, int(*xGeom)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *), void *pContext)
SQLITE_API int SQLITE_STDCALL sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault)
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_enter(sqlite3_mutex *)
SQLITE_API int SQLITE_STDCALL sqlite3_reset(sqlite3_stmt *pStmt)
SQLITE_API void *SQLITE_STDCALL sqlite3_trace(sqlite3 *, void(*xTrace)(void *, const char *), void *)
SQLITE_API SQLITE_DEPRECATED int SQLITE_STDCALL sqlite3_expired(sqlite3_stmt *)
SQLITE_API int SQLITE_STDCALL sqlite3_strglob(const char *zGlob, const char *zStr)
SQLITE_API int SQLITE_CDECL sqlite3_db_config(sqlite3 *, int op,...)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_decltype(sqlite3_stmt *, int)
SQLITE_API void SQLITE_STDCALL sqlite3_result_blob64(sqlite3_context *, const void *, sqlite3_uint64, void(*)(void *))
SQLITE_API void SQLITE_STDCALL sqlite3_result_error_toobig(sqlite3_context *)
SQLITE_API void SQLITE_STDCALL sqlite3_progress_handler(sqlite3 *, int, int(*)(void *), void *)
SQLITE_API const char *SQLITE_STDCALL sqlite3_compileoption_get(int N)
SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_mutex_alloc(int)
SQLITE_API int SQLITE_STDCALL sqlite3_release_memory(int)
SQLITE_API int SQLITE_STDCALL sqlite3_exec(sqlite3 *, const char *sql, int(*callback)(void *, int, char **, char **), void *, char **errmsg)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_origin_name(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_column_bytes16(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_int(sqlite3_stmt *, int, int)
SQLITE_API void SQLITE_STDCALL sqlite3_result_text16be(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_blob(sqlite3_stmt *, int iCol)
SQLITE_API SQLITE_DEPRECATED void SQLITE_STDCALL sqlite3_soft_heap_limit(int N)
SQLITE_API sqlite3_mutex *SQLITE_STDCALL sqlite3_db_mutex(sqlite3 *)
SQLITE_API SQLITE_EXPERIMENTAL void SQLITE_STDCALL sqlite3_snapshot_free(sqlite3_snapshot *)
SQLITE_API SQLITE_EXTERN char * sqlite3_data_directory
SQLITE_API int SQLITE_STDCALL sqlite3_bind_parameter_index(sqlite3_stmt *, const char *zName)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_database_name16(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_text64(sqlite3_stmt *, int, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_text16(sqlite3_stmt *, int iCol)
SQLITE_API void *SQLITE_STDCALL sqlite3_malloc64(sqlite3_uint64)
SQLITE_API int SQLITE_STDCALL sqlite3_mutex_notheld(sqlite3_mutex *)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_database_name(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_prepare_v2(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API int SQLITE_STDCALL sqlite3_backup_pagecount(sqlite3_backup *p)
SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_value_text(sqlite3_value *)
SQLITE_API void SQLITE_STDCALL sqlite3_mutex_leave(sqlite3_mutex *)
SQLITE_API int SQLITE_STDCALL sqlite3_backup_remaining(sqlite3_backup *p)
struct sqlite3_snapshot sqlite3_snapshot
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_memory_used(void)
SQLITE_API void SQLITE_STDCALL sqlite3_randomness(int N, void *P)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_name(sqlite3_stmt *, int N)
SQLITE_API int SQLITE_STDCALL sqlite3_status64(int op, sqlite3_int64 *pCurrent, sqlite3_int64 *pHighwater, int resetFlag)
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16be(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_rtree_query_callback(sqlite3 *db, const char *zQueryFunc, int(*xQueryFunc)(sqlite3_rtree_query_info *), void *pContext, void(*xDestructor)(void *))
SQLITE_API const char *SQLITE_STDCALL sqlite3_errstr(int)
SQLITE_API int SQLITE_STDCALL sqlite3_get_table(sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrmsg)
static const char * encoding
SQLITE_API int SQLITE_CDECL sqlite3_config(int,...)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_preupdate_new(sqlite3 *, int, sqlite3_value **)
SQLITE_API const char *SQLITE_STDCALL sqlite3_column_table_name(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_declare_vtab(sqlite3 *, const char *zSQL)
int(* sqlite3_callback)(void *, int, char **, char **)
SQLITE_API int SQLITE_STDCALL sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb)
struct sqlite3_blob sqlite3_blob
SQLITE_API int SQLITE_STDCALL sqlite3_create_module(sqlite3 *db, const char *zName, const sqlite3_module *p, void *pClientData)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_open(sqlite3 *db, const char *zSchema, sqlite3_snapshot *pSnapshot)
SQLITE_API sqlite3_int64 SQLITE_STDCALL sqlite3_column_int64(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_bind_value(sqlite3_stmt *, int, const sqlite3_value *)
struct sqlite3_pcache sqlite3_pcache
SQLITE_API void SQLITE_STDCALL sqlite3_stmt_scanstatus_reset(sqlite3_stmt *)
sqlite_int64 sqlite3_int64
SQLITE_API void *SQLITE_STDCALL sqlite3_wal_hook(sqlite3 *, int(*)(void *, sqlite3 *, const char *, int), void *)
SQLITE_API SQLITE_EXPERIMENTAL int SQLITE_STDCALL sqlite3_snapshot_get(sqlite3 *db, const char *zSchema, sqlite3_snapshot **ppSnapshot)
SQLITE_API sqlite3_stmt *SQLITE_STDCALL sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt)
SQLITE_API void SQLITE_STDCALL sqlite3_result_text64(sqlite3_context *, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
SQLITE_API int SQLITE_STDCALL sqlite3_vfs_unregister(sqlite3_vfs *)
SQLITE_API int SQLITE_STDCALL sqlite3_prepare16_v2(sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
long long int sqlite_int64
SQLITE_API const void *SQLITE_STDCALL sqlite3_value_text16(sqlite3_value *)
SQLITE_API void SQLITE_STDCALL sqlite3_value_free(sqlite3_value *)
SQLITE_API const void *SQLITE_STDCALL sqlite3_column_decltype16(sqlite3_stmt *, int)
SQLITE_API int SQLITE_STDCALL sqlite3_value_int(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_backup_finish(sqlite3_backup *p)
SQLITE_API void *SQLITE_STDCALL sqlite3_aggregate_context(sqlite3_context *, int nBytes)
SQLITE_API double SQLITE_STDCALL sqlite3_value_double(sqlite3_value *)
SQLITE_API int SQLITE_STDCALL sqlite3_blob_close(sqlite3_blob *)
SQLITE_API void *SQLITE_STDCALL sqlite3_realloc64(void *, sqlite3_uint64)
SQLITE_API void SQLITE_STDCALL sqlite3_result_blob(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API int SQLITE_STDCALL sqlite3_load_extension(sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
SQLITE_API int SQLITE_STDCALL 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 SQLITE_STDCALL sqlite3_wal_checkpoint_v2(sqlite3 *db, const char *zDb, int eMode, int *pnLog, int *pnCkpt)
SQLITE_API const unsigned char *SQLITE_STDCALL sqlite3_column_text(sqlite3_stmt *, int iCol)
SQLITE_API int SQLITE_STDCALL sqlite3_db_status(sqlite3 *, int op, int *pCur, int *pHiwtr, int resetFlg)
SQLITE_API void SQLITE_STDCALL sqlite3_reset_auto_extension(void)
SQLITE_API int SQLITE_STDCALL sqlite3_complete16(const void *sql)
SQLITE_API const char *SQLITE_STDCALL sqlite3_bind_parameter_name(sqlite3_stmt *, int)