49 # define SQLITE_EXTERN extern 70 #define SQLITE_DEPRECATED 71 #define SQLITE_EXPERIMENTAL 77 # undef SQLITE_VERSION 79 #ifdef SQLITE_VERSION_NUMBER 80 # undef SQLITE_VERSION_NUMBER 110 #define SQLITE_VERSION "3.8.2" 111 #define SQLITE_VERSION_NUMBER 3008002 112 #define SQLITE_SOURCE_ID "2013-12-06 14:53:30 27392118af4c38c5203a04b8013e1afdb1cebd0d" 171 #ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS 246 #ifdef SQLITE_INT64_TYPE 249 #elif defined(_MSC_VER) || defined(__BORLANDC__) 263 #ifdef SQLITE_OMIT_FLOATING_POINT 264 # define double sqlite3_int64 382 int (*callback)(
void*,
int,
char**,
char**),
402 #define SQLITE_ERROR 1 403 #define SQLITE_INTERNAL 2 404 #define SQLITE_PERM 3 405 #define SQLITE_ABORT 4 406 #define SQLITE_BUSY 5 407 #define SQLITE_LOCKED 6 408 #define SQLITE_NOMEM 7 409 #define SQLITE_READONLY 8 410 #define SQLITE_INTERRUPT 9 411 #define SQLITE_IOERR 10 412 #define SQLITE_CORRUPT 11 413 #define SQLITE_NOTFOUND 12 414 #define SQLITE_FULL 13 415 #define SQLITE_CANTOPEN 14 416 #define SQLITE_PROTOCOL 15 417 #define SQLITE_EMPTY 16 418 #define SQLITE_SCHEMA 17 419 #define SQLITE_TOOBIG 18 420 #define SQLITE_CONSTRAINT 19 421 #define SQLITE_MISMATCH 20 422 #define SQLITE_MISUSE 21 423 #define SQLITE_NOLFS 22 424 #define SQLITE_AUTH 23 425 #define SQLITE_FORMAT 24 426 #define SQLITE_RANGE 25 427 #define SQLITE_NOTADB 26 428 #define SQLITE_NOTICE 27 429 #define SQLITE_WARNING 28 430 #define SQLITE_ROW 100 431 #define SQLITE_DONE 101 457 #define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) 458 #define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) 459 #define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) 460 #define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) 461 #define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) 462 #define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) 463 #define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8)) 464 #define SQLITE_IOERR_UNLOCK (SQLITE_IOERR | (8<<8)) 465 #define SQLITE_IOERR_RDLOCK (SQLITE_IOERR | (9<<8)) 466 #define SQLITE_IOERR_DELETE (SQLITE_IOERR | (10<<8)) 467 #define SQLITE_IOERR_BLOCKED (SQLITE_IOERR | (11<<8)) 468 #define SQLITE_IOERR_NOMEM (SQLITE_IOERR | (12<<8)) 469 #define SQLITE_IOERR_ACCESS (SQLITE_IOERR | (13<<8)) 470 #define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14<<8)) 471 #define SQLITE_IOERR_LOCK (SQLITE_IOERR | (15<<8)) 472 #define SQLITE_IOERR_CLOSE (SQLITE_IOERR | (16<<8)) 473 #define SQLITE_IOERR_DIR_CLOSE (SQLITE_IOERR | (17<<8)) 474 #define SQLITE_IOERR_SHMOPEN (SQLITE_IOERR | (18<<8)) 475 #define SQLITE_IOERR_SHMSIZE (SQLITE_IOERR | (19<<8)) 476 #define SQLITE_IOERR_SHMLOCK (SQLITE_IOERR | (20<<8)) 477 #define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8)) 478 #define SQLITE_IOERR_SEEK (SQLITE_IOERR | (22<<8)) 479 #define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8)) 480 #define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8)) 481 #define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8)) 482 #define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8)) 483 #define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8)) 484 #define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8)) 485 #define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8)) 486 #define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8)) 487 #define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8)) 488 #define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8)) 489 #define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8)) 490 #define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) 491 #define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) 492 #define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) 493 #define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<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)) 516 #define SQLITE_OPEN_READONLY 0x00000001 517 #define SQLITE_OPEN_READWRITE 0x00000002 518 #define SQLITE_OPEN_CREATE 0x00000004 519 #define SQLITE_OPEN_DELETEONCLOSE 0x00000008 520 #define SQLITE_OPEN_EXCLUSIVE 0x00000010 521 #define SQLITE_OPEN_AUTOPROXY 0x00000020 522 #define SQLITE_OPEN_URI 0x00000040 523 #define SQLITE_OPEN_MEMORY 0x00000080 524 #define SQLITE_OPEN_MAIN_DB 0x00000100 525 #define SQLITE_OPEN_TEMP_DB 0x00000200 526 #define SQLITE_OPEN_TRANSIENT_DB 0x00000400 527 #define SQLITE_OPEN_MAIN_JOURNAL 0x00000800 528 #define SQLITE_OPEN_TEMP_JOURNAL 0x00001000 529 #define SQLITE_OPEN_SUBJOURNAL 0x00002000 530 #define SQLITE_OPEN_MASTER_JOURNAL 0x00004000 531 #define SQLITE_OPEN_NOMUTEX 0x00008000 532 #define SQLITE_OPEN_FULLMUTEX 0x00010000 533 #define SQLITE_OPEN_SHAREDCACHE 0x00020000 534 #define SQLITE_OPEN_PRIVATECACHE 0x00040000 535 #define SQLITE_OPEN_WAL 0x00080000 563 #define SQLITE_IOCAP_ATOMIC 0x00000001 564 #define SQLITE_IOCAP_ATOMIC512 0x00000002 565 #define SQLITE_IOCAP_ATOMIC1K 0x00000004 566 #define SQLITE_IOCAP_ATOMIC2K 0x00000008 567 #define SQLITE_IOCAP_ATOMIC4K 0x00000010 568 #define SQLITE_IOCAP_ATOMIC8K 0x00000020 569 #define SQLITE_IOCAP_ATOMIC16K 0x00000040 570 #define SQLITE_IOCAP_ATOMIC32K 0x00000080 571 #define SQLITE_IOCAP_ATOMIC64K 0x00000100 572 #define SQLITE_IOCAP_SAFE_APPEND 0x00000200 573 #define SQLITE_IOCAP_SEQUENTIAL 0x00000400 574 #define SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN 0x00000800 575 #define SQLITE_IOCAP_POWERSAFE_OVERWRITE 0x00001000 584 #define SQLITE_LOCK_NONE 0 585 #define SQLITE_LOCK_SHARED 1 586 #define SQLITE_LOCK_RESERVED 2 587 #define SQLITE_LOCK_PENDING 3 588 #define SQLITE_LOCK_EXCLUSIVE 4 616 #define SQLITE_SYNC_NORMAL 0x00002 617 #define SQLITE_SYNC_FULL 0x00003 618 #define SQLITE_SYNC_DATAONLY 0x00010 730 int (*xRead)(
sqlite3_file*,
void*,
int iAmt, sqlite3_int64 iOfst);
731 int (*xWrite)(
sqlite3_file*,
const void*,
int iAmt, sqlite3_int64 iOfst);
742 int (*xShmMap)(
sqlite3_file*,
int iPg,
int pgsz, int,
void volatile**);
743 int (*xShmLock)(
sqlite3_file*,
int offset,
int n,
int flags);
747 int (*xFetch)(
sqlite3_file*, sqlite3_int64 iOfst,
int iAmt,
void **pp);
748 int (*xUnfetch)(
sqlite3_file*, sqlite3_int64 iOfst,
void *p);
926 #define SQLITE_FCNTL_LOCKSTATE 1 927 #define SQLITE_GET_LOCKPROXYFILE 2 928 #define SQLITE_SET_LOCKPROXYFILE 3 929 #define SQLITE_LAST_ERRNO 4 930 #define SQLITE_FCNTL_SIZE_HINT 5 931 #define SQLITE_FCNTL_CHUNK_SIZE 6 932 #define SQLITE_FCNTL_FILE_POINTER 7 933 #define SQLITE_FCNTL_SYNC_OMITTED 8 934 #define SQLITE_FCNTL_WIN32_AV_RETRY 9 935 #define SQLITE_FCNTL_PERSIST_WAL 10 936 #define SQLITE_FCNTL_OVERWRITE 11 937 #define SQLITE_FCNTL_VFSNAME 12 938 #define SQLITE_FCNTL_POWERSAFE_OVERWRITE 13 939 #define SQLITE_FCNTL_PRAGMA 14 940 #define SQLITE_FCNTL_BUSYHANDLER 15 941 #define SQLITE_FCNTL_TEMPFILENAME 16 942 #define SQLITE_FCNTL_MMAP_SIZE 18 943 #define SQLITE_FCNTL_TRACE 19 1124 int flags,
int *pOutFlags);
1125 int (*xDelete)(
sqlite3_vfs*,
const char *zName,
int syncDir);
1126 int (*xAccess)(
sqlite3_vfs*,
const char *zName,
int flags,
int *pResOut);
1127 int (*xFullPathname)(
sqlite3_vfs*,
const char *zName,
int nOut,
char *zOut);
1128 void *(*xDlOpen)(
sqlite3_vfs*,
const char *zFilename);
1129 void (*xDlError)(sqlite3_vfs*,
int nByte,
char *zErrMsg);
1130 void (*(*xDlSym)(sqlite3_vfs*,
void*,
const char *zSymbol))(void);
1131 void (*xDlClose)(sqlite3_vfs*,
void*);
1132 int (*xRandomness)(sqlite3_vfs*,
int nByte,
char *zOut);
1133 int (*xSleep)(sqlite3_vfs*,
int microseconds);
1134 int (*xCurrentTime)(sqlite3_vfs*,
double*);
1135 int (*xGetLastError)(sqlite3_vfs*, int,
char *);
1140 int (*xCurrentTimeInt64)(sqlite3_vfs*, sqlite3_int64*);
1147 const char *(*xNextSystemCall)(sqlite3_vfs*,
const char *zName);
1175 #define SQLITE_ACCESS_EXISTS 0 1176 #define SQLITE_ACCESS_READWRITE 1 1177 #define SQLITE_ACCESS_READ 2 1201 #define SQLITE_SHM_UNLOCK 1 1202 #define SQLITE_SHM_LOCK 2 1203 #define SQLITE_SHM_SHARED 4 1204 #define SQLITE_SHM_EXCLUSIVE 8 1214 #define SQLITE_SHM_NLOCK 8 1411 void *(*xMalloc)(int);
1412 void (*xFree)(
void*);
1413 void *(*xRealloc)(
void*,int);
1414 int (*xSize)(
void*);
1415 int (*xRoundup)(int);
1416 int (*xInit)(
void*);
1417 void (*xShutdown)(
void*);
1699 #define SQLITE_CONFIG_SINGLETHREAD 1 1700 #define SQLITE_CONFIG_MULTITHREAD 2 1701 #define SQLITE_CONFIG_SERIALIZED 3 1702 #define SQLITE_CONFIG_MALLOC 4 1703 #define SQLITE_CONFIG_GETMALLOC 5 1704 #define SQLITE_CONFIG_SCRATCH 6 1705 #define SQLITE_CONFIG_PAGECACHE 7 1706 #define SQLITE_CONFIG_HEAP 8 1707 #define SQLITE_CONFIG_MEMSTATUS 9 1708 #define SQLITE_CONFIG_MUTEX 10 1709 #define SQLITE_CONFIG_GETMUTEX 11 1711 #define SQLITE_CONFIG_LOOKASIDE 13 1712 #define SQLITE_CONFIG_PCACHE 14 1713 #define SQLITE_CONFIG_GETPCACHE 15 1714 #define SQLITE_CONFIG_LOG 16 1715 #define SQLITE_CONFIG_URI 17 1716 #define SQLITE_CONFIG_PCACHE2 18 1717 #define SQLITE_CONFIG_GETPCACHE2 19 1718 #define SQLITE_CONFIG_COVERING_INDEX_SCAN 20 1719 #define SQLITE_CONFIG_SQLLOG 21 1720 #define SQLITE_CONFIG_MMAP_SIZE 22 1721 #define SQLITE_CONFIG_WIN32_HEAPSIZE 23 1781 #define SQLITE_DBCONFIG_LOOKASIDE 1001 1782 #define SQLITE_DBCONFIG_ENABLE_FKEY 1002 1783 #define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 2470 int (*xAuth)(
void*,
int,
const char*,
const char*,
const char*,
const char*),
2486 #define SQLITE_DENY 1 2487 #define SQLITE_IGNORE 2 2509 #define SQLITE_CREATE_INDEX 1 2510 #define SQLITE_CREATE_TABLE 2 2511 #define SQLITE_CREATE_TEMP_INDEX 3 2512 #define SQLITE_CREATE_TEMP_TABLE 4 2513 #define SQLITE_CREATE_TEMP_TRIGGER 5 2514 #define SQLITE_CREATE_TEMP_VIEW 6 2515 #define SQLITE_CREATE_TRIGGER 7 2516 #define SQLITE_CREATE_VIEW 8 2517 #define SQLITE_DELETE 9 2518 #define SQLITE_DROP_INDEX 10 2519 #define SQLITE_DROP_TABLE 11 2520 #define SQLITE_DROP_TEMP_INDEX 12 2521 #define SQLITE_DROP_TEMP_TABLE 13 2522 #define SQLITE_DROP_TEMP_TRIGGER 14 2523 #define SQLITE_DROP_TEMP_VIEW 15 2524 #define SQLITE_DROP_TRIGGER 16 2525 #define SQLITE_DROP_VIEW 17 2526 #define SQLITE_INSERT 18 2527 #define SQLITE_PRAGMA 19 2528 #define SQLITE_READ 20 2529 #define SQLITE_SELECT 21 2530 #define SQLITE_TRANSACTION 22 2531 #define SQLITE_UPDATE 23 2532 #define SQLITE_ATTACH 24 2533 #define SQLITE_DETACH 25 2534 #define SQLITE_ALTER_TABLE 26 2535 #define SQLITE_REINDEX 27 2536 #define SQLITE_ANALYZE 28 2537 #define SQLITE_CREATE_VTABLE 29 2538 #define SQLITE_DROP_VTABLE 30 2539 #define SQLITE_FUNCTION 31 2540 #define SQLITE_SAVEPOINT 32 2541 #define SQLITE_COPY 0 2573 void(*xProfile)(
void*,
const char*,sqlite3_uint64),
void*);
2811 const char *filename,
2815 const void *filename,
2819 const char *filename,
3032 #define SQLITE_LIMIT_LENGTH 0 3033 #define SQLITE_LIMIT_SQL_LENGTH 1 3034 #define SQLITE_LIMIT_COLUMN 2 3035 #define SQLITE_LIMIT_EXPR_DEPTH 3 3036 #define SQLITE_LIMIT_COMPOUND_SELECT 4 3037 #define SQLITE_LIMIT_VDBE_OP 5 3038 #define SQLITE_LIMIT_FUNCTION_ARG 6 3039 #define SQLITE_LIMIT_ATTACHED 7 3040 #define SQLITE_LIMIT_LIKE_PATTERN_LENGTH 8 3041 #define SQLITE_LIMIT_VARIABLE_NUMBER 9 3042 #define SQLITE_LIMIT_TRIGGER_DEPTH 10 3687 #define SQLITE_INTEGER 1 3688 #define SQLITE_FLOAT 2 3689 #define SQLITE_BLOB 4 3690 #define SQLITE_NULL 5 3694 # define SQLITE_TEXT 3 3696 #define SQLITE3_TEXT 3 4014 const char *zFunctionName,
4024 const void *zFunctionName,
4034 const char *zFunctionName,
4041 void(*xDestroy)(
void*)
4050 #define SQLITE_UTF8 1 4051 #define SQLITE_UTF16LE 2 4052 #define SQLITE_UTF16BE 3 4053 #define SQLITE_UTF16 4 4054 #define SQLITE_ANY 5 4055 #define SQLITE_UTF16_ALIGNED 8 4067 #ifndef SQLITE_OMIT_DEPRECATED 4074 void*,sqlite3_int64);
4273 #define SQLITE_STATIC ((sqlite3_destructor_type)0) 4274 #define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1) 4487 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
4494 int(*xCompare)(
void*,
int,
const void*,
int,
const void*),
4495 void(*xDestroy)(
void*)
4502 int(*xCompare)(
void*,
int,
const void*,
int,
const void*)
4534 void(*)(
void*,
sqlite3*,
int eTextRep,
const char*)
4539 void(*)(
void*,
sqlite3*,
int eTextRep,
const void*)
4542 #ifdef SQLITE_HAS_CODEC 4552 const void *pKey,
int nKey
4556 const char *zDbName,
4557 const void *pKey,
int nKey
4570 const void *pKey,
int nKey
4574 const char *zDbName,
4575 const void *pKey,
int nKey
4583 const char *zPassPhrase
4587 #ifdef SQLITE_ENABLE_CEROD 4593 const char *zPassPhrase
4873 void(*)(
void *,
int ,
char const *,
char const *,sqlite3_int64),
5065 const char *zDbName,
5066 const char *zTableName,
5067 const char *zColumnName,
5068 char const **pzDataType,
5069 char const **pzCollSeq,
5224 int (*xCreate)(
sqlite3*,
void *pAux,
5225 int argc,
const char *
const*argv,
5227 int (*xConnect)(
sqlite3*,
void *pAux,
5228 int argc,
const char *
const*argv,
5246 int (*xFindFunction)(
sqlite3_vtab *pVtab,
int nArg,
const char *zName,
5247 void (**pxFunc)(sqlite3_context*,int,sqlite3_value**),
5325 struct sqlite3_index_constraint {
5328 unsigned char usable;
5332 struct sqlite3_index_orderby {
5337 struct sqlite3_index_constraint_usage {
5340 } *aConstraintUsage;
5343 int needToFreeIdxStr;
5344 int orderByConsumed;
5345 double estimatedCost;
5347 sqlite3_int64 estimatedRows;
5358 #define SQLITE_INDEX_CONSTRAINT_EQ 2 5359 #define SQLITE_INDEX_CONSTRAINT_GT 4 5360 #define SQLITE_INDEX_CONSTRAINT_LE 8 5361 #define SQLITE_INDEX_CONSTRAINT_LT 16 5362 #define SQLITE_INDEX_CONSTRAINT_GE 32 5363 #define SQLITE_INDEX_CONSTRAINT_MATCH 64 5401 void(*xDestroy)(
void*)
5566 const char *zColumn,
5920 int (*xMutexInit)(void);
5921 int (*xMutexEnd)(void);
5975 #define SQLITE_MUTEX_FAST 0 5976 #define SQLITE_MUTEX_RECURSIVE 1 5977 #define SQLITE_MUTEX_STATIC_MASTER 2 5978 #define SQLITE_MUTEX_STATIC_MEM 3 5979 #define SQLITE_MUTEX_STATIC_MEM2 4 5980 #define SQLITE_MUTEX_STATIC_OPEN 4 5981 #define SQLITE_MUTEX_STATIC_PRNG 5 5982 #define SQLITE_MUTEX_STATIC_LRU 6 5983 #define SQLITE_MUTEX_STATIC_LRU2 7 5984 #define SQLITE_MUTEX_STATIC_PMEM 7 6061 #define SQLITE_TESTCTRL_FIRST 5 6062 #define SQLITE_TESTCTRL_PRNG_SAVE 5 6063 #define SQLITE_TESTCTRL_PRNG_RESTORE 6 6064 #define SQLITE_TESTCTRL_PRNG_RESET 7 6065 #define SQLITE_TESTCTRL_BITVEC_TEST 8 6066 #define SQLITE_TESTCTRL_FAULT_INSTALL 9 6067 #define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS 10 6068 #define SQLITE_TESTCTRL_PENDING_BYTE 11 6069 #define SQLITE_TESTCTRL_ASSERT 12 6070 #define SQLITE_TESTCTRL_ALWAYS 13 6071 #define SQLITE_TESTCTRL_RESERVE 14 6072 #define SQLITE_TESTCTRL_OPTIMIZATIONS 15 6073 #define SQLITE_TESTCTRL_ISKEYWORD 16 6074 #define SQLITE_TESTCTRL_SCRATCHMALLOC 17 6075 #define SQLITE_TESTCTRL_LOCALTIME_FAULT 18 6076 #define SQLITE_TESTCTRL_EXPLAIN_STMT 19 6077 #define SQLITE_TESTCTRL_NEVER_CORRUPT 20 6078 #define SQLITE_TESTCTRL_LAST 20 6194 #define SQLITE_STATUS_MEMORY_USED 0 6195 #define SQLITE_STATUS_PAGECACHE_USED 1 6196 #define SQLITE_STATUS_PAGECACHE_OVERFLOW 2 6197 #define SQLITE_STATUS_SCRATCH_USED 3 6198 #define SQLITE_STATUS_SCRATCH_OVERFLOW 4 6199 #define SQLITE_STATUS_MALLOC_SIZE 5 6200 #define SQLITE_STATUS_PARSER_STACK 6 6201 #define SQLITE_STATUS_PAGECACHE_SIZE 7 6202 #define SQLITE_STATUS_SCRATCH_SIZE 8 6203 #define SQLITE_STATUS_MALLOC_COUNT 9 6319 #define SQLITE_DBSTATUS_LOOKASIDE_USED 0 6320 #define SQLITE_DBSTATUS_CACHE_USED 1 6321 #define SQLITE_DBSTATUS_SCHEMA_USED 2 6322 #define SQLITE_DBSTATUS_STMT_USED 3 6323 #define SQLITE_DBSTATUS_LOOKASIDE_HIT 4 6324 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE 5 6325 #define SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL 6 6326 #define SQLITE_DBSTATUS_CACHE_HIT 7 6327 #define SQLITE_DBSTATUS_CACHE_MISS 8 6328 #define SQLITE_DBSTATUS_CACHE_WRITE 9 6329 #define SQLITE_DBSTATUS_DEFERRED_FKS 10 6330 #define SQLITE_DBSTATUS_MAX 10 6395 #define SQLITE_STMTSTATUS_FULLSCAN_STEP 1 6396 #define SQLITE_STMTSTATUS_SORT 2 6397 #define SQLITE_STMTSTATUS_AUTOINDEX 3 6398 #define SQLITE_STMTSTATUS_VM_STEP 4 6592 int (*xInit)(
void*);
6593 void (*xShutdown)(
void*);
6594 sqlite3_pcache *(*xCreate)(
int szPage,
int szExtra,
int bPurgeable);
6596 int (*xPagecount)(sqlite3_pcache*);
6599 void (*xRekey)(sqlite3_pcache*, sqlite3_pcache_page*,
6600 unsigned oldKey,
unsigned newKey);
6601 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
6602 void (*xDestroy)(sqlite3_pcache*);
6603 void (*xShrink)(sqlite3_pcache*);
6614 int (*xInit)(
void*);
6615 void (*xShutdown)(
void*);
6618 int (*xPagecount)(sqlite3_pcache*);
6619 void *(*xFetch)(sqlite3_pcache*,
unsigned key,
int createFlag);
6620 void (*xUnpin)(sqlite3_pcache*,
void*,
int discard);
6621 void (*xRekey)(sqlite3_pcache*,
void*,
unsigned oldKey,
unsigned newKey);
6622 void (*xTruncate)(sqlite3_pcache*,
unsigned iLimit);
6623 void (*xDestroy)(sqlite3_pcache*);
6823 const char *zDestName,
6825 const char *zSourceName
6948 void (*xNotify)(
void **apArg,
int nArg),
7039 int(*)(
void *,
sqlite3*,
const char*,
int),
7174 #define SQLITE_CHECKPOINT_PASSIVE 0 7175 #define SQLITE_CHECKPOINT_FULL 1 7176 #define SQLITE_CHECKPOINT_RESTART 2 7233 #define SQLITE_VTAB_CONSTRAINT_SUPPORT 1 7258 #define SQLITE_ROLLBACK 1 7260 #define SQLITE_FAIL 3 7262 #define SQLITE_REPLACE 5 7270 #ifdef SQLITE_OMIT_FLOATING_POINT 7292 #ifndef _SQLITE3RTREE_H_ 7293 #define _SQLITE3RTREE_H_ 7311 #ifdef SQLITE_RTREE_INT_ONLY
7329 void (*xDelUser)(
void *);
SQLITE_API int sqlite3_bind_value(sqlite3_stmt *, int, const sqlite3_value *)
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 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 * 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 SQLITE_EXPERIMENTAL void * sqlite3_profile(sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
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_libversion_number(void)
SQLITE_API int sqlite3_close(sqlite3 *)
void(* sqlite3_destructor_type)(void *)
SQLITE_API void * sqlite3_trace(sqlite3 *, void(*xTrace)(void *, const char *), 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 int sqlite3_os_init(void)
SQLITE_API void * sqlite3_update_hook(sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
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)
struct sqlite3_stmt sqlite3_stmt
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 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 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_config(int,...)
SQLITE_API void sqlite3_result_text16le(sqlite3_context *, const void *, int, void(*)(void *))
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64)
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 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 int sqlite3_column_count(sqlite3_stmt *pStmt)
SQLITE_API void sqlite3_result_text(sqlite3_context *, const char *, int, void(*)(void *))
sqlite_uint64 sqlite3_uint64
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 int sqlite3_bind_text(sqlite3_stmt *, int, const char *, int n, void(*)(void *))
SQLITE_API const char * sqlite3_sourceid(void)
SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex *)
SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr)
SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *, const char *zName)
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 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_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 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 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 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 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_shutdown(void)
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt *, sqlite3_stmt *)
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 int sqlite3_rtree_geometry_callback(sqlite3 *db, const char *zGeom, int(*xGeom)(sqlite3_rtree_geometry *, int n, double *a, int *pRes), void *pContext)
SQLITE_API void sqlite3_result_value(sqlite3_context *, sqlite3_value *)
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)
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 int sqlite3_bind_double(sqlite3_stmt *, int, double)
SQLITE_API const char * sqlite3_sql(sqlite3_stmt *pStmt)
SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt *, int iCol)
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 void sqlite3_result_int(sqlite3_context *, int)
SQLITE_API int sqlite3_complete(const char *sql)
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_limit(sqlite3 *, int id, int newVal)
SQLITE_API const char * sqlite3_libversion(void)
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)
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 *)