sqlite3.cfg: Add defines for SQLite constants.
This commit is contained in:
parent
22f01f035c
commit
b2803f56b4
427
cfg/sqlite3.cfg
427
cfg/sqlite3.cfg
|
@ -9,7 +9,434 @@
|
||||||
<podtype name="sqlite3_uint64" sign="u" size="8"/>
|
<podtype name="sqlite3_uint64" sign="u" size="8"/>
|
||||||
<podtype name="sqlite_uint64" sign="u" size="8"/>
|
<podtype name="sqlite_uint64" sign="u" size="8"/>
|
||||||
<!-- ########## SQLite values / defines ########## -->
|
<!-- ########## SQLite values / defines ########## -->
|
||||||
|
<!-- Result Codes -->
|
||||||
<define name="SQLITE_OK" value="0"/>
|
<define name="SQLITE_OK" value="0"/>
|
||||||
|
<!-- beginning-of-error-codes -->
|
||||||
|
<define name="SQLITE_ERROR" value="1"/>
|
||||||
|
<define name="SQLITE_INTERNAL" value="2"/>
|
||||||
|
<define name="SQLITE_PERM" value="3"/>
|
||||||
|
<define name="SQLITE_ABORT" value="4"/>
|
||||||
|
<define name="SQLITE_BUSY" value="5"/>
|
||||||
|
<define name="SQLITE_LOCKED" value="6"/>
|
||||||
|
<define name="SQLITE_NOMEM" value="7"/>
|
||||||
|
<define name="SQLITE_READONLY" value="8"/>
|
||||||
|
<define name="SQLITE_INTERRUPT" value="9"/>
|
||||||
|
<define name="SQLITE_IOERR" value="10"/>
|
||||||
|
<define name="SQLITE_CORRUPT" value="11"/>
|
||||||
|
<define name="SQLITE_NOTFOUND" value="12"/>
|
||||||
|
<define name="SQLITE_FULL" value="13"/>
|
||||||
|
<define name="SQLITE_CANTOPEN" value="14"/>
|
||||||
|
<define name="SQLITE_PROTOCOL" value="15"/>
|
||||||
|
<define name="SQLITE_EMPTY" value="16"/>
|
||||||
|
<define name="SQLITE_SCHEMA" value="17"/>
|
||||||
|
<define name="SQLITE_TOOBIG" value="18"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT" value="19"/>
|
||||||
|
<define name="SQLITE_MISMATCH" value="20"/>
|
||||||
|
<define name="SQLITE_MISUSE" value="21"/>
|
||||||
|
<define name="SQLITE_NOLFS" value="22"/>
|
||||||
|
<define name="SQLITE_AUTH" value="23"/>
|
||||||
|
<define name="SQLITE_FORMAT" value="24"/>
|
||||||
|
<define name="SQLITE_RANGE" value="25"/>
|
||||||
|
<define name="SQLITE_NOTADB" value="26"/>
|
||||||
|
<define name="SQLITE_NOTICE" value="27"/>
|
||||||
|
<define name="SQLITE_WARNING" value="28"/>
|
||||||
|
<define name="SQLITE_ROW" value="100"/>
|
||||||
|
<define name="SQLITE_DONE" value="101"/>
|
||||||
|
<!-- end-of-error-codes -->
|
||||||
|
<!-- Extended Result Codes -->
|
||||||
|
<define name="SQLITE_ERROR_MISSING_COLLSEQ" value="(SQLITE_ERROR | (1<<8))"/>
|
||||||
|
<define name="SQLITE_ERROR_RETRY" value="(SQLITE_ERROR | (2<<8))"/>
|
||||||
|
<define name="SQLITE_ERROR_SNAPSHOT" value="(SQLITE_ERROR | (3<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_READ" value="(SQLITE_IOERR | (1<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SHORT_READ" value="(SQLITE_IOERR | (2<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_WRITE" value="(SQLITE_IOERR | (3<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_FSYNC" value="(SQLITE_IOERR | (4<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_DIR_FSYNC" value="(SQLITE_IOERR | (5<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_TRUNCATE" value="(SQLITE_IOERR | (6<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_FSTAT" value="(SQLITE_IOERR | (7<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_UNLOCK" value="(SQLITE_IOERR | (8<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_RDLOCK" value="(SQLITE_IOERR | (9<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_DELETE" value="(SQLITE_IOERR | (10<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_BLOCKED" value="(SQLITE_IOERR | (11<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_NOMEM" value="(SQLITE_IOERR | (12<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_ACCESS" value="(SQLITE_IOERR | (13<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_CHECKRESERVEDLOCK" value="(SQLITE_IOERR | (14<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_LOCK" value="(SQLITE_IOERR | (15<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_CLOSE" value="(SQLITE_IOERR | (16<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_DIR_CLOSE" value="(SQLITE_IOERR | (17<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SHMOPEN" value="(SQLITE_IOERR | (18<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SHMSIZE" value="(SQLITE_IOERR | (19<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SHMLOCK" value="(SQLITE_IOERR | (20<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SHMMAP" value="(SQLITE_IOERR | (21<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_SEEK" value="(SQLITE_IOERR | (22<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_DELETE_NOENT" value="(SQLITE_IOERR | (23<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_MMAP" value="(SQLITE_IOERR | (24<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_GETTEMPPATH" value="(SQLITE_IOERR | (25<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_CONVPATH" value="(SQLITE_IOERR | (26<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_VNODE" value="(SQLITE_IOERR | (27<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_AUTH" value="(SQLITE_IOERR | (28<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_BEGIN_ATOMIC" value="(SQLITE_IOERR | (29<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_COMMIT_ATOMIC" value="(SQLITE_IOERR | (30<<8))"/>
|
||||||
|
<define name="SQLITE_IOERR_ROLLBACK_ATOMIC" value="(SQLITE_IOERR | (31<<8))"/>
|
||||||
|
<define name="SQLITE_LOCKED_SHAREDCACHE" value="(SQLITE_LOCKED | (1<<8))"/>
|
||||||
|
<define name="SQLITE_LOCKED_VTAB" value="(SQLITE_LOCKED | (2<<8))"/>
|
||||||
|
<define name="SQLITE_BUSY_RECOVERY" value="(SQLITE_BUSY | (1<<8))"/>
|
||||||
|
<define name="SQLITE_BUSY_SNAPSHOT" value="(SQLITE_BUSY | (2<<8))"/>
|
||||||
|
<define name="SQLITE_CANTOPEN_NOTEMPDIR" value="(SQLITE_CANTOPEN | (1<<8))"/>
|
||||||
|
<define name="SQLITE_CANTOPEN_ISDIR" value="(SQLITE_CANTOPEN | (2<<8))"/>
|
||||||
|
<define name="SQLITE_CANTOPEN_FULLPATH" value="(SQLITE_CANTOPEN | (3<<8))"/>
|
||||||
|
<define name="SQLITE_CANTOPEN_CONVPATH" value="(SQLITE_CANTOPEN | (4<<8))"/>
|
||||||
|
<define name="SQLITE_CANTOPEN_DIRTYWAL" value="(SQLITE_CANTOPEN | (5<<8))"/>
|
||||||
|
<define name="SQLITE_CORRUPT_VTAB" value="(SQLITE_CORRUPT | (1<<8))"/>
|
||||||
|
<define name="SQLITE_CORRUPT_SEQUENCE" value="(SQLITE_CORRUPT | (2<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_RECOVERY" value="(SQLITE_READONLY | (1<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_CANTLOCK" value="(SQLITE_READONLY | (2<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_ROLLBACK" value="(SQLITE_READONLY | (3<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_DBMOVED" value="(SQLITE_READONLY | (4<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_CANTINIT" value="(SQLITE_READONLY | (5<<8))"/>
|
||||||
|
<define name="SQLITE_READONLY_DIRECTORY" value="(SQLITE_READONLY | (6<<8))"/>
|
||||||
|
<define name="SQLITE_ABORT_ROLLBACK" value="(SQLITE_ABORT | (2<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_CHECK" value="(SQLITE_CONSTRAINT | (1<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_COMMITHOOK" value="(SQLITE_CONSTRAINT | (2<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_FOREIGNKEY" value="(SQLITE_CONSTRAINT | (3<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_FUNCTION" value="(SQLITE_CONSTRAINT | (4<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_NOTNULL" value="(SQLITE_CONSTRAINT | (5<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_PRIMARYKEY" value="(SQLITE_CONSTRAINT | (6<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_TRIGGER" value="(SQLITE_CONSTRAINT | (7<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_UNIQUE" value="(SQLITE_CONSTRAINT | (8<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_VTAB" value="(SQLITE_CONSTRAINT | (9<<8))"/>
|
||||||
|
<define name="SQLITE_CONSTRAINT_ROWID" value="(SQLITE_CONSTRAINT |(10<<8))"/>
|
||||||
|
<define name="SQLITE_NOTICE_RECOVER_WAL" value="(SQLITE_NOTICE | (1<<8))"/>
|
||||||
|
<define name="SQLITE_NOTICE_RECOVER_ROLLBACK" value="(SQLITE_NOTICE | (2<<8))"/>
|
||||||
|
<define name="SQLITE_WARNING_AUTOINDEX" value="(SQLITE_WARNING | (1<<8))"/>
|
||||||
|
<define name="SQLITE_AUTH_USER" value="(SQLITE_AUTH | (1<<8))"/>
|
||||||
|
<define name="SQLITE_OK_LOAD_PERMANENTLY" value="(SQLITE_OK | (1<<8))"/>
|
||||||
|
<!-- Flags for the xAccess VFS method -->
|
||||||
|
<define name="SQLITE_ACCESS_EXISTS" value="0"/>
|
||||||
|
<define name="SQLITE_ACCESS_READWRITE" value="1"/>
|
||||||
|
<define name="SQLITE_ACCESS_READ" value="2"/>
|
||||||
|
<!-- Authorizer Action Codes -->
|
||||||
|
<define name="SQLITE_CREATE_INDEX" value="1"/>
|
||||||
|
<define name="SQLITE_CREATE_TABLE" value="2"/>
|
||||||
|
<define name="SQLITE_CREATE_TEMP_INDEX" value="3"/>
|
||||||
|
<define name="SQLITE_CREATE_TEMP_TABLE" value="4"/>
|
||||||
|
<define name="SQLITE_CREATE_TEMP_TRIGGER" value="5"/>
|
||||||
|
<define name="SQLITE_CREATE_TEMP_VIEW" value="6"/>
|
||||||
|
<define name="SQLITE_CREATE_TRIGGER" value="7"/>
|
||||||
|
<define name="SQLITE_CREATE_VIEW" value="8"/>
|
||||||
|
<define name="SQLITE_DELETE" value="9"/>
|
||||||
|
<define name="SQLITE_DROP_INDEX" value="10"/>
|
||||||
|
<define name="SQLITE_DROP_TABLE" value="11"/>
|
||||||
|
<define name="SQLITE_DROP_TEMP_INDEX" value="12"/>
|
||||||
|
<define name="SQLITE_DROP_TEMP_TABLE" value="13"/>
|
||||||
|
<define name="SQLITE_DROP_TEMP_TRIGGER" value="14"/>
|
||||||
|
<define name="SQLITE_DROP_TEMP_VIEW" value="15"/>
|
||||||
|
<define name="SQLITE_DROP_TRIGGER" value="16"/>
|
||||||
|
<define name="SQLITE_DROP_VIEW" value="17"/>
|
||||||
|
<define name="SQLITE_INSERT" value="18"/>
|
||||||
|
<define name="SQLITE_PRAGMA" value="19"/>
|
||||||
|
<define name="SQLITE_READ" value="20"/>
|
||||||
|
<define name="SQLITE_SELECT" value="21"/>
|
||||||
|
<define name="SQLITE_TRANSACTION" value="22"/>
|
||||||
|
<define name="SQLITE_UPDATE" value="23"/>
|
||||||
|
<define name="SQLITE_ATTACH" value="24"/>
|
||||||
|
<define name="SQLITE_DETACH" value="25"/>
|
||||||
|
<define name="SQLITE_ALTER_TABLE" value="26"/>
|
||||||
|
<define name="SQLITE_REINDEX" value="27"/>
|
||||||
|
<define name="SQLITE_ANALYZE" value="28"/>
|
||||||
|
<define name="SQLITE_CREATE_VTABLE" value="29"/>
|
||||||
|
<define name="SQLITE_DROP_VTABLE" value="30"/>
|
||||||
|
<define name="SQLITE_FUNCTION" value="31"/>
|
||||||
|
<define name="SQLITE_SAVEPOINT" value="32"/>
|
||||||
|
<define name="SQLITE_COPY" value="0"/>
|
||||||
|
<define name="SQLITE_RECURSIVE" value="33"/>
|
||||||
|
<!-- Text Encodings -->
|
||||||
|
<define name="SQLITE_UTF8" value="1"/>
|
||||||
|
<define name="SQLITE_UTF16LE" value="2"/>
|
||||||
|
<define name="SQLITE_UTF16BE" value="3"/>
|
||||||
|
<define name="SQLITE_UTF16" value="4"/>
|
||||||
|
<define name="SQLITE_ANY" value="5"/>
|
||||||
|
<define name="SQLITE_UTF16_ALIGNED" value="8"/>
|
||||||
|
<!-- Fundamental Datatypes -->
|
||||||
|
<define name="SQLITE_INTEGER" value="1"/>
|
||||||
|
<define name="SQLITE_FLOAT" value="2"/>
|
||||||
|
<define name="SQLITE_BLOB" value="4"/>
|
||||||
|
<define name="SQLITE_NULL" value="5"/>
|
||||||
|
<define name="SQLITE_TEXT" value="3"/>
|
||||||
|
<define name="SQLITE3_TEXT" value="3"/>
|
||||||
|
<!-- Checkpoint Mode Values -->
|
||||||
|
<define name="SQLITE_CHECKPOINT_PASSIVE" value="0"/>
|
||||||
|
<define name="SQLITE_CHECKPOINT_FULL" value="1"/>
|
||||||
|
<define name="SQLITE_CHECKPOINT_RESTART" value="2"/>
|
||||||
|
<define name="SQLITE_CHECKPOINT_TRUNCATE" value="3"/>
|
||||||
|
<!-- Configuration Options -->
|
||||||
|
<define name="SQLITE_CONFIG_SINGLETHREAD" value="1"/>
|
||||||
|
<define name="SQLITE_CONFIG_MULTITHREAD" value="2"/>
|
||||||
|
<define name="SQLITE_CONFIG_SERIALIZED" value="3"/>
|
||||||
|
<define name="SQLITE_CONFIG_MALLOC" value="4"/>
|
||||||
|
<define name="SQLITE_CONFIG_GETMALLOC" value="5"/>
|
||||||
|
<define name="SQLITE_CONFIG_SCRATCH" value="6"/>
|
||||||
|
<define name="SQLITE_CONFIG_PAGECACHE" value="7"/>
|
||||||
|
<define name="SQLITE_CONFIG_HEAP" value="8"/>
|
||||||
|
<define name="SQLITE_CONFIG_MEMSTATUS" value="9"/>
|
||||||
|
<define name="SQLITE_CONFIG_MUTEX" value="10"/>
|
||||||
|
<define name="SQLITE_CONFIG_GETMUTEX" value="11"/>
|
||||||
|
<define name="SQLITE_CONFIG_CHUNKALLOC" value="12"/>
|
||||||
|
<define name="SQLITE_CONFIG_LOOKASIDE" value="13"/>
|
||||||
|
<define name="SQLITE_CONFIG_PCACHE" value="14"/>
|
||||||
|
<define name="SQLITE_CONFIG_GETPCACHE" value="15"/>
|
||||||
|
<define name="SQLITE_CONFIG_LOG" value="16"/>
|
||||||
|
<define name="SQLITE_CONFIG_URI" value="17"/>
|
||||||
|
<define name="SQLITE_CONFIG_PCACHE2" value="18"/>
|
||||||
|
<define name="SQLITE_CONFIG_GETPCACHE2" value="19"/>
|
||||||
|
<define name="SQLITE_CONFIG_COVERING_INDEX_SCAN" value="20"/>
|
||||||
|
<define name="SQLITE_CONFIG_SQLLOG" value="21"/>
|
||||||
|
<define name="SQLITE_CONFIG_MMAP_SIZE" value="22"/>
|
||||||
|
<define name="SQLITE_CONFIG_WIN32_HEAPSIZE" value="23"/>
|
||||||
|
<define name="SQLITE_CONFIG_PCACHE_HDRSZ" value="24"/>
|
||||||
|
<define name="SQLITE_CONFIG_PMASZ" value="25"/>
|
||||||
|
<define name="SQLITE_CONFIG_STMTJRNL_SPILL" value="26"/>
|
||||||
|
<define name="SQLITE_CONFIG_SMALL_MALLOC" value="27"/>
|
||||||
|
<define name="SQLITE_CONFIG_SORTERREF_SIZE" value="28"/>
|
||||||
|
<define name="SQLITE_CONFIG_MEMDB_MAXSIZE" value="29"/>
|
||||||
|
<!-- Database Connection Configuration Options -->
|
||||||
|
<define name="SQLITE_DBCONFIG_MAINDBNAME" value="1000"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_LOOKASIDE" value="1001"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_ENABLE_FKEY" value="1002"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_ENABLE_TRIGGER" value="1003"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER" value="1004"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION" value="1005"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE" value="1006"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_ENABLE_QPSG" value="1007"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_TRIGGER_EQP" value="1008"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_RESET_DATABASE" value="1009"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_DEFENSIVE" value="1010"/>
|
||||||
|
<define name="SQLITE_DBCONFIG_MAX" value="1010"/>
|
||||||
|
<!-- Authorizer Return Codes -->
|
||||||
|
<define name="SQLITE_DENY" value="1"/>
|
||||||
|
<define name="SQLITE_IGNORE" value="2"/>
|
||||||
|
<!-- Flags for sqlite3_deserialize() -->
|
||||||
|
<define name="SQLITE_DESERIALIZE_FREEONCLOSE" value="1"/>
|
||||||
|
<define name="SQLITE_DESERIALIZE_RESIZEABLE" value="2"/>
|
||||||
|
<define name="SQLITE_DESERIALIZE_READONLY" value="4"/>
|
||||||
|
<!-- Conflict resolution modes -->
|
||||||
|
<define name="SQLITE_ROLLBACK" value="1"/>
|
||||||
|
<define name="SQLITE_FAIL" value="3"/>
|
||||||
|
<define name="SQLITE_REPLACE" value="5"/>
|
||||||
|
<!-- Standard File Control Opcodes -->
|
||||||
|
<define name="SQLITE_FCNTL_LOCKSTATE" value="1"/>
|
||||||
|
<define name="SQLITE_FCNTL_GET_LOCKPROXYFILE" value="2"/>
|
||||||
|
<define name="SQLITE_FCNTL_SET_LOCKPROXYFILE" value="3"/>
|
||||||
|
<define name="SQLITE_FCNTL_LAST_ERRNO" value="4"/>
|
||||||
|
<define name="SQLITE_FCNTL_SIZE_HINT" value="5"/>
|
||||||
|
<define name="SQLITE_FCNTL_CHUNK_SIZE" value="6"/>
|
||||||
|
<define name="SQLITE_FCNTL_FILE_POINTER" value="7"/>
|
||||||
|
<define name="SQLITE_FCNTL_SYNC_OMITTED" value="8"/>
|
||||||
|
<define name="SQLITE_FCNTL_WIN32_AV_RETRY" value="9"/>
|
||||||
|
<define name="SQLITE_FCNTL_PERSIST_WAL" value="10"/>
|
||||||
|
<define name="SQLITE_FCNTL_OVERWRITE" value="11"/>
|
||||||
|
<define name="SQLITE_FCNTL_VFSNAME" value="12"/>
|
||||||
|
<define name="SQLITE_FCNTL_POWERSAFE_OVERWRITE" value="13"/>
|
||||||
|
<define name="SQLITE_FCNTL_PRAGMA" value="14"/>
|
||||||
|
<define name="SQLITE_FCNTL_BUSYHANDLER" value="15"/>
|
||||||
|
<define name="SQLITE_FCNTL_TEMPFILENAME" value="16"/>
|
||||||
|
<define name="SQLITE_FCNTL_MMAP_SIZE" value="18"/>
|
||||||
|
<define name="SQLITE_FCNTL_TRACE" value="19"/>
|
||||||
|
<define name="SQLITE_FCNTL_HAS_MOVED" value="20"/>
|
||||||
|
<define name="SQLITE_FCNTL_SYNC" value="21"/>
|
||||||
|
<define name="SQLITE_FCNTL_COMMIT_PHASETWO" value="22"/>
|
||||||
|
<define name="SQLITE_FCNTL_WIN32_SET_HANDLE" value="23"/>
|
||||||
|
<define name="SQLITE_FCNTL_WAL_BLOCK" value="24"/>
|
||||||
|
<define name="SQLITE_FCNTL_ZIPVFS" value="25"/>
|
||||||
|
<define name="SQLITE_FCNTL_RBU" value="26"/>
|
||||||
|
<define name="SQLITE_FCNTL_VFS_POINTER" value="27"/>
|
||||||
|
<define name="SQLITE_FCNTL_JOURNAL_POINTER" value="28"/>
|
||||||
|
<define name="SQLITE_FCNTL_WIN32_GET_HANDLE" value="29"/>
|
||||||
|
<define name="SQLITE_FCNTL_PDB" value="30"/>
|
||||||
|
<define name="SQLITE_FCNTL_BEGIN_ATOMIC_WRITE" value="31"/>
|
||||||
|
<define name="SQLITE_FCNTL_COMMIT_ATOMIC_WRITE" value="32"/>
|
||||||
|
<define name="SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE" value="33"/>
|
||||||
|
<define name="SQLITE_FCNTL_LOCK_TIMEOUT" value="34"/>
|
||||||
|
<define name="SQLITE_FCNTL_DATA_VERSION" value="35"/>
|
||||||
|
<define name="SQLITE_FCNTL_SIZE_LIMIT" value="36"/>
|
||||||
|
<!-- Virtual Table Constraint Operator Codes -->
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_EQ" value="2"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_GT" value="4"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_LE" value="8"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_LT" value="16"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_GE" value="32"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_MATCH" value="64"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_LIKE" value="65"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_GLOB" value="66"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_REGEXP" value="67"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_NE" value="68"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_ISNOT" value="69"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_ISNOTNULL" value="70"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_ISNULL" value="71"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_IS" value="72"/>
|
||||||
|
<define name="SQLITE_INDEX_CONSTRAINT_FUNCTION" value="150"/>
|
||||||
|
<!-- Device Characteristics -->
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC" value="0x00000001"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC512" value="0x00000002"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC1K" value="0x00000004"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC2K" value="0x00000008"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC4K" value="0x00000010"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC8K" value="0x00000020"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC16K" value="0x00000040"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC32K" value="0x00000080"/>
|
||||||
|
<define name="SQLITE_IOCAP_ATOMIC64K" value="0x00000100"/>
|
||||||
|
<define name="SQLITE_IOCAP_SAFE_APPEND" value="0x00000200"/>
|
||||||
|
<define name="SQLITE_IOCAP_SEQUENTIAL" value="0x00000400"/>
|
||||||
|
<define name="SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN" value="0x00000800"/>
|
||||||
|
<define name="SQLITE_IOCAP_POWERSAFE_OVERWRITE" value="0x00001000"/>
|
||||||
|
<define name="SQLITE_IOCAP_IMMUTABLE" value="0x00002000"/>
|
||||||
|
<define name="SQLITE_IOCAP_BATCH_ATOMIC" value="0x00004000"/>
|
||||||
|
<!-- File Locking Levels -->
|
||||||
|
<define name="SQLITE_LOCK_NONE" value="0"/>
|
||||||
|
<define name="SQLITE_LOCK_SHARED" value="1"/>
|
||||||
|
<define name="SQLITE_LOCK_RESERVED" value="2"/>
|
||||||
|
<define name="SQLITE_LOCK_PENDING" value="3"/>
|
||||||
|
<define name="SQLITE_LOCK_EXCLUSIVE" value="4"/>
|
||||||
|
<!-- Mutex Types -->
|
||||||
|
<define name="SQLITE_MUTEX_FAST" value="0"/>
|
||||||
|
<define name="SQLITE_MUTEX_RECURSIVE" value="1"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_MASTER" value="2"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_MEM" value="3"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_MEM2" value="4"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_OPEN" value="4"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_PRNG" value="5"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_LRU" value="6"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_LRU2" value="7"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_PMEM" value="7"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_APP1" value="8"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_APP2" value="9"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_APP3" value="10"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_VFS1" value="11"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_VFS2" value="12"/>
|
||||||
|
<define name="SQLITE_MUTEX_STATIC_VFS3" value="13"/>
|
||||||
|
<!-- Flags For File Open Operations -->
|
||||||
|
<define name="SQLITE_OPEN_READONLY" value="0x00000001"/>
|
||||||
|
<define name="SQLITE_OPEN_READWRITE" value="0x00000002"/>
|
||||||
|
<define name="SQLITE_OPEN_CREATE" value="0x00000004"/>
|
||||||
|
<define name="SQLITE_OPEN_DELETEONCLOSE" value="0x00000008"/>
|
||||||
|
<define name="SQLITE_OPEN_EXCLUSIVE" value="0x00000010"/>
|
||||||
|
<define name="SQLITE_OPEN_AUTOPROXY" value="0x00000020"/>
|
||||||
|
<define name="SQLITE_OPEN_URI" value="0x00000040"/>
|
||||||
|
<define name="SQLITE_OPEN_MEMORY" value="0x00000080"/>
|
||||||
|
<define name="SQLITE_OPEN_MAIN_DB" value="0x00000100"/>
|
||||||
|
<define name="SQLITE_OPEN_TEMP_DB" value="0x00000200"/>
|
||||||
|
<define name="SQLITE_OPEN_TRANSIENT_DB" value="0x00000400"/>
|
||||||
|
<define name="SQLITE_OPEN_MAIN_JOURNAL" value="0x00000800"/>
|
||||||
|
<define name="SQLITE_OPEN_TEMP_JOURNAL" value="0x00001000"/>
|
||||||
|
<define name="SQLITE_OPEN_SUBJOURNAL" value="0x00002000"/>
|
||||||
|
<define name="SQLITE_OPEN_MASTER_JOURNAL" value="0x00004000"/>
|
||||||
|
<define name="SQLITE_OPEN_NOMUTEX" value="0x00008000"/>
|
||||||
|
<define name="SQLITE_OPEN_FULLMUTEX" value="0x00010000"/>
|
||||||
|
<define name="SQLITE_OPEN_SHAREDCACHE" value="0x00020000"/>
|
||||||
|
<define name="SQLITE_OPEN_PRIVATECACHE" value="0x00040000"/>
|
||||||
|
<define name="SQLITE_OPEN_WAL" value="0x00080000"/>
|
||||||
|
<!-- Prepare Flags -->
|
||||||
|
<define name="SQLITE_PREPARE_PERSISTENT" value="0x01"/>
|
||||||
|
<define name="SQLITE_PREPARE_NORMALIZE" value="0x02"/>
|
||||||
|
<define name="SQLITE_PREPARE_NO_VTAB" value="0x04"/>
|
||||||
|
<!-- Prepared Statement Scan Status Opcodes -->
|
||||||
|
<define name="SQLITE_SCANSTAT_NLOOP" value="0"/>
|
||||||
|
<define name="SQLITE_SCANSTAT_NVISIT" value="1"/>
|
||||||
|
<define name="SQLITE_SCANSTAT_EST" value="2"/>
|
||||||
|
<define name="SQLITE_SCANSTAT_NAME" value="3"/>
|
||||||
|
<define name="SQLITE_SCANSTAT_EXPLAIN" value="4"/>
|
||||||
|
<define name="SQLITE_SCANSTAT_SELECTID" value="5"/>
|
||||||
|
<!-- Flags for the xShmLock VFS method -->
|
||||||
|
<define name="SQLITE_SHM_UNLOCK" value="1"/>
|
||||||
|
<define name="SQLITE_SHM_LOCK" value="2"/>
|
||||||
|
<define name="SQLITE_SHM_SHARED" value="4"/>
|
||||||
|
<define name="SQLITE_SHM_EXCLUSIVE" value="8"/>
|
||||||
|
<!-- Status Parameters -->
|
||||||
|
<define name="SQLITE_STATUS_MEMORY_USED" value="0"/>
|
||||||
|
<define name="SQLITE_STATUS_PAGECACHE_USED" value="1"/>
|
||||||
|
<define name="SQLITE_STATUS_PAGECACHE_OVERFLOW" value="2"/>
|
||||||
|
<define name="SQLITE_STATUS_SCRATCH_USED" value="3"/>
|
||||||
|
<define name="SQLITE_STATUS_SCRATCH_OVERFLOW" value="4"/>
|
||||||
|
<define name="SQLITE_STATUS_MALLOC_SIZE" value="5"/>
|
||||||
|
<define name="SQLITE_STATUS_PARSER_STACK" value="6"/>
|
||||||
|
<define name="SQLITE_STATUS_PAGECACHE_SIZE" value="7"/>
|
||||||
|
<define name="SQLITE_STATUS_SCRATCH_SIZE" value="8"/>
|
||||||
|
<define name="SQLITE_STATUS_MALLOC_COUNT" value="9"/>
|
||||||
|
<!-- Synchronization Type Flags -->
|
||||||
|
<define name="SQLITE_SYNC_NORMAL" value="0x00002"/>
|
||||||
|
<define name="SQLITE_SYNC_FULL" value="0x00003"/>
|
||||||
|
<define name="SQLITE_SYNC_DATAONLY" value="0x00010"/>
|
||||||
|
<!-- Testing Interface Operation Codes -->
|
||||||
|
<define name="SQLITE_TESTCTRL_FIRST" value="5"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_PRNG_SAVE" value="5"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_PRNG_RESTORE" value="6"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_PRNG_RESET" value="7"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_BITVEC_TEST" value="8"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_FAULT_INSTALL" value="9"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS" value="10"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_PENDING_BYTE" value="11"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_ASSERT" value="12"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_ALWAYS" value="13"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_RESERVE" value="14"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_OPTIMIZATIONS" value="15"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_ISKEYWORD" value="16"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_SCRATCHMALLOC" value="17"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_INTERNAL_FUNCTIONS" value="17"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_LOCALTIME_FAULT" value="18"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_EXPLAIN_STMT" value="19"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD" value="19"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_NEVER_CORRUPT" value="20"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_VDBE_COVERAGE" value="21"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_BYTEORDER" value="22"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_ISINIT" value="23"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_SORTER_MMAP" value="24"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_IMPOSTER" value="25"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_PARSER_COVERAGE" value="26"/>
|
||||||
|
<define name="SQLITE_TESTCTRL_LAST" value="26"/>
|
||||||
|
<!-- SQL Trace Event Codes -->
|
||||||
|
<define name="SQLITE_TRACE_STMT" value="0x01"/>
|
||||||
|
<define name="SQLITE_TRACE_PROFILE" value="0x02"/>
|
||||||
|
<define name="SQLITE_TRACE_ROW" value="0x04"/>
|
||||||
|
<define name="SQLITE_TRACE_CLOSE" value="0x08"/>
|
||||||
|
<!-- Win32 Directory Types -->
|
||||||
|
<define name="SQLITE_WIN32_DATA_DIRECTORY_TYPE" value="1"/>
|
||||||
|
<define name="SQLITE_WIN32_TEMP_DIRECTORY_TYPE" value="2"/>
|
||||||
|
<!-- Run-Time Limit Categories -->
|
||||||
|
<define name="SQLITE_LIMIT_LENGTH" value="0"/>
|
||||||
|
<define name="SQLITE_LIMIT_SQL_LENGTH" value="1"/>
|
||||||
|
<define name="SQLITE_LIMIT_COLUMN" value="2"/>
|
||||||
|
<define name="SQLITE_LIMIT_EXPR_DEPTH" value="3"/>
|
||||||
|
<define name="SQLITE_LIMIT_COMPOUND_SELECT" value="4"/>
|
||||||
|
<define name="SQLITE_LIMIT_VDBE_OP" value="5"/>
|
||||||
|
<define name="SQLITE_LIMIT_FUNCTION_ARG" value="6"/>
|
||||||
|
<define name="SQLITE_LIMIT_ATTACHED" value="7"/>
|
||||||
|
<define name="SQLITE_LIMIT_LIKE_PATTERN_LENGTH" value="8"/>
|
||||||
|
<define name="SQLITE_LIMIT_VARIABLE_NUMBER" value="9"/>
|
||||||
|
<define name="SQLITE_LIMIT_TRIGGER_DEPTH" value="10"/>
|
||||||
|
<define name="SQLITE_LIMIT_WORKER_THREADS" value="11"/>
|
||||||
|
<!-- Status Parameters for database connections -->
|
||||||
|
<define name="SQLITE_DBSTATUS_LOOKASIDE_USED" value="0"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_USED" value="1"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_SCHEMA_USED" value="2"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_STMT_USED" value="3"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_LOOKASIDE_HIT" value="4"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE" value="5"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL" value="6"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_HIT" value="7"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_MISS" value="8"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_WRITE" value="9"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_DEFERRED_FKS" value="10"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_USED_SHARED" value="11"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_CACHE_SPILL" value="12"/>
|
||||||
|
<define name="SQLITE_DBSTATUS_MAX" value="12"/>
|
||||||
|
<!-- Status Parameters for prepared statements -->
|
||||||
|
<define name="SQLITE_STMTSTATUS_FULLSCAN_STEP" value="1"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_SORT" value="2"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_AUTOINDEX" value="3"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_VM_STEP" value="4"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_REPREPARE" value="5"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_RUN" value="6"/>
|
||||||
|
<define name="SQLITE_STMTSTATUS_MEMUSED" value="99"/>
|
||||||
<!-- ########## SQLite Memory Allocation / Deallocation ########## -->
|
<!-- ########## SQLite Memory Allocation / Deallocation ########## -->
|
||||||
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_free -->
|
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_free -->
|
||||||
<memory>
|
<memory>
|
||||||
|
|
Loading…
Reference in New Issue