sqlite3.h File Reference

Go to the source code of this file.

Classes

struct  sqlite3_file
struct  sqlite3_io_methods
struct  sqlite3_vfs
struct  sqlite3_mem_methods
struct  sqlite3_module
struct  sqlite3_index_info
struct  sqlite3_index_info::sqlite3_index_constraint
struct  sqlite3_index_info::sqlite3_index_orderby
struct  sqlite3_index_info::sqlite3_index_constraint_usage
struct  sqlite3_vtab
struct  sqlite3_vtab_cursor
struct  sqlite3_mutex_methods

Defines

#define __SQLITE3H__   1
#define IMPORT_C
#define EXPORT_C
#define SQLITE_EXTERN   extern
#define SQLITE_DEPRECATED
#define SQLITE_EXPERIMENTAL
#define SQLITE_VERSION   "3.6.5"
#define SQLITE_VERSION_NUMBER   3006005
#define SQLITE_OK   0
#define SQLITE_ERROR   1
#define SQLITE_INTERNAL   2
#define SQLITE_PERM   3
#define SQLITE_ABORT   4
#define SQLITE_BUSY   5
#define SQLITE_LOCKED   6
#define SQLITE_NOMEM   7
#define SQLITE_READONLY   8
#define SQLITE_INTERRUPT   9
#define SQLITE_IOERR   10
#define SQLITE_CORRUPT   11
#define SQLITE_NOTFOUND   12
#define SQLITE_FULL   13
#define SQLITE_CANTOPEN   14
#define SQLITE_PROTOCOL   15
#define SQLITE_EMPTY   16
#define SQLITE_SCHEMA   17
#define SQLITE_TOOBIG   18
#define SQLITE_CONSTRAINT   19
#define SQLITE_MISMATCH   20
#define SQLITE_MISUSE   21
#define SQLITE_NOLFS   22
#define SQLITE_AUTH   23
#define SQLITE_FORMAT   24
#define SQLITE_RANGE   25
#define SQLITE_NOTADB   26
#define SQLITE_ROW   100
#define SQLITE_DONE   101
#define SQLITE_IOERR_READ   (SQLITE_IOERR | (1<<8))
#define SQLITE_IOERR_SHORT_READ   (SQLITE_IOERR | (2<<8))
#define SQLITE_IOERR_WRITE   (SQLITE_IOERR | (3<<8))
#define SQLITE_IOERR_FSYNC   (SQLITE_IOERR | (4<<8))
#define SQLITE_IOERR_DIR_FSYNC   (SQLITE_IOERR | (5<<8))
#define SQLITE_IOERR_TRUNCATE   (SQLITE_IOERR | (6<<8))
#define SQLITE_IOERR_FSTAT   (SQLITE_IOERR | (7<<8))
#define SQLITE_IOERR_UNLOCK   (SQLITE_IOERR | (8<<8))
#define SQLITE_IOERR_RDLOCK   (SQLITE_IOERR | (9<<8))
#define SQLITE_IOERR_DELETE   (SQLITE_IOERR | (10<<8))
#define SQLITE_IOERR_BLOCKED   (SQLITE_IOERR | (11<<8))
#define SQLITE_IOERR_NOMEM   (SQLITE_IOERR | (12<<8))
#define SQLITE_IOERR_ACCESS   (SQLITE_IOERR | (13<<8))
#define SQLITE_IOERR_CHECKRESERVEDLOCK   (SQLITE_IOERR | (14<<8))
#define SQLITE_IOERR_LOCK   (SQLITE_IOERR | (15<<8))
#define SQLITE_OPEN_READONLY   0x00000001
#define SQLITE_OPEN_READWRITE   0x00000002
#define SQLITE_OPEN_CREATE   0x00000004
#define SQLITE_OPEN_DELETEONCLOSE   0x00000008
#define SQLITE_OPEN_EXCLUSIVE   0x00000010
#define SQLITE_OPEN_MAIN_DB   0x00000100
#define SQLITE_OPEN_TEMP_DB   0x00000200
#define SQLITE_OPEN_TRANSIENT_DB   0x00000400
#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800
#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000
#define SQLITE_OPEN_SUBJOURNAL   0x00002000
#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000
#define SQLITE_OPEN_NOMUTEX   0x00008000
#define SQLITE_OPEN_FULLMUTEX   0x00010000
#define SQLITE_IOCAP_ATOMIC   0x00000001
#define SQLITE_IOCAP_ATOMIC512   0x00000002
#define SQLITE_IOCAP_ATOMIC1K   0x00000004
#define SQLITE_IOCAP_ATOMIC2K   0x00000008
#define SQLITE_IOCAP_ATOMIC4K   0x00000010
#define SQLITE_IOCAP_ATOMIC8K   0x00000020
#define SQLITE_IOCAP_ATOMIC16K   0x00000040
#define SQLITE_IOCAP_ATOMIC32K   0x00000080
#define SQLITE_IOCAP_ATOMIC64K   0x00000100
#define SQLITE_IOCAP_SAFE_APPEND   0x00000200
#define SQLITE_IOCAP_SEQUENTIAL   0x00000400
#define SQLITE_LOCK_NONE   0
#define SQLITE_LOCK_SHARED   1
#define SQLITE_LOCK_RESERVED   2
#define SQLITE_LOCK_PENDING   3
#define SQLITE_LOCK_EXCLUSIVE   4
#define SQLITE_SYNC_NORMAL   0x00002
#define SQLITE_SYNC_FULL   0x00003
#define SQLITE_SYNC_DATAONLY   0x00010
#define SQLITE_FCNTL_LOCKSTATE   1
#define SQLITE_ACCESS_EXISTS   0
#define SQLITE_ACCESS_READWRITE   1
#define SQLITE_ACCESS_READ   2
#define SQLITE_CONFIG_SINGLETHREAD   1
#define SQLITE_CONFIG_MULTITHREAD   2
#define SQLITE_CONFIG_SERIALIZED   3
#define SQLITE_CONFIG_MALLOC   4
#define SQLITE_CONFIG_GETMALLOC   5
#define SQLITE_CONFIG_SCRATCH   6
#define SQLITE_CONFIG_PAGECACHE   7
#define SQLITE_CONFIG_HEAP   8
#define SQLITE_CONFIG_MEMSTATUS   9
#define SQLITE_CONFIG_MUTEX   10
#define SQLITE_CONFIG_GETMUTEX   11
#define SQLITE_CONFIG_LOOKASIDE   13
#define SQLITE_DBCONFIG_LOOKASIDE   1001
#define SQLITE_DENY   1
#define SQLITE_IGNORE   2
#define SQLITE_CREATE_INDEX   1
#define SQLITE_CREATE_TABLE   2
#define SQLITE_CREATE_TEMP_INDEX   3
#define SQLITE_CREATE_TEMP_TABLE   4
#define SQLITE_CREATE_TEMP_TRIGGER   5
#define SQLITE_CREATE_TEMP_VIEW   6
#define SQLITE_CREATE_TRIGGER   7
#define SQLITE_CREATE_VIEW   8
#define SQLITE_DELETE   9
#define SQLITE_DROP_INDEX   10
#define SQLITE_DROP_TABLE   11
#define SQLITE_DROP_TEMP_INDEX   12
#define SQLITE_DROP_TEMP_TABLE   13
#define SQLITE_DROP_TEMP_TRIGGER   14
#define SQLITE_DROP_TEMP_VIEW   15
#define SQLITE_DROP_TRIGGER   16
#define SQLITE_DROP_VIEW   17
#define SQLITE_INSERT   18
#define SQLITE_PRAGMA   19
#define SQLITE_READ   20
#define SQLITE_SELECT   21
#define SQLITE_TRANSACTION   22
#define SQLITE_UPDATE   23
#define SQLITE_ATTACH   24
#define SQLITE_DETACH   25
#define SQLITE_ALTER_TABLE   26
#define SQLITE_REINDEX   27
#define SQLITE_ANALYZE   28
#define SQLITE_CREATE_VTABLE   29
#define SQLITE_DROP_VTABLE   30
#define SQLITE_FUNCTION   31
#define SQLITE_COPY   0
#define SQLITE_LIMIT_LENGTH   0
#define SQLITE_LIMIT_SQL_LENGTH   1
#define SQLITE_LIMIT_COLUMN   2
#define SQLITE_LIMIT_EXPR_DEPTH   3
#define SQLITE_LIMIT_COMPOUND_SELECT   4
#define SQLITE_LIMIT_VDBE_OP   5
#define SQLITE_LIMIT_FUNCTION_ARG   6
#define SQLITE_LIMIT_ATTACHED   7
#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8
#define SQLITE_LIMIT_VARIABLE_NUMBER   9
#define SQLITE_INTEGER   1
#define SQLITE_FLOAT   2
#define SQLITE_BLOB   4
#define SQLITE_NULL   5
#define SQLITE_TEXT   3
#define SQLITE3_TEXT   3
#define SQLITE_UTF8   1
#define SQLITE_UTF16LE   2
#define SQLITE_UTF16BE   3
#define SQLITE_UTF16   4
#define SQLITE_ANY   5
#define SQLITE_UTF16_ALIGNED   8
#define SQLITE_STATIC   ((sqlite3_destructor_type)0)
#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)
#define SQLITE_INDEX_CONSTRAINT_EQ   2
#define SQLITE_INDEX_CONSTRAINT_GT   4
#define SQLITE_INDEX_CONSTRAINT_LE   8
#define SQLITE_INDEX_CONSTRAINT_LT   16
#define SQLITE_INDEX_CONSTRAINT_GE   32
#define SQLITE_INDEX_CONSTRAINT_MATCH   64
#define SQLITE_MUTEX_FAST   0
#define SQLITE_MUTEX_RECURSIVE   1
#define SQLITE_MUTEX_STATIC_MASTER   2
#define SQLITE_MUTEX_STATIC_MEM   3
#define SQLITE_MUTEX_STATIC_MEM2   4
#define SQLITE_MUTEX_STATIC_PRNG   5
#define SQLITE_MUTEX_STATIC_LRU   6
#define SQLITE_MUTEX_STATIC_LRU2   7
#define SQLITE_TESTCTRL_PRNG_SAVE   5
#define SQLITE_TESTCTRL_PRNG_RESTORE   6
#define SQLITE_TESTCTRL_PRNG_RESET   7
#define SQLITE_TESTCTRL_BITVEC_TEST   8
#define SQLITE_TESTCTRL_FAULT_INSTALL   9
#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10
#define SQLITE_STATUS_MEMORY_USED   0
#define SQLITE_STATUS_PAGECACHE_USED   1
#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2
#define SQLITE_STATUS_SCRATCH_USED   3
#define SQLITE_STATUS_SCRATCH_OVERFLOW   4
#define SQLITE_STATUS_MALLOC_SIZE   5
#define SQLITE_STATUS_PARSER_STACK   6
#define SQLITE_STATUS_PAGECACHE_SIZE   7
#define SQLITE_STATUS_SCRATCH_SIZE   8
#define SQLITE_DBSTATUS_LOOKASIDE_USED   0
#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1
#define SQLITE_STMTSTATUS_SORT   2

Typedefs

typedef struct sqlite3 sqlite3
typedef long long int sqlite_int64
typedef unsigned long long int sqlite_uint64
typedef sqlite_int64 sqlite3_int64
typedef sqlite_uint64 sqlite3_uint64
typedef int(* sqlite3_callback )(void *, int, char **, char **)
typedef struct sqlite3_file sqlite3_file
typedef struct sqlite3_io_methods sqlite3_io_methods
typedef struct sqlite3_mutex sqlite3_mutex
typedef struct sqlite3_vfs sqlite3_vfs
typedef struct sqlite3_mem_methods sqlite3_mem_methods
typedef struct sqlite3_stmt sqlite3_stmt
typedef struct Mem sqlite3_value
typedef struct sqlite3_context sqlite3_context
typedef void(* sqlite3_destructor_type )(void *)
typedef struct sqlite3_vtab sqlite3_vtab
typedef struct sqlite3_index_info sqlite3_index_info
typedef struct sqlite3_vtab_cursor sqlite3_vtab_cursor
typedef struct sqlite3_module sqlite3_module
typedef struct sqlite3_blob sqlite3_blob
typedef struct
sqlite3_mutex_methods 
sqlite3_mutex_methods

Functions

const char * sqlite3_libversion (void)
int sqlite3_libversion_number (void)
int sqlite3_threadsafe (void)
IMPORT_C int sqlite3_close (sqlite3 *)
IMPORT_C int sqlite3_exec (sqlite3 *, const char *sql, int(*callback)(void *, int, char **, char **), void *, char **errmsg)
int sqlite3_initialize (void)
int sqlite3_shutdown (void)
int sqlite3_os_init (void)
int sqlite3_os_end (void)
SQLITE_EXPERIMENTAL int sqlite3_config (int,...)
SQLITE_EXPERIMENTAL int sqlite3_db_config (sqlite3 *, int op,...)
IMPORT_C int sqlite3_extended_result_codes (sqlite3 *, int onoff)
sqlite3_int64 sqlite3_last_insert_rowid (sqlite3 *)
int sqlite3_changes (sqlite3 *)
int sqlite3_total_changes (sqlite3 *)
void sqlite3_interrupt (sqlite3 *)
int sqlite3_complete (const char *sql)
int sqlite3_complete16 (const void *sql)
int sqlite3_busy_handler (sqlite3 *, int(*)(void *, int), void *)
int sqlite3_busy_timeout (sqlite3 *, int ms)
int sqlite3_get_table (sqlite3 *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrmsg)
void sqlite3_free_table (char **result)
char * sqlite3_mprintf (const char *,...)
char * sqlite3_vmprintf (const char *, va_list)
char * sqlite3_snprintf (int, char *, const char *,...)
IMPORT_C void * sqlite3_malloc (int)
void * sqlite3_realloc (void *, int)
IMPORT_C void sqlite3_free (void *)
sqlite3_int64 sqlite3_memory_used (void)
sqlite3_int64 sqlite3_memory_highwater (int resetFlag)
void sqlite3_randomness (int N, void *P)
int sqlite3_set_authorizer (sqlite3 *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
SQLITE_EXPERIMENTAL void * sqlite3_trace (sqlite3 *, void(*xTrace)(void *, const char *), void *)
SQLITE_EXPERIMENTAL void * sqlite3_profile (sqlite3 *, void(*xProfile)(void *, const char *, sqlite3_uint64), void *)
void sqlite3_progress_handler (sqlite3 *, int, int(*)(void *), void *)
IMPORT_C int sqlite3_open (const char *filename, sqlite3 **ppDb)
int sqlite3_open16 (const void *filename, sqlite3 **ppDb)
int sqlite3_open_v2 (const char *filename, sqlite3 **ppDb, int flags, const char *zVfs)
int sqlite3_errcode (sqlite3 *db)
int sqlite3_extended_errcode (sqlite3 *db)
IMPORT_C const char * sqlite3_errmsg (sqlite3 *)
const void * sqlite3_errmsg16 (sqlite3 *)
int sqlite3_limit (sqlite3 *, int id, int newVal)
int sqlite3_prepare (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
int sqlite3_prepare_v2 (sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
int sqlite3_prepare16 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
int sqlite3_prepare16_v2 (sqlite3 *db, const void *zSql, int nByte, sqlite3_stmt **ppStmt, const void **pzTail)
const char * sqlite3_sql (sqlite3_stmt *pStmt)
int sqlite3_bind_blob (sqlite3_stmt *, int, const void *, int n, void(*)(void *))
int sqlite3_bind_double (sqlite3_stmt *, int, double)
int sqlite3_bind_int (sqlite3_stmt *, int, int)
int sqlite3_bind_int64 (sqlite3_stmt *, int, sqlite3_int64)
int sqlite3_bind_null (sqlite3_stmt *, int)
int sqlite3_bind_text (sqlite3_stmt *, int, const char *, int n, void(*)(void *))
int sqlite3_bind_text16 (sqlite3_stmt *, int, const void *, int, void(*)(void *))
int sqlite3_bind_value (sqlite3_stmt *, int, const sqlite3_value *)
int sqlite3_bind_zeroblob (sqlite3_stmt *, int, int n)
int sqlite3_bind_parameter_count (sqlite3_stmt *)
const char * sqlite3_bind_parameter_name (sqlite3_stmt *, int)
int sqlite3_bind_parameter_index (sqlite3_stmt *, const char *zName)
int sqlite3_clear_bindings (sqlite3_stmt *)
int sqlite3_column_count (sqlite3_stmt *pStmt)
const char * sqlite3_column_name (sqlite3_stmt *, int N)
const void * sqlite3_column_name16 (sqlite3_stmt *, int N)
const char * sqlite3_column_database_name (sqlite3_stmt *, int)
const void * sqlite3_column_database_name16 (sqlite3_stmt *, int)
const char * sqlite3_column_table_name (sqlite3_stmt *, int)
const void * sqlite3_column_table_name16 (sqlite3_stmt *, int)
const char * sqlite3_column_origin_name (sqlite3_stmt *, int)
const void * sqlite3_column_origin_name16 (sqlite3_stmt *, int)
const char * sqlite3_column_decltype (sqlite3_stmt *, int)
const void * sqlite3_column_decltype16 (sqlite3_stmt *, int)
int sqlite3_step (sqlite3_stmt *)
int sqlite3_data_count (sqlite3_stmt *pStmt)
const void * sqlite3_column_blob (sqlite3_stmt *, int iCol)
int sqlite3_column_bytes (sqlite3_stmt *, int iCol)
int sqlite3_column_bytes16 (sqlite3_stmt *, int iCol)
double sqlite3_column_double (sqlite3_stmt *, int iCol)
int sqlite3_column_int (sqlite3_stmt *, int iCol)
sqlite3_int64 sqlite3_column_int64 (sqlite3_stmt *, int iCol)
const unsigned char * sqlite3_column_text (sqlite3_stmt *, int iCol)
const void * sqlite3_column_text16 (sqlite3_stmt *, int iCol)
int sqlite3_column_type (sqlite3_stmt *, int iCol)
sqlite3_valuesqlite3_column_value (sqlite3_stmt *, int iCol)
int sqlite3_finalize (sqlite3_stmt *pStmt)
int sqlite3_reset (sqlite3_stmt *pStmt)
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 *))
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_DEPRECATED int sqlite3_aggregate_count (sqlite3_context *)
SQLITE_DEPRECATED int sqlite3_expired (sqlite3_stmt *)
SQLITE_DEPRECATED int sqlite3_transfer_bindings (sqlite3_stmt *, sqlite3_stmt *)
SQLITE_DEPRECATED int sqlite3_global_recover (void)
SQLITE_DEPRECATED void sqlite3_thread_cleanup (void)
SQLITE_DEPRECATED int sqlite3_memory_alarm (void(*)(void *, sqlite3_int64, int), void *, sqlite3_int64)
const void * sqlite3_value_blob (sqlite3_value *)
int sqlite3_value_bytes (sqlite3_value *)
int sqlite3_value_bytes16 (sqlite3_value *)
double sqlite3_value_double (sqlite3_value *)
int sqlite3_value_int (sqlite3_value *)
sqlite3_int64 sqlite3_value_int64 (sqlite3_value *)
const unsigned char * sqlite3_value_text (sqlite3_value *)
const void * sqlite3_value_text16 (sqlite3_value *)
const void * sqlite3_value_text16le (sqlite3_value *)
const void * sqlite3_value_text16be (sqlite3_value *)
int sqlite3_value_type (sqlite3_value *)
int sqlite3_value_numeric_type (sqlite3_value *)
void * sqlite3_aggregate_context (sqlite3_context *, int nBytes)
void * sqlite3_user_data (sqlite3_context *)
sqlite3sqlite3_context_db_handle (sqlite3_context *)
void * sqlite3_get_auxdata (sqlite3_context *, int N)
void sqlite3_set_auxdata (sqlite3_context *, int N, void *, void(*)(void *))
void sqlite3_result_blob (sqlite3_context *, const void *, int, void(*)(void *))
void sqlite3_result_double (sqlite3_context *, double)
void sqlite3_result_error (sqlite3_context *, const char *, int)
void sqlite3_result_error16 (sqlite3_context *, const void *, int)
void sqlite3_result_error_toobig (sqlite3_context *)
void sqlite3_result_error_nomem (sqlite3_context *)
void sqlite3_result_error_code (sqlite3_context *, int)
void sqlite3_result_int (sqlite3_context *, int)
void sqlite3_result_int64 (sqlite3_context *, sqlite3_int64)
void sqlite3_result_null (sqlite3_context *)
void sqlite3_result_text (sqlite3_context *, const char *, int, void(*)(void *))
void sqlite3_result_text16 (sqlite3_context *, const void *, int, void(*)(void *))
void sqlite3_result_text16le (sqlite3_context *, const void *, int, void(*)(void *))
void sqlite3_result_text16be (sqlite3_context *, const void *, int, void(*)(void *))
void sqlite3_result_value (sqlite3_context *, sqlite3_value *)
void sqlite3_result_zeroblob (sqlite3_context *, int n)
int sqlite3_create_collation (sqlite3 *, const char *zName, int eTextRep, void *, int(*xCompare)(void *, int, const void *, int, const void *))
int sqlite3_create_collation_v2 (sqlite3 *, const char *zName, int eTextRep, void *, int(*xCompare)(void *, int, const void *, int, const void *), void(*xDestroy)(void *))
int sqlite3_create_collation16 (sqlite3 *, const void *zName, int eTextRep, void *, int(*xCompare)(void *, int, const void *, int, const void *))
int sqlite3_collation_needed (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const char *))
int sqlite3_collation_needed16 (sqlite3 *, void *, void(*)(void *, sqlite3 *, int eTextRep, const void *))
int sqlite3_key (sqlite3 *db, const void *pKey, int nKey)
int sqlite3_rekey (sqlite3 *db, const void *pKey, int nKey)
int sqlite3_sleep (int)
int sqlite3_get_autocommit (sqlite3 *)
sqlite3sqlite3_db_handle (sqlite3_stmt *)
sqlite3_stmtsqlite3_next_stmt (sqlite3 *pDb, sqlite3_stmt *pStmt)
void * sqlite3_commit_hook (sqlite3 *, int(*)(void *), void *)
void * sqlite3_rollback_hook (sqlite3 *, void(*)(void *), void *)
void * sqlite3_update_hook (sqlite3 *, void(*)(void *, int, char const *, char const *, sqlite3_int64), void *)
int sqlite3_enable_shared_cache (int)
int sqlite3_release_memory (int)
void sqlite3_soft_heap_limit (int)
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)
int sqlite3_load_extension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
int sqlite3_enable_load_extension (sqlite3 *db, int onoff)
int sqlite3_auto_extension (void *xEntryPoint)
void sqlite3_reset_auto_extension (void)
SQLITE_EXPERIMENTAL int sqlite3_create_module (sqlite3 *db, const char *zName, const sqlite3_module *, void *)
SQLITE_EXPERIMENTAL int sqlite3_create_module_v2 (sqlite3 *db, const char *zName, const sqlite3_module *, void *, void(*xDestroy)(void *))
SQLITE_EXPERIMENTAL int sqlite3_declare_vtab (sqlite3 *, const char *zCreateTable)
SQLITE_EXPERIMENTAL int sqlite3_overload_function (sqlite3 *, const char *zFuncName, int nArg)
int sqlite3_blob_open (sqlite3 *, const char *zDb, const char *zTable, const char *zColumn, sqlite3_int64 iRow, int flags, sqlite3_blob **ppBlob)
int sqlite3_blob_close (sqlite3_blob *)
int sqlite3_blob_bytes (sqlite3_blob *)
int sqlite3_blob_read (sqlite3_blob *, void *Z, int N, int iOffset)
int sqlite3_blob_write (sqlite3_blob *, const void *z, int n, int iOffset)
sqlite3_vfssqlite3_vfs_find (const char *zVfsName)
int sqlite3_vfs_register (sqlite3_vfs *, int makeDflt)
int sqlite3_vfs_unregister (sqlite3_vfs *)
sqlite3_mutexsqlite3_mutex_alloc (int)
void sqlite3_mutex_free (sqlite3_mutex *)
void sqlite3_mutex_enter (sqlite3_mutex *)
int sqlite3_mutex_try (sqlite3_mutex *)
void sqlite3_mutex_leave (sqlite3_mutex *)
int sqlite3_mutex_held (sqlite3_mutex *)
int sqlite3_mutex_notheld (sqlite3_mutex *)
sqlite3_mutexsqlite3_db_mutex (sqlite3 *)
int sqlite3_file_control (sqlite3 *, const char *zDbName, int op, void *)
int sqlite3_test_control (int op,...)
SQLITE_EXPERIMENTAL int sqlite3_status (int op, int *pCurrent, int *pHighwater, int resetFlag)
SQLITE_EXPERIMENTAL int sqlite3_db_status (sqlite3 *, int op, int *pCur, int *pHiwtr, int resetFlg)
SQLITE_EXPERIMENTAL int sqlite3_stmt_status (sqlite3_stmt *, int op, int resetFlg)

Variables

SQLITE_EXTERN const char sqlite3_version []
SQLITE_EXTERN char * sqlite3_temp_directory

Define Documentation

#define __SQLITE3H__   1

Definition at line 48 of file sqlite3.h.

#define EXPORT_C

Definition at line 54 of file sqlite3.h.

#define IMPORT_C

Definition at line 53 of file sqlite3.h.

#define SQLITE3_TEXT   3

Definition at line 3708 of file sqlite3.h.

#define SQLITE_ABORT   4
#define SQLITE_ACCESS_EXISTS   0
#define SQLITE_ACCESS_READ   2

Definition at line 909 of file sqlite3.h.

Referenced by unixAccess().

#define SQLITE_ACCESS_READWRITE   1

Definition at line 908 of file sqlite3.h.

Referenced by sqlite3Pragma(), and unixAccess().

#define SQLITE_ALTER_TABLE   26

Definition at line 2393 of file sqlite3.h.

Referenced by auth_callback(), sqlite3AlterFinishAddColumn(), and sqlite3AlterRenameTable().

#define SQLITE_ANALYZE   28

Definition at line 2395 of file sqlite3.h.

Referenced by analyzeOneTable(), and auth_callback().

#define SQLITE_ANY   5
#define SQLITE_ATTACH   24

Definition at line 2391 of file sqlite3.h.

Referenced by auth_callback(), codeAttach(), and sqlite3Attach().

#define SQLITE_AUTH   23

Definition at line 463 of file sqlite3.h.

Referenced by sqlite3AuthCheck(), sqlite3AuthRead(), and sqlite3ErrStr().

#define SQLITE_BLOB   4
#define SQLITE_BUSY   5
#define SQLITE_CANTOPEN   14
#define SQLITE_CONFIG_GETMALLOC   5

Definition at line 1340 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_GETMUTEX   11

Definition at line 1346 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_HEAP   8

Definition at line 1343 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_LOOKASIDE   13

Definition at line 1348 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_MALLOC   4

Definition at line 1339 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_MEMSTATUS   9

Definition at line 1344 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_MULTITHREAD   2

Definition at line 1337 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_MUTEX   10

Definition at line 1345 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_PAGECACHE   7

Definition at line 1342 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_SCRATCH   6

Definition at line 1341 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_SERIALIZED   3

Definition at line 1338 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONFIG_SINGLETHREAD   1

Definition at line 1336 of file sqlite3.h.

Referenced by sqlite3_config().

#define SQLITE_CONSTRAINT   19
#define SQLITE_COPY   0

Definition at line 2399 of file sqlite3.h.

Referenced by auth_callback().

#define SQLITE_CORRUPT   11
#define SQLITE_CREATE_INDEX   1

Definition at line 2368 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3CreateIndex().

#define SQLITE_CREATE_TABLE   2

Definition at line 2369 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3StartTable().

#define SQLITE_CREATE_TEMP_INDEX   3

Definition at line 2370 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3CreateIndex().

#define SQLITE_CREATE_TEMP_TABLE   4

Definition at line 2371 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3StartTable().

#define SQLITE_CREATE_TEMP_TRIGGER   5

Definition at line 2372 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3BeginTrigger().

#define SQLITE_CREATE_TEMP_VIEW   6

Definition at line 2373 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3StartTable().

#define SQLITE_CREATE_TRIGGER   7

Definition at line 2374 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3BeginTrigger().

#define SQLITE_CREATE_VIEW   8

Definition at line 2375 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3StartTable().

#define SQLITE_CREATE_VTABLE   29

Definition at line 2396 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3VtabBeginParse().

#define SQLITE_DBCONFIG_LOOKASIDE   1001

Definition at line 1378 of file sqlite3.h.

Referenced by sqlite3_db_config().

#define SQLITE_DBSTATUS_LOOKASIDE_USED   0

Definition at line 6516 of file sqlite3.h.

Referenced by sqlite3_db_status().

#define SQLITE_DELETE   9
#define SQLITE_DENY   1
#define SQLITE_DEPRECATED

Definition at line 79 of file sqlite3.h.

#define SQLITE_DETACH   25

Definition at line 2392 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3Detach().

#define SQLITE_DONE   101
#define SQLITE_DROP_INDEX   10

Definition at line 2377 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropIndex().

#define SQLITE_DROP_TABLE   11

Definition at line 2378 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTable().

#define SQLITE_DROP_TEMP_INDEX   12

Definition at line 2379 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropIndex().

#define SQLITE_DROP_TEMP_TABLE   13

Definition at line 2380 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTable().

#define SQLITE_DROP_TEMP_TRIGGER   14

Definition at line 2381 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTriggerPtr().

#define SQLITE_DROP_TEMP_VIEW   15

Definition at line 2382 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTable().

#define SQLITE_DROP_TRIGGER   16

Definition at line 2383 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTriggerPtr().

#define SQLITE_DROP_VIEW   17

Definition at line 2384 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTable().

#define SQLITE_DROP_VTABLE   30

Definition at line 2397 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3DropTable().

#define SQLITE_EMPTY   16

Definition at line 456 of file sqlite3.h.

Referenced by btreeCursor(), sqlite3ErrStr(), sqlite3InitOne(), and sqlite3VdbeExec().

#define SQLITE_ERROR   1

Definition at line 441 of file sqlite3.h.

Referenced by attachFunc(), blobReadWrite(), block_insert(), btreeCopyFile(), btreeCreateTable(), btreeDropTable(), buildTerms(), changeTempStorage(), constructVtab(), content_exists(), deleteTerms(), fulltextNext(), fulltextQuery(), fulltextUpdate(), getTempname(), index_insert_term(), invalidateTempStorage(), loadAndGetChildrenContaining(), openDatabase(), parseQuery(), resolveAttachExpr(), segdir_count(), segdir_max_index(), segdir_span(), simpleCreate(), sql_step_statement(), sqlite3_blob_open(), sqlite3_config(), sqlite3_db_config(), sqlite3_db_status(), sqlite3_declare_vtab(), sqlite3_file_control(), sqlite3_get_table_cb(), sqlite3_result_error(), sqlite3_result_error16(), sqlite3AnalysisLoad(), sqlite3AutoLoadExtensions(), sqlite3BtreeBeginStmt(), sqlite3BtreeClearTable(), sqlite3BtreeDelete(), sqlite3BtreeInsert(), sqlite3BtreePutData(), sqlite3BtreeUpdateMeta(), sqlite3CheckCollSeq(), sqlite3CheckObjectName(), sqlite3CodeRowTrigger(), sqlite3CreateFunc(), sqlite3ErrorMsg(), sqlite3ErrStr(), sqlite3FinishCoding(), sqlite3IndexedByLookup(), sqlite3InitOne(), sqlite3LoadExtension(), sqlite3PagerCommitPhaseTwo(), sqlite3RunParser(), sqlite3RunVacuum(), sqlite3Step(), sqlite3TransferBindings(), sqlite3VdbeChangeEncoding(), sqlite3VdbeExec(), sqlite3VdbeList(), sqlite3VdbeMemFinalize(), sqlite3ViewGetColumnNames(), sqlite3VtabCallConnect(), sqlite3VtabCallCreate(), sqliteAuthBadReturnCode(), synthCollSeq(), unixFileControl(), unixFullPathname(), and vtabCallConstructor().

#define SQLITE_EXPERIMENTAL

Definition at line 80 of file sqlite3.h.

#define SQLITE_EXTERN   extern

Definition at line 63 of file sqlite3.h.

#define SQLITE_FCNTL_LOCKSTATE   1

Definition at line 737 of file sqlite3.h.

Referenced by sqlite3Pragma(), and unixFileControl().

#define SQLITE_FLOAT   2
#define SQLITE_FORMAT   24

Definition at line 464 of file sqlite3.h.

Referenced by sqlite3ErrStr().

#define SQLITE_FULL   13
#define SQLITE_FUNCTION   31

Definition at line 2398 of file sqlite3.h.

Referenced by auth_callback(), and resolveExprStep().

#define SQLITE_IGNORE   2
#define SQLITE_INDEX_CONSTRAINT_EQ   2

Definition at line 5596 of file sqlite3.h.

Referenced by bestVirtualIndex(), and fulltextBestIndex().

#define SQLITE_INDEX_CONSTRAINT_GE   32

Definition at line 5600 of file sqlite3.h.

Referenced by bestVirtualIndex().

#define SQLITE_INDEX_CONSTRAINT_GT   4

Definition at line 5597 of file sqlite3.h.

Referenced by bestVirtualIndex().

#define SQLITE_INDEX_CONSTRAINT_LE   8

Definition at line 5598 of file sqlite3.h.

Referenced by bestVirtualIndex().

#define SQLITE_INDEX_CONSTRAINT_LT   16

Definition at line 5599 of file sqlite3.h.

Referenced by bestVirtualIndex().

#define SQLITE_INDEX_CONSTRAINT_MATCH   64

Definition at line 5601 of file sqlite3.h.

Referenced by bestVirtualIndex(), and fulltextBestIndex().

#define SQLITE_INSERT   18
#define SQLITE_INTEGER   1
#define SQLITE_INTERNAL   2

Definition at line 442 of file sqlite3.h.

Referenced by sqlite3Insert().

#define SQLITE_INTERRUPT   9
#define SQLITE_IOCAP_ATOMIC   0x00000001

Definition at line 566 of file sqlite3.h.

Referenced by sqlite3PagerOpen().

#define SQLITE_IOCAP_ATOMIC16K   0x00000040

Definition at line 572 of file sqlite3.h.

#define SQLITE_IOCAP_ATOMIC1K   0x00000004

Definition at line 568 of file sqlite3.h.

#define SQLITE_IOCAP_ATOMIC2K   0x00000008

Definition at line 569 of file sqlite3.h.

#define SQLITE_IOCAP_ATOMIC32K   0x00000080

Definition at line 573 of file sqlite3.h.

#define SQLITE_IOCAP_ATOMIC4K   0x00000010

Definition at line 570 of file sqlite3.h.

#define SQLITE_IOCAP_ATOMIC512   0x00000002

Definition at line 567 of file sqlite3.h.

Referenced by sqlite3PagerOpen().

#define SQLITE_IOCAP_ATOMIC64K   0x00000100

Definition at line 574 of file sqlite3.h.

Referenced by sqlite3PagerOpen().

#define SQLITE_IOCAP_ATOMIC8K   0x00000020

Definition at line 571 of file sqlite3.h.

#define SQLITE_IOCAP_SAFE_APPEND   0x00000200

Definition at line 575 of file sqlite3.h.

Referenced by pagerStress(), syncJournal(), and writeJournalHdr().

#define SQLITE_IOCAP_SEQUENTIAL   0x00000400

Definition at line 576 of file sqlite3.h.

Referenced by syncJournal(), and vdbeCommit().

#define SQLITE_IOERR   10

Definition at line 450 of file sqlite3.h.

Referenced by findLockInfo(), getTempname(), pager_error(), sqlite3ErrStr(), and sqlite3VdbeHalt().

#define SQLITE_IOERR_ACCESS   (SQLITE_IOERR | (13<<8))

Definition at line 519 of file sqlite3.h.

Referenced by unixAccess().

#define SQLITE_IOERR_BLOCKED   (SQLITE_IOERR | (11<<8))
#define SQLITE_IOERR_CHECKRESERVEDLOCK   (SQLITE_IOERR | (14<<8))

Definition at line 520 of file sqlite3.h.

Referenced by sqliteErrorFromPosixError(), and unixCheckReservedLock().

#define SQLITE_IOERR_DELETE   (SQLITE_IOERR | (10<<8))

Definition at line 516 of file sqlite3.h.

Referenced by unixDelete().

#define SQLITE_IOERR_DIR_FSYNC   (SQLITE_IOERR | (5<<8))

Definition at line 511 of file sqlite3.h.

Referenced by unixDelete().

#define SQLITE_IOERR_FSTAT   (SQLITE_IOERR | (7<<8))

Definition at line 513 of file sqlite3.h.

Referenced by unixFileSize().

#define SQLITE_IOERR_FSYNC   (SQLITE_IOERR | (4<<8))

Definition at line 510 of file sqlite3.h.

Referenced by unixSync().

#define SQLITE_IOERR_LOCK   (SQLITE_IOERR | (15<<8))

Definition at line 521 of file sqlite3.h.

Referenced by sqliteErrorFromPosixError(), and unixLock().

#define SQLITE_IOERR_NOMEM   (SQLITE_IOERR | (12<<8))
#define SQLITE_IOERR_RDLOCK   (SQLITE_IOERR | (9<<8))

Definition at line 515 of file sqlite3.h.

Referenced by sqliteErrorFromPosixError(), and unixUnlock().

#define SQLITE_IOERR_READ   (SQLITE_IOERR | (1<<8))

Definition at line 507 of file sqlite3.h.

Referenced by unixRead().

#define SQLITE_IOERR_SHORT_READ   (SQLITE_IOERR | (2<<8))

Definition at line 508 of file sqlite3.h.

Referenced by readDbPage(), sqlite3PagerAcquire(), sqlite3PagerReadFileheader(), and unixRead().

#define SQLITE_IOERR_TRUNCATE   (SQLITE_IOERR | (6<<8))

Definition at line 512 of file sqlite3.h.

Referenced by unixTruncate().

#define SQLITE_IOERR_UNLOCK   (SQLITE_IOERR | (8<<8))

Definition at line 514 of file sqlite3.h.

Referenced by sqliteErrorFromPosixError(), unixLock(), and unixUnlock().

#define SQLITE_IOERR_WRITE   (SQLITE_IOERR | (3<<8))

Definition at line 509 of file sqlite3.h.

Referenced by unixWrite().

#define SQLITE_LIMIT_ATTACHED   7

Definition at line 2869 of file sqlite3.h.

Referenced by attachFunc().

#define SQLITE_LIMIT_COLUMN   2
#define SQLITE_LIMIT_COMPOUND_SELECT   4

Definition at line 2866 of file sqlite3.h.

Referenced by sqlite3Select().

#define SQLITE_LIMIT_EXPR_DEPTH   3

Definition at line 2865 of file sqlite3.h.

#define SQLITE_LIMIT_FUNCTION_ARG   6

Definition at line 2868 of file sqlite3.h.

#define SQLITE_LIMIT_LENGTH   0
#define SQLITE_LIMIT_LIKE_PATTERN_LENGTH   8

Definition at line 2870 of file sqlite3.h.

Referenced by likeFunc().

#define SQLITE_LIMIT_SQL_LENGTH   1

Definition at line 2863 of file sqlite3.h.

Referenced by sqlite3Prepare(), and sqlite3RunParser().

#define SQLITE_LIMIT_VARIABLE_NUMBER   9

Definition at line 2871 of file sqlite3.h.

Referenced by sqlite3ExprAssignVarNumber().

#define SQLITE_LIMIT_VDBE_OP   5

Definition at line 2867 of file sqlite3.h.

#define SQLITE_LOCK_EXCLUSIVE   4

Definition at line 589 of file sqlite3.h.

#define SQLITE_LOCK_NONE   0

Definition at line 585 of file sqlite3.h.

Referenced by unixFileControl().

#define SQLITE_LOCK_PENDING   3

Definition at line 588 of file sqlite3.h.

#define SQLITE_LOCK_RESERVED   2

Definition at line 587 of file sqlite3.h.

#define SQLITE_LOCK_SHARED   1

Definition at line 586 of file sqlite3.h.

#define SQLITE_LOCKED   6
#define SQLITE_MISMATCH   20

Definition at line 460 of file sqlite3.h.

Referenced by sqlite3ErrStr(), and sqlite3VdbeExec().

#define SQLITE_MISUSE   21
#define SQLITE_MUTEX_FAST   0

Definition at line 6281 of file sqlite3.h.

Referenced by sqlite3BtreeOpen().

#define SQLITE_MUTEX_RECURSIVE   1

Definition at line 6282 of file sqlite3.h.

Referenced by openDatabase(), and sqlite3_initialize().

#define SQLITE_MUTEX_STATIC_LRU   6

Definition at line 6287 of file sqlite3.h.

Referenced by sqlite3PcacheInitialize().

#define SQLITE_MUTEX_STATIC_LRU2   7

Definition at line 6288 of file sqlite3.h.

#define SQLITE_MUTEX_STATIC_MASTER   2
#define SQLITE_MUTEX_STATIC_MEM   3

Definition at line 6284 of file sqlite3.h.

Referenced by sqlite3MallocInit().

#define SQLITE_MUTEX_STATIC_MEM2   4

Definition at line 6285 of file sqlite3.h.

#define SQLITE_MUTEX_STATIC_PRNG   5

Definition at line 6286 of file sqlite3.h.

Referenced by sqlite3_randomness().

#define SQLITE_NOLFS   22

Definition at line 462 of file sqlite3.h.

Referenced by findLockInfo(), and sqlite3ErrStr().

#define SQLITE_NOMEM   7

Definition at line 447 of file sqlite3.h.

Referenced by accessPayload(), addToVTrans(), attachFunc(), balance_nonroot(), balance_shallower(), bestVirtualIndex(), constructVtab(), execSql(), fillInUnixFile(), findLockInfo(), fulltextOpen(), fulltextRename(), loadSegmentLeavesInt(), lockTable(), multiSelect(), multiSelectOrderBy(), openDatabase(), pager_delmaster(), pager_open_journal(), pagerStmtBegin(), parseSpec(), pcacheRecycleOrAlloc(), pcacheResizeHash(), porterCreate(), porterNext(), porterOpen(), saveCursorPosition(), schemaIsValid(), selectColumnsFromExprList(), simpleCreate(), simpleNext(), simpleOpen(), sqlite3_auto_extension(), sqlite3_complete16(), sqlite3_errcode(), sqlite3_errmsg(), sqlite3_extended_errcode(), sqlite3_get_table(), sqlite3_get_table_cb(), sqlite3_initialize(), sqlite3_open16(), sqlite3_result_error_nomem(), sqlite3_step(), sqlite3ApiExit(), sqlite3BitvecSet(), sqlite3BtreeDelete(), sqlite3BtreeInsert(), sqlite3BtreeMoveto(), sqlite3BtreeMovetoUnpacked(), sqlite3BtreeOpen(), sqlite3CreateFunc(), sqlite3ErrStr(), sqlite3Fts2Init(), sqlite3Fts2InitHashTable(), sqlite3Fts3Init(), sqlite3Fts3InitHashTable(), sqlite3InitCallback(), sqlite3InitOne(), sqlite3LoadExtension(), sqlite3OsOpenMalloc(), sqlite3PagerBegin(), sqlite3PagerDontWrite(), sqlite3PagerOpen(), sqlite3PagerSetPagesize(), sqlite3Pragma(), sqlite3Prepare(), sqlite3RegisterBuiltinFunctions(), sqlite3Reprepare(), sqlite3RunParser(), sqlite3RunVacuum(), sqlite3StartTable(), sqlite3Step(), sqlite3TransferBindings(), sqlite3ValueFromExpr(), sqlite3VdbeChangeEncoding(), sqlite3VdbeExec(), sqlite3VdbeFifoPush(), sqlite3VdbeHalt(), sqlite3VdbeList(), sqlite3VdbeMemExpandBlob(), sqlite3VdbeMemGrow(), sqlite3VdbeMemMakeWriteable(), sqlite3VdbeMemNulTerminate(), sqlite3VdbeMemSetStr(), sqlite3VdbeMemStringify(), sqlite3VdbeMemTranslate(), sqlite3VdbeSetColName(), vdbeCommit(), and vtabCallConstructor().

#define SQLITE_NOTADB   26

Definition at line 466 of file sqlite3.h.

Referenced by lockBtree(), and sqlite3ErrStr().

#define SQLITE_NOTFOUND   12

Definition at line 452 of file sqlite3.h.

#define SQLITE_NULL   5
#define SQLITE_OK   0

Definition at line 439 of file sqlite3.h.

Referenced by accessPayload(), addToVTrans(), allocateBtreePage(), allocateCursor(), attachFunc(), auth_callback(), autoVacuumCommit(), balance(), balance_deeper(), balance_nonroot(), balance_quick(), balance_shallower(), bestVirtualIndex(), bindText(), block_delete(), block_insert(), btreeCopyFile(), btreeCreateTable(), btreeCursor(), btreeDropTable(), buildTerms(), changeTempStorage(), checkPtrmap(), checkReadLocks(), clearCell(), clearPendingTerms(), closeUnixFile(), codeAttach(), constructVtab(), content_delete(), content_exists(), content_insert(), content_select(), content_update(), copyPayload(), createCollation(), createIncrblobChannel(), createModule(), DbMain(), DbObjCmd(), decodeFlags(), defragmentPage(), deleteTerms(), do_meta_command(), docListOfTerm(), dropCell(), dump_callback(), execExecSql(), execSql(), fillInCell(), fillInUnixFile(), flushPendingTerms(), freePage(), full_fsync(), fulltextBestIndex(), fulltextClose(), fulltextColumn(), fulltextConnect(), fulltextCreate(), fulltextDestroy(), fulltextDisconnect(), fulltextFilter(), fulltextNext(), fulltextOpen(), fulltextQuery(), fulltextRowid(), fulltextUpdate(), FUNC(), getAndInitPage(), getOverflowPage(), getTempname(), hasHotJournal(), icuLoadCollation(), incrblobClose(), incrblobInput(), incrblobOutput(), incrVacuumStep(), index_delete(), index_insert(), index_insert_term(), index_update(), initPendingTerms(), insertCell(), insertTerms(), interiorWriterDestroy(), interiorWriterRootInfo(), invalidateTempStorage(), leafWriterFinalize(), leafWriterFlush(), leafWriterInternalFlush(), leafWriterRootInfo(), leafWriterStepMerge(), leavesReaderInit(), leavesReadersInit(), leavesReaderStep(), loadAndGetChildrenContaining(), loadSegment(), loadSegmentInt(), loadSegmentLeaf(), loadSegmentLeaves(), loadSegmentLeavesInt(), lockBtree(), lockBtreeWithRetry(), lockTable(), main(), memjrnlClose(), memjrnlFileSize(), memjrnlRead(), memjrnlSync(), memjrnlTruncate(), memjrnlWrite(), modifyPagePointer(), moveToChild(), moveToLeftmost(), moveToRightmost(), moveToRoot(), multiSelect(), multiSelectOrderBy(), newDatabase(), nolockCheckReservedLock(), nolockLock(), nolockUnlock(), open_db(), openDatabase(), openDirectory(), optimizeFunc(), optimizeInternal(), osUnlock(), pager_delmaster(), pager_end_transaction(), pager_error(), pager_get_content(), pager_incr_changecounter(), pager_open_journal(), pager_playback(), pager_playback_one_page(), pager_stmt_playback(), pager_truncate(), pager_unlock(), pager_wait_on_lock(), pager_write(), pager_write_pagelist(), pagerPagecount(), pagerSharedLock(), pagerStmtBegin(), pagerStress(), pagerUnlockAndRollback(), parseQuery(), parseSpec(), pcacheRecycleOrAlloc(), pcacheResizeHash(), porterClose(), porterCreate(), porterDestroy(), porterNext(), porterOpen(), ptrmapGet(), ptrmapPut(), ptrmapPutOvflPtr(), queryTableLock(), read32bits(), readJournalHdr(), readMasterJournal(), relocatePage(), resolveAttachExpr(), resolveExprStep(), run_table_dump_query(), saveAllCursors(), saveCursorPosition(), schemaIsValid(), segdir_count(), segdir_delete(), segdir_delete_all(), segdir_max_index(), segdir_set(), segdir_span(), segdirNextIndex(), segmentMerge(), selectColumnsFromExprList(), setChildPtrmaps(), setupLookaside(), simpleClose(), simpleCreate(), simpleDestroy(), simpleNext(), simpleOpen(), sql_get_leaf_statement(), sql_get_statement(), sql_single_step(), sql_single_step_statement(), sqlite3_auto_extension(), sqlite3_bind_double(), sqlite3_bind_int64(), sqlite3_bind_null(), sqlite3_bind_value(), sqlite3_bind_zeroblob(), sqlite3_blob_open(), sqlite3_busy_handler(), sqlite3_busy_timeout(), sqlite3_clear_bindings(), sqlite3_close(), sqlite3_collation_needed(), sqlite3_collation_needed16(), sqlite3_config(), sqlite3_create_collation16(), sqlite3_db_status(), sqlite3_declare_vtab(), sqlite3_enable_load_extension(), sqlite3_enable_shared_cache(), sqlite3_exec(), sqlite3_extended_result_codes(), sqlite3_finalize(), sqlite3_get_table(), sqlite3_global_recover(), sqlite3_initialize(), sqlite3_mutex_try(), sqlite3_open16(), sqlite3_os_end(), sqlite3_os_init(), sqlite3_overload_function(), sqlite3_prepare(), sqlite3_prepare16(), sqlite3_prepare16_v2(), sqlite3_prepare_v2(), sqlite3_release_memory(), sqlite3_reset(), sqlite3_reset_auto_extension(), sqlite3_set_authorizer(), sqlite3_shutdown(), sqlite3_status(), sqlite3_vfs_register(), sqlite3_vfs_unregister(), sqlite3AlterRenameTable(), sqlite3Analyze(), sqlite3AuthCheck(), sqlite3AuthRead(), sqlite3AutoLoadExtensions(), sqlite3BeginTrigger(), sqlite3BitvecSet(), sqlite3BtreeBeginStmt(), sqlite3BtreeBeginTrans(), sqlite3BtreeClearTable(), sqlite3BtreeClose(), sqlite3BtreeCloseCursor(), sqlite3BtreeCommit(), sqlite3BtreeCommitPhaseOne(), sqlite3BtreeCommitPhaseTwo(), sqlite3BtreeCommitStmt(), sqlite3BtreeCursorHasMoved(), sqlite3BtreeData(), sqlite3BtreeDataSize(), sqlite3BtreeDelete(), sqlite3BtreeFactory(), sqlite3BtreeFirst(), sqlite3BtreeGetMeta(), sqlite3BtreeGetPage(), sqlite3BtreeInitPage(), sqlite3BtreeInsert(), sqlite3BtreeIntegrityCheck(), sqlite3BtreeKey(), sqlite3BtreeKeySize(), sqlite3BtreeLast(), sqlite3BtreeLockTable(), sqlite3BtreeMovetoUnpacked(), sqlite3BtreeNext(), sqlite3BtreeOpen(), sqlite3BtreePrevious(), sqlite3BtreeRestoreCursorPosition(), sqlite3BtreeRollback(), sqlite3BtreeRollbackStmt(), sqlite3BtreeSchemaLocked(), sqlite3BtreeSetAutoVacuum(), sqlite3BtreeSetCacheSize(), sqlite3BtreeSetPageSize(), sqlite3BtreeSetSafetyLevel(), sqlite3BtreeUpdateMeta(), sqlite3CheckCollSeq(), sqlite3CheckObjectName(), sqlite3CreateFunc(), sqlite3CreateIndex(), sqlite3DeleteFrom(), sqlite3DropIndex(), sqlite3DropTrigger(), sqlite3ErrorMsg(), sqlite3ErrStr(), sqlite3FinishCoding(), sqlite3Fts2Init(), sqlite3Fts2InitHashTable(), sqlite3Fts3Init(), sqlite3Fts3InitHashTable(), sqlite3IcuInit(), sqlite3IndexedByLookup(), sqlite3Init(), sqlite3InitCallback(), sqlite3InitOne(), sqlite3LoadExtension(), sqlite3LocateTable(), sqlite3MemoryAlarm(), sqlite3MutexEnd(), sqlite3MutexInit(), sqlite3OpenTempDatabase(), sqlite3OsClose(), sqlite3OsCloseFree(), sqlite3OsOpenMalloc(), sqlite3PagerAcquire(), sqlite3PagerBegin(), sqlite3PagerClose(), sqlite3PagerCommitPhaseOne(), sqlite3PagerCommitPhaseTwo(), sqlite3PagerDontWrite(), sqlite3PagerLookup(), sqlite3PagerMovepage(), sqlite3PagerOpen(), sqlite3PagerOpentemp(), sqlite3PagerPagecount(), sqlite3PagerReadFileheader(), sqlite3PagerRef(), sqlite3PagerRollback(), sqlite3PagerSetPagesize(), sqlite3PagerStmtCommit(), sqlite3PagerStmtRollback(), sqlite3PagerSync(), sqlite3PagerTruncate(), sqlite3PagerUnref(), sqlite3PagerWrite(), sqlite3PcacheClear(), sqlite3PcacheFetch(), sqlite3PcacheInitialize(), sqlite3Pragma(), sqlite3Prepare(), sqlite3Prepare16(), sqlite3ReadSchema(), sqlite3RegisterBuiltinFunctions(), sqlite3Reindex(), sqlite3RunParser(), sqlite3RunVacuum(), sqlite3Select(), sqlite3StartTable(), sqlite3Step(), sqlite3TransferBindings(), sqlite3ValueFromExpr(), sqlite3ValueText(), sqlite3VdbeChangeEncoding(), sqlite3VdbeCursorMoveto(), sqlite3VdbeExec(), sqlite3VdbeFifoPop(), sqlite3VdbeFifoPush(), sqlite3VdbeFinalize(), sqlite3VdbeHalt(), sqlite3VdbeIdxKeyCompare(), sqlite3VdbeIdxRowid(), sqlite3VdbeList(), sqlite3VdbeMakeReady(), sqlite3VdbeMemCopy(), sqlite3VdbeMemExpandBlob(), sqlite3VdbeMemFinalize(), sqlite3VdbeMemFromBtree(), sqlite3VdbeMemGrow(), sqlite3VdbeMemHandleBom(), sqlite3VdbeMemIntegerify(), sqlite3VdbeMemMakeWriteable(), sqlite3VdbeMemNulTerminate(), sqlite3VdbeMemNumerify(), sqlite3VdbeMemRealify(), sqlite3VdbeMemSetStr(), sqlite3VdbeMemStringify(), sqlite3VdbeMemTranslate(), sqlite3VdbeReset(), sqlite3VdbeResetStepResult(), sqlite3VtabBegin(), sqlite3VtabCallConnect(), sqlite3VtabCallCreate(), sqlite3VtabCallDestroy(), sqlite3VtabCommit(), sqlite3VtabRollback(), sqlite3VtabSync(), sqliteErrorFromPosixError(), syncJournal(), synthCollSeq(), term_delete(), term_insert(), term_select(), term_select_all(), term_update(), termSelect(), tokenizeSegment(), unixAccess(), unixCheckReservedLock(), unixClose(), unixDelete(), unixFileControl(), unixFileSize(), unixFullPathname(), unixLock(), unixOpen(), unixRead(), unixSync(), unixTruncate(), unixUnlock(), unixWrite(), vdbeCommit(), vdbeUnbind(), vtabCallConstructor(), writeJournalHdr(), writeMasterJournal(), writeZeroSegment(), xferOptimization(), and zeroJournalHdr().

#define SQLITE_OPEN_CREATE   0x00000004
#define SQLITE_OPEN_DELETEONCLOSE   0x00000008
#define SQLITE_OPEN_EXCLUSIVE   0x00000010
#define SQLITE_OPEN_FULLMUTEX   0x00010000

Definition at line 544 of file sqlite3.h.

Referenced by DbMain(), and openDatabase().

#define SQLITE_OPEN_MAIN_DB   0x00000100

Definition at line 536 of file sqlite3.h.

Referenced by attachFunc(), openDatabase(), sqlite3BtreeFactory(), and unixOpen().

#define SQLITE_OPEN_MAIN_JOURNAL   0x00000800
#define SQLITE_OPEN_MASTER_JOURNAL   0x00004000

Definition at line 542 of file sqlite3.h.

Referenced by openDatabase(), pager_delmaster(), unixOpen(), and vdbeCommit().

#define SQLITE_OPEN_NOMUTEX   0x00008000

Definition at line 543 of file sqlite3.h.

Referenced by DbMain(), and openDatabase().

#define SQLITE_OPEN_READONLY   0x00000001

Definition at line 531 of file sqlite3.h.

Referenced by DbMain(), pager_delmaster(), pagerSharedLock(), sqlite3PagerOpen(), and unixOpen().

#define SQLITE_OPEN_READWRITE   0x00000002
#define SQLITE_OPEN_SUBJOURNAL   0x00002000

Definition at line 541 of file sqlite3.h.

Referenced by openDatabase(), pagerStmtBegin(), and unixOpen().

#define SQLITE_OPEN_TEMP_DB   0x00000200

Definition at line 537 of file sqlite3.h.

Referenced by openDatabase(), sqlite3BtreeFactory(), sqlite3OpenTempDatabase(), and unixOpen().

#define SQLITE_OPEN_TEMP_JOURNAL   0x00001000

Definition at line 540 of file sqlite3.h.

Referenced by openDatabase(), pager_open_journal(), and unixOpen().

#define SQLITE_OPEN_TRANSIENT_DB   0x00000400

Definition at line 538 of file sqlite3.h.

Referenced by openDatabase(), sqlite3VdbeExec(), and unixOpen().

#define SQLITE_PERM   3
#define SQLITE_PRAGMA   19

Definition at line 2386 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3Pragma().

#define SQLITE_PROTOCOL   15

Definition at line 455 of file sqlite3.h.

#define SQLITE_RANGE   25

Definition at line 465 of file sqlite3.h.

Referenced by columnMem(), sqlite3ErrStr(), and vdbeUnbind().

#define SQLITE_READ   20

Definition at line 2387 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3AuthRead().

#define SQLITE_READONLY   8
#define SQLITE_REINDEX   27

Definition at line 2394 of file sqlite3.h.

Referenced by auth_callback(), and sqlite3RefillIndex().

#define SQLITE_ROW   100
#define SQLITE_SCHEMA   17
#define SQLITE_SELECT   21

Definition at line 2388 of file sqlite3.h.

Referenced by auth_callback(), flattenSubquery(), and sqlite3Select().

#define SQLITE_STATIC   ((sqlite3_destructor_type)0)
#define SQLITE_STATUS_MALLOC_SIZE   5

Definition at line 6479 of file sqlite3.h.

Referenced by mallocWithAlarm(), and sqlite3Realloc().

#define SQLITE_STATUS_MEMORY_USED   0
#define SQLITE_STATUS_PAGECACHE_OVERFLOW   2

Definition at line 6476 of file sqlite3.h.

Referenced by pcacheFree(), and pcacheMalloc().

#define SQLITE_STATUS_PAGECACHE_SIZE   7

Definition at line 6481 of file sqlite3.h.

Referenced by pcacheMalloc().

#define SQLITE_STATUS_PAGECACHE_USED   1

Definition at line 6475 of file sqlite3.h.

Referenced by pcacheFree(), and pcacheMalloc().

#define SQLITE_STATUS_PARSER_STACK   6

Definition at line 6480 of file sqlite3.h.

Referenced by sqlite3RunParser().

#define SQLITE_STATUS_SCRATCH_OVERFLOW   4

Definition at line 6478 of file sqlite3.h.

Referenced by sqlite3ScratchFree(), and sqlite3ScratchMalloc().

#define SQLITE_STATUS_SCRATCH_SIZE   8

Definition at line 6482 of file sqlite3.h.

Referenced by sqlite3ScratchMalloc().

#define SQLITE_STATUS_SCRATCH_USED   3

Definition at line 6477 of file sqlite3.h.

Referenced by sqlite3ScratchFree(), and sqlite3ScratchMalloc().

#define SQLITE_STMTSTATUS_FULLSCAN_STEP   1

Definition at line 6567 of file sqlite3.h.

Referenced by DbObjCmd(), and sqlite3WhereBegin().

#define SQLITE_STMTSTATUS_SORT   2

Definition at line 6568 of file sqlite3.h.

Referenced by DbObjCmd(), and sqlite3VdbeExec().

#define SQLITE_SYNC_DATAONLY   0x00010

Definition at line 606 of file sqlite3.h.

Referenced by syncJournal(), unixSync(), and zeroJournalHdr().

#define SQLITE_SYNC_FULL   0x00003

Definition at line 605 of file sqlite3.h.

Referenced by sqlite3PagerSetSafetyLevel(), syncJournal(), and unixSync().

#define SQLITE_SYNC_NORMAL   0x00002

Definition at line 604 of file sqlite3.h.

Referenced by sqlite3PagerOpen(), sqlite3PagerSetSafetyLevel(), unixSync(), and vdbeCommit().

#define SQLITE_TESTCTRL_BENIGN_MALLOC_HOOKS   10

Definition at line 6362 of file sqlite3.h.

Referenced by sqlite3_test_control().

#define SQLITE_TESTCTRL_BITVEC_TEST   8

Definition at line 6360 of file sqlite3.h.

Referenced by sqlite3_test_control().

#define SQLITE_TESTCTRL_FAULT_INSTALL   9

Definition at line 6361 of file sqlite3.h.

#define SQLITE_TESTCTRL_PRNG_RESET   7

Definition at line 6359 of file sqlite3.h.

Referenced by sqlite3_test_control().

#define SQLITE_TESTCTRL_PRNG_RESTORE   6

Definition at line 6358 of file sqlite3.h.

Referenced by sqlite3_test_control().

#define SQLITE_TESTCTRL_PRNG_SAVE   5

Definition at line 6357 of file sqlite3.h.

Referenced by sqlite3_test_control().

#define SQLITE_TEXT   3
#define SQLITE_TOOBIG   18
#define SQLITE_TRANSACTION   22
#define SQLITE_TRANSIENT   ((sqlite3_destructor_type)-1)
#define SQLITE_UPDATE   23

Definition at line 2390 of file sqlite3.h.

Referenced by auth_callback(), DbUpdateHandler(), sqlite3Update(), and sqlite3VdbeExec().

#define SQLITE_UTF16   4

Definition at line 4154 of file sqlite3.h.

Referenced by createCollation(), icuLoadCollation(), sqlite3CreateFunc(), and sqlite3IcuInit().

#define SQLITE_UTF16_ALIGNED   8

Definition at line 4156 of file sqlite3.h.

Referenced by createCollation(), and sqlite3ValueText().

#define SQLITE_UTF16BE   3
#define SQLITE_UTF16LE   2
#define SQLITE_UTF8   1
#define SQLITE_VERSION   "3.6.5"

Definition at line 122 of file sqlite3.h.

#define SQLITE_VERSION_NUMBER   3006005

Definition at line 123 of file sqlite3.h.

Referenced by sqlite3_libversion_number().


Typedef Documentation

typedef struct sqlite3 sqlite3

Definition at line 209 of file sqlite3.h.

typedef struct sqlite3_blob sqlite3_blob

Definition at line 5749 of file sqlite3.h.

typedef int(* sqlite3_callback)(void *, int, char **, char **)

Definition at line 309 of file sqlite3.h.

Definition at line 3082 of file sqlite3.h.

typedef void(* sqlite3_destructor_type)(void *)

Definition at line 4467 of file sqlite3.h.

typedef struct sqlite3_file sqlite3_file

Definition at line 618 of file sqlite3.h.

Definition at line 5473 of file sqlite3.h.

Definition at line 240 of file sqlite3.h.

Definition at line 704 of file sqlite3.h.

Definition at line 1191 of file sqlite3.h.

Definition at line 5475 of file sqlite3.h.

typedef struct sqlite3_mutex sqlite3_mutex

Definition at line 749 of file sqlite3.h.

Definition at line 6226 of file sqlite3.h.

typedef struct sqlite3_stmt sqlite3_stmt

Definition at line 2767 of file sqlite3.h.

Definition at line 241 of file sqlite3.h.

typedef struct Mem sqlite3_value

Definition at line 3068 of file sqlite3.h.

typedef struct sqlite3_vfs sqlite3_vfs

Definition at line 869 of file sqlite3.h.

typedef struct sqlite3_vtab sqlite3_vtab

Definition at line 5472 of file sqlite3.h.

Definition at line 5474 of file sqlite3.h.

typedef long long int sqlite_int64

Definition at line 237 of file sqlite3.h.

typedef unsigned long long int sqlite_uint64

Definition at line 238 of file sqlite3.h.


Function Documentation

void* sqlite3_aggregate_context ( sqlite3_context ,
int  nBytes 
)
SQLITE_DEPRECATED int sqlite3_aggregate_count ( sqlite3_context  ) 

Definition at line 711 of file vdbeapi.c.

References Mem::n, sqlite3_context::pFunc, sqlite3_context::pMem, and FuncDef::xStep.

Referenced by FUNC().

int sqlite3_auto_extension ( void *  xEntryPoint  ) 
int sqlite3_bind_blob ( sqlite3_stmt ,
int  ,
const void *  ,
int  n,
void(*)(void *)   
)

Definition at line 1080 of file vdbeapi.c.

References bindText().

Referenced by block_insert(), DbObjCmd(), FUNC(), segdir_set(), term_insert(), and term_update().

int sqlite3_bind_double ( sqlite3_stmt ,
int  ,
double   
)
int sqlite3_bind_int ( sqlite3_stmt ,
int  ,
int   
)
int sqlite3_bind_int64 ( sqlite3_stmt ,
int  ,
sqlite3_int64   
)
int sqlite3_bind_null ( sqlite3_stmt ,
int   
)

Definition at line 1112 of file vdbeapi.c.

References Vdbe::db, sqlite3::mutex, sqlite3_mutex_leave, SQLITE_OK, and vdbeUnbind().

Referenced by DbObjCmd(), FUNC(), and term_insert().

int sqlite3_bind_parameter_count ( sqlite3_stmt  ) 

Definition at line 1170 of file vdbeapi.c.

References Vdbe::nVar.

Referenced by DbObjCmd(), and FUNC().

int sqlite3_bind_parameter_index ( sqlite3_stmt ,
const char *  zName 
)

Definition at line 1218 of file vdbeapi.c.

References Vdbe::azVar, createVarMap(), and Vdbe::nVar.

const char* sqlite3_bind_parameter_name ( sqlite3_stmt ,
int   
)

Definition at line 1204 of file vdbeapi.c.

References Vdbe::azVar, createVarMap(), and Vdbe::nVar.

Referenced by DbObjCmd(), and FUNC().

int sqlite3_bind_text ( sqlite3_stmt ,
int  ,
const char *  ,
int  n,
void(*)(void *)   
)
int sqlite3_bind_text16 ( sqlite3_stmt ,
int  ,
const void *  ,
int  ,
void(*)(void *)   
)

Definition at line 1131 of file vdbeapi.c.

References bindText(), and SQLITE_UTF16NATIVE.

int sqlite3_bind_value ( sqlite3_stmt ,
int  ,
const sqlite3_value  
)
int sqlite3_bind_zeroblob ( sqlite3_stmt ,
int  ,
int  n 
)
int sqlite3_blob_bytes ( sqlite3_blob  ) 

Definition at line 343 of file vdbeblob.c.

References Incrblob::nByte.

Referenced by incrblobInput(), incrblobOutput(), and incrblobSeek().

int sqlite3_blob_close ( sqlite3_blob  ) 

Definition at line 266 of file vdbeblob.c.

References Incrblob::db, Incrblob::pStmt, sqlite3_finalize(), and sqlite3DbFree().

Referenced by incrblobClose().

int sqlite3_blob_open ( sqlite3 ,
const char *  zDb,
const char *  zTable,
const char *  zColumn,
sqlite3_int64  iRow,
int  flags,
sqlite3_blob **  ppBlob 
)

Referenced by createIncrblobChannel().

int sqlite3_blob_read ( sqlite3_blob ,
void *  Z,
int  N,
int  iOffset 
)

Definition at line 326 of file vdbeblob.c.

References blobReadWrite(), and sqlite3BtreeData().

Referenced by incrblobInput().

int sqlite3_blob_write ( sqlite3_blob ,
const void *  z,
int  n,
int  iOffset 
)

Definition at line 333 of file vdbeblob.c.

References blobReadWrite(), and sqlite3BtreePutData().

Referenced by incrblobOutput().

int sqlite3_busy_handler ( sqlite3 ,
int(*)(void *, int)  ,
void *   
)
int sqlite3_busy_timeout ( sqlite3 ,
int  ms 
)
int sqlite3_changes ( sqlite3  ) 

Definition at line 520 of file main.c.

References sqlite3::nChange.

Referenced by changes(), DbObjCmd(), and FUNC().

int sqlite3_clear_bindings ( sqlite3_stmt  ) 
IMPORT_C int sqlite3_close ( sqlite3  ) 
int sqlite3_collation_needed ( sqlite3 ,
void *  ,
void(*)(void *, sqlite3 *, int eTextRep, const char *)   
)
int sqlite3_collation_needed16 ( sqlite3 ,
void *  ,
void(*)(void *, sqlite3 *, int eTextRep, const void *)   
)
const void* sqlite3_column_blob ( sqlite3_stmt ,
int  iCol 
)
int sqlite3_column_bytes ( sqlite3_stmt ,
int  iCol 
)
int sqlite3_column_bytes16 ( sqlite3_stmt ,
int  iCol 
)

Definition at line 815 of file vdbeapi.c.

References columnMallocFailure(), columnMem(), and sqlite3_value_bytes16().

int sqlite3_column_count ( sqlite3_stmt pStmt  ) 

Definition at line 720 of file vdbeapi.c.

References Vdbe::nResColumn.

Referenced by columnName(), computeColumnNames(), DbObjCmd(), do_meta_command(), FUNC(), and sqlite3_exec().

const char* sqlite3_column_database_name ( sqlite3_stmt ,
int   
)
const void* sqlite3_column_database_name16 ( sqlite3_stmt ,
int   
)
const char* sqlite3_column_decltype ( sqlite3_stmt ,
int   
)

Definition at line 945 of file vdbeapi.c.

References COLNAME_DECLTYPE, columnName(), and sqlite3_value_text().

Referenced by FUNC().

const void* sqlite3_column_decltype16 ( sqlite3_stmt ,
int   
)

Definition at line 950 of file vdbeapi.c.

References COLNAME_DECLTYPE, columnName(), and sqlite3_value_text16().

double sqlite3_column_double ( sqlite3_stmt ,
int  iCol 
)

Definition at line 820 of file vdbeapi.c.

References columnMallocFailure(), columnMem(), and sqlite3_value_double().

Referenced by DbObjCmd(), FUNC(), and push_column().

int sqlite3_column_int ( sqlite3_stmt ,
int  iCol 
)

Definition at line 825 of file vdbeapi.c.

References columnMallocFailure(), columnMem(), and sqlite3_value_int().

Referenced by FUNC(), push_column(), segdir_count(), and segdir_max_index().

sqlite3_int64 sqlite3_column_int64 ( sqlite3_stmt ,
int  iCol 
)
const char* sqlite3_column_name ( sqlite3_stmt ,
int  N 
)

Definition at line 920 of file vdbeapi.c.

References COLNAME_NAME, columnName(), and sqlite3_value_text().

Referenced by computeColumnNames(), FUNC(), l_sqlite3_row_mode(), and sqlite3_exec().

const void* sqlite3_column_name16 ( sqlite3_stmt ,
int  N 
)

Definition at line 925 of file vdbeapi.c.

References COLNAME_NAME, columnName(), and sqlite3_value_text16().

const char* sqlite3_column_origin_name ( sqlite3_stmt ,
int   
)
const void* sqlite3_column_origin_name16 ( sqlite3_stmt ,
int   
)
const char* sqlite3_column_table_name ( sqlite3_stmt ,
int   
)
const void* sqlite3_column_table_name16 ( sqlite3_stmt ,
int   
)
const unsigned char* sqlite3_column_text ( sqlite3_stmt ,
int  iCol 
)
const void* sqlite3_column_text16 ( sqlite3_stmt ,
int  iCol 
)

Definition at line 850 of file vdbeapi.c.

References columnMallocFailure(), columnMem(), and sqlite3_value_text16().

int sqlite3_column_type ( sqlite3_stmt ,
int  iCol 
)
sqlite3_value* sqlite3_column_value ( sqlite3_stmt ,
int  iCol 
)

Definition at line 840 of file vdbeapi.c.

References columnMallocFailure(), columnMem(), Mem::flags, MEM_Ephem, and MEM_Static.

Referenced by fulltextColumn().

void* sqlite3_commit_hook ( sqlite3 ,
int(*)(void *)  ,
void *   
)
int sqlite3_complete ( const char *  sql  ) 
int sqlite3_complete16 ( const void *  sql  ) 
SQLITE_EXPERIMENTAL int sqlite3_config ( int  ,
  ... 
)
sqlite3* sqlite3_context_db_handle ( sqlite3_context  ) 
int sqlite3_create_collation ( sqlite3 ,
const char *  zName,
int  eTextRep,
void *  ,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)
int sqlite3_create_collation16 ( sqlite3 ,
const void *  zName,
int  eTextRep,
void *  ,
int(*)(void *, int, const void *, int, const void *)  xCompare 
)
int sqlite3_create_collation_v2 ( sqlite3 ,
const char *  zName,
int  eTextRep,
void *  ,
int(*)(void *, int, const void *, int, const void *)  xCompare,
void(*)(void *)  xDestroy 
)
int sqlite3_create_function ( sqlite3 db,
const char *  zFunctionName,
int  nArg,
int  eTextRep,
void *  pApp,
void(*)(sqlite3_context *, int, sqlite3_value **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal 
)
int sqlite3_create_function16 ( sqlite3 db,
const void *  zFunctionName,
int  nArg,
int  eTextRep,
void *  pApp,
void(*)(sqlite3_context *, int, sqlite3_value **)  xFunc,
void(*)(sqlite3_context *, int, sqlite3_value **)  xStep,
void(*)(sqlite3_context *)  xFinal 
)
SQLITE_EXPERIMENTAL int sqlite3_create_module ( sqlite3 db,
const char *  zName,
const sqlite3_module ,
void *   
)

Definition at line 59 of file vtab.c.

References createModule().

Referenced by sqlite3Fts1Init().

SQLITE_EXPERIMENTAL int sqlite3_create_module_v2 ( sqlite3 db,
const char *  zName,
const sqlite3_module ,
void *  ,
void(*)(void *)  xDestroy 
)

Definition at line 71 of file vtab.c.

References createModule().

Referenced by sqlite3Fts2Init(), and sqlite3Fts3Init().

int sqlite3_data_count ( sqlite3_stmt pStmt  ) 

Definition at line 729 of file vdbeapi.c.

References Vdbe::nResColumn, and Vdbe::pResultSet.

Referenced by columnMem(), FUNC(), and l_sqlite3_row_mode().

SQLITE_EXPERIMENTAL int sqlite3_db_config ( sqlite3 ,
int  op,
  ... 
)

Definition at line 420 of file main.c.

References setupLookaside(), SQLITE_DBCONFIG_LOOKASIDE, and SQLITE_ERROR.

sqlite3* sqlite3_db_handle ( sqlite3_stmt  ) 

Definition at line 1278 of file vdbeapi.c.

sqlite3_mutex* sqlite3_db_mutex ( sqlite3  ) 

Definition at line 413 of file main.c.

References sqlite3::mutex.

SQLITE_EXPERIMENTAL int sqlite3_db_status ( sqlite3 ,
int  op,
int *  pCur,
int *  pHiwtr,
int  resetFlg 
)
SQLITE_EXPERIMENTAL int sqlite3_declare_vtab ( sqlite3 ,
const char *  zCreateTable 
)
int sqlite3_enable_load_extension ( sqlite3 db,
int  onoff 
)
int sqlite3_enable_shared_cache ( int   ) 

Definition at line 75 of file btree.c.

References sqlite3GlobalConfig, and SQLITE_OK.

int sqlite3_errcode ( sqlite3 db  ) 
IMPORT_C const char* sqlite3_errmsg ( sqlite3  ) 
const void* sqlite3_errmsg16 ( sqlite3  ) 
IMPORT_C int sqlite3_exec ( sqlite3 ,
const char *  sql,
int(*)(void *, int, char **, char **)  callback,
void *  ,
char **  errmsg 
)
SQLITE_DEPRECATED int sqlite3_expired ( sqlite3_stmt  ) 

Definition at line 186 of file vdbeapi.c.

References Vdbe::expired.

int sqlite3_extended_errcode ( sqlite3 db  ) 
IMPORT_C int sqlite3_extended_result_codes ( sqlite3 ,
int  onoff 
)
int sqlite3_file_control ( sqlite3 ,
const char *  zDbName,
int  op,
void *   
)
int sqlite3_finalize ( sqlite3_stmt pStmt  ) 
IMPORT_C void sqlite3_free ( void *   ) 

Definition at line 516 of file malloc.c.

References mem0, sqlite3_mutex_enter, sqlite3_mutex_leave, sqlite3GlobalConfig, sqlite3MallocSize(), sqlite3StatusAdd(), and SQLITE_STATUS_MEMORY_USED.

Referenced by balance_shallower(), bestVirtualIndex(), clearTableSpec(), constructVtab(), dataBufferDestroy(), DbMain(), DbObjCmd(), dlcDelete(), do_meta_command(), dump_callback(), freeStringArray(), fts2HashFree(), fts3HashFree(), fulltext_vtab_destroy(), fulltextClose(), fulltextFilter(), fulltextRename(), fulltextSchema(), groupConcatFinalize(), hashDestroy(), hexFunc(), interiorWriterDestroy(), invalidateOverflowCache(), loadExt(), loadSegmentLeavesInt(), lowerFunc(), memjrnlTruncate(), openDatabase(), optimizeFunc(), pager_delmaster(), pcacheFree(), pcacheResizeHash(), porterClose(), porterDestroy(), process_input(), queryClear(), quoteFunc(), randomBlob(), rehash(), releaseLockInfo(), releaseOpenCnt(), removeElementGivenHash(), replaceFunc(), run_schema_dump_query(), saveCursorPosition(), scalarFunc(), schemaIsValid(), setupLookaside(), simpleClose(), simpleCreate(), simpleDestroy(), snippetClear(), snippetText(), sql_exec(), sql_get_statement(), sql_prepare(), sqlite3_close(), sqlite3_free_table(), sqlite3_get_table(), sqlite3_get_table_cb(), sqlite3_reset_auto_extension(), sqlite3AutoLoadExtensions(), sqlite3BitvecBuiltinTest(), sqlite3BitvecDestroy(), sqlite3BtreeClearCursor(), sqlite3BtreeClose(), sqlite3BtreeIntegrityCheck(), sqlite3BtreeMovetoUnpacked(), sqlite3BtreeOpen(), sqlite3BtreeRestoreCursorPosition(), sqlite3DbFree(), sqlite3Fts2Init(), sqlite3Fts2InitHashTable(), sqlite3Fts3Init(), sqlite3Fts3InitHashTable(), sqlite3HashClear(), sqlite3HashInsert(), sqlite3InitOne(), sqlite3InvalidFunction(), sqlite3LoadExtension(), sqlite3OsCloseFree(), sqlite3OsOpenMalloc(), sqlite3PagerClose(), sqlite3PagerOpen(), sqlite3PcacheClose(), sqlite3Pragma(), sqlite3Realloc(), sqlite3RunParser(), sqlite3VdbeExec(), sqlite3VXPrintf(), tokenizeString(), trimFunc(), unixUnlock(), unlockAllTables(), upperFunc(), writeZeroSegment(), and xFree().

void sqlite3_free_table ( char **  result  ) 

Definition at line 188 of file table.c.

References sqlite3_free(), and SQLITE_PTR_TO_INT.

Referenced by do_meta_command(), and sqlite3_get_table().

int sqlite3_get_autocommit ( sqlite3  ) 

Definition at line 1832 of file main.c.

References sqlite3::autoCommit.

Referenced by DbObjCmd().

void* sqlite3_get_auxdata ( sqlite3_context ,
int  N 
)
int sqlite3_get_table ( sqlite3 db,
const char *  zSql,
char ***  pazResult,
int *  pnRow,
int *  pnColumn,
char **  pzErrmsg 
)
SQLITE_DEPRECATED int sqlite3_global_recover ( void   ) 

Definition at line 1818 of file main.c.

References SQLITE_OK.

int sqlite3_initialize ( void   ) 
void sqlite3_interrupt ( sqlite3  ) 

Definition at line 839 of file main.c.

References sqlite3::isInterrupted, and sqlite3::u1.

Referenced by DbObjCmd(), FUNC(), and sqlite3VdbeExec().

int sqlite3_key ( sqlite3 db,
const void *  pKey,
int  nKey 
)

Referenced by DbMain(), and sqlite3Pragma().

sqlite3_int64 sqlite3_last_insert_rowid ( sqlite3  ) 

Definition at line 513 of file main.c.

References sqlite3::lastRowid.

Referenced by block_insert(), DbObjCmd(), FUNC(), index_insert(), and last_insert_rowid().

const char* sqlite3_libversion ( void   ) 

Definition at line 36 of file main.c.

References sqlite3_version.

Referenced by DbObjCmd(), FUNC(), and main().

int sqlite3_libversion_number ( void   ) 

Definition at line 37 of file main.c.

References SQLITE_VERSION_NUMBER.

int sqlite3_limit ( sqlite3 ,
int  id,
int  newVal 
)

Definition at line 1418 of file main.c.

References sqlite3::aLimit, and SQLITE_N_LIMIT.

int sqlite3_load_extension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)

Definition at line 424 of file loadext.c.

References sqlite3::mutex, sqlite3_mutex_enter, sqlite3_mutex_leave, and sqlite3LoadExtension().

Referenced by do_meta_command(), and loadExt().

IMPORT_C void* sqlite3_malloc ( int   ) 
SQLITE_DEPRECATED int sqlite3_memory_alarm ( void(*)(void *, sqlite3_int64, int)  ,
void *  ,
sqlite3_int64   
)
sqlite3_int64 sqlite3_memory_highwater ( int  resetFlag  ) 

Definition at line 175 of file malloc.c.

References sqlite3_status(), and SQLITE_STATUS_MEMORY_USED.

sqlite3_int64 sqlite3_memory_used ( void   ) 

Definition at line 162 of file malloc.c.

References sqlite3_status(), and SQLITE_STATUS_MEMORY_USED.

Referenced by sqlite3_soft_heap_limit().

char* sqlite3_mprintf ( const char *  ,
  ... 
)
sqlite3_mutex* sqlite3_mutex_alloc ( int   ) 

Definition at line 77 of file mutex.c.

References sqlite3_initialize(), and sqlite3GlobalConfig.

void sqlite3_mutex_enter ( sqlite3_mutex  ) 

Definition at line 104 of file mutex.c.

References sqlite3GlobalConfig.

void sqlite3_mutex_free ( sqlite3_mutex  ) 

Definition at line 94 of file mutex.c.

References sqlite3GlobalConfig.

int sqlite3_mutex_held ( sqlite3_mutex  ) 
void sqlite3_mutex_leave ( sqlite3_mutex  ) 

Definition at line 128 of file mutex.c.

References sqlite3GlobalConfig.

int sqlite3_mutex_notheld ( sqlite3_mutex  ) 
int sqlite3_mutex_try ( sqlite3_mutex  ) 

Definition at line 114 of file mutex.c.

References sqlite3GlobalConfig, and SQLITE_OK.

sqlite3_stmt* sqlite3_next_stmt ( sqlite3 pDb,
sqlite3_stmt pStmt 
)

Definition at line 1288 of file vdbeapi.c.

References sqlite3::mutex, sqlite3::pVdbe, sqlite3_mutex_enter, and sqlite3_mutex_leave.

IMPORT_C int sqlite3_open ( const char *  filename,
sqlite3 **  ppDb 
)
int sqlite3_open16 ( const void *  filename,
sqlite3 **  ppDb 
)
int sqlite3_open_v2 ( const char *  filename,
sqlite3 **  ppDb,
int  flags,
const char *  zVfs 
)

Definition at line 1664 of file main.c.

References openDatabase().

Referenced by DbMain().

int sqlite3_os_end ( void   ) 

Definition at line 952 of file os_symbian.c.

References SQLITE_OK.

Referenced by sqlite3_shutdown().

int sqlite3_os_init ( void   ) 
SQLITE_EXPERIMENTAL int sqlite3_overload_function ( sqlite3 ,
const char *  zFuncName,
int  nArg 
)
int sqlite3_prepare ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)
int sqlite3_prepare16 ( sqlite3 db,
const void *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 786 of file prepare.c.

References sqlite3Prepare16(), and SQLITE_OK.

int sqlite3_prepare16_v2 ( sqlite3 db,
const void *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const void **  pzTail 
)

Definition at line 798 of file prepare.c.

References sqlite3Prepare16(), and SQLITE_OK.

int sqlite3_prepare_v2 ( sqlite3 db,
const char *  zSql,
int  nByte,
sqlite3_stmt **  ppStmt,
const char **  pzTail 
)

Definition at line 720 of file prepare.c.

References sqlite3LockAndPrepare(), and SQLITE_OK.

Referenced by DbObjCmd(), and sql_prepare().

SQLITE_EXPERIMENTAL void* sqlite3_profile ( sqlite3 ,
void(*)(void *, const char *, sqlite3_uint64 xProfile,
void *   
)
void sqlite3_progress_handler ( sqlite3 ,
int  ,
int(*)(void *)  ,
void *   
)
void sqlite3_randomness ( int  N,
void *  P 
)
void* sqlite3_realloc ( void *  ,
int   
)
int sqlite3_rekey ( sqlite3 db,
const void *  pKey,
int  nKey 
)

Referenced by DbObjCmd().

int sqlite3_release_memory ( int   ) 

Definition at line 63 of file malloc.c.

References SQLITE_OK.

Referenced by softHeapLimitEnforcer(), and sqlite3_soft_heap_limit().

int sqlite3_reset ( sqlite3_stmt pStmt  ) 
void sqlite3_reset_auto_extension ( void   ) 
void sqlite3_result_blob ( sqlite3_context ,
const void *  ,
int  ,
void(*)(void *)   
)
void sqlite3_result_double ( sqlite3_context ,
double   
)
void sqlite3_result_error ( sqlite3_context ,
const char *  ,
int   
)
void sqlite3_result_error16 ( sqlite3_context ,
const void *  ,
int   
)
void sqlite3_result_error_code ( sqlite3_context ,
int   
)

Definition at line 398 of file vdbeapi.c.

References sqlite3_context::isError.

Referenced by attachFunc().

void sqlite3_result_error_nomem ( sqlite3_context  ) 
void sqlite3_result_error_toobig ( sqlite3_context  ) 
void sqlite3_result_int ( sqlite3_context ,
int   
)
void sqlite3_result_int64 ( sqlite3_context ,
sqlite3_int64   
)
void sqlite3_result_null ( sqlite3_context  ) 

Definition at line 348 of file vdbeapi.c.

References Mem::db, sqlite3::mutex, sqlite3_context::s, sqlite3_mutex_held, and sqlite3VdbeMemSetNull().

Referenced by absFunc(), FUNC(), and lengthFunc().

void sqlite3_result_text ( sqlite3_context ,
const char *  ,
int  ,
void(*)(void *)   
)
void sqlite3_result_text16 ( sqlite3_context ,
const void *  ,
int  ,
void(*)(void *)   
)
void sqlite3_result_text16be ( sqlite3_context ,
const void *  ,
int  ,
void(*)(void *)   
)
void sqlite3_result_text16le ( sqlite3_context ,
const void *  ,
int  ,
void(*)(void *)   
)
void sqlite3_result_value ( sqlite3_context ,
sqlite3_value  
)
void sqlite3_result_zeroblob ( sqlite3_context ,
int  n 
)
void* sqlite3_rollback_hook ( sqlite3 ,
void(*)(void *)  ,
void *   
)
int sqlite3_set_authorizer ( sqlite3 ,
int(*)(void *, int, const char *, const char *, const char *, const char *)  xAuth,
void *  pUserData 
)
void sqlite3_set_auxdata ( sqlite3_context ,
int  N,
void *  ,
void(*)(void *)   
)
int sqlite3_shutdown ( void   ) 
int sqlite3_sleep ( int   ) 

Definition at line 1977 of file main.c.

References sqlite3_vfs_find(), and sqlite3OsSleep().

char* sqlite3_snprintf ( int  ,
char *  ,
const char *  ,
  ... 
)
void sqlite3_soft_heap_limit ( int   ) 
const char* sqlite3_sql ( sqlite3_stmt pStmt  ) 

Definition at line 65 of file vdbeaux.c.

Referenced by DbObjCmd(), and sqlite3Reprepare().

SQLITE_EXPERIMENTAL int sqlite3_status ( int  op,
int *  pCurrent,
int *  pHighwater,
int  resetFlag 
)

Definition at line 85 of file status.c.

References ArraySize, SQLITE_MISUSE, SQLITE_OK, wsdStat, and wsdStatInit.

Referenced by sqlite3_memory_highwater(), and sqlite3_memory_used().

int sqlite3_step ( sqlite3_stmt  ) 
SQLITE_EXPERIMENTAL int sqlite3_stmt_status ( sqlite3_stmt ,
int  op,
int  resetFlg 
)

Definition at line 1303 of file vdbeapi.c.

References Vdbe::aCounter.

Referenced by DbObjCmd().

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 
)
int sqlite3_test_control ( int  op,
  ... 
)
SQLITE_DEPRECATED void sqlite3_thread_cleanup ( void   ) 

Definition at line 1855 of file main.c.

int sqlite3_threadsafe ( void   ) 

Definition at line 38 of file main.c.

References SQLITE_THREADSAFE.

int sqlite3_total_changes ( sqlite3  ) 

Definition at line 527 of file main.c.

References sqlite3::nTotalChange.

Referenced by DbObjCmd(), FUNC(), and total_changes().

SQLITE_EXPERIMENTAL void* sqlite3_trace ( sqlite3 ,
void(*)(void *, const char *)  xTrace,
void *   
)

Definition at line 1016 of file main.c.

References sqlite3::mutex, sqlite3::pTraceArg, sqlite3_mutex_enter, sqlite3_mutex_leave, and sqlite3::xTrace.

Referenced by DbObjCmd(), and FUNC().

SQLITE_DEPRECATED int sqlite3_transfer_bindings ( sqlite3_stmt ,
sqlite3_stmt  
)

Definition at line 1267 of file vdbeapi.c.

References sqlite3TransferBindings().

void* sqlite3_update_hook ( sqlite3 ,
void(*)(void *, int, char const *, char const *, sqlite3_int64 ,
void *   
)
void* sqlite3_user_data ( sqlite3_context  ) 
const void* sqlite3_value_blob ( sqlite3_value  ) 
int sqlite3_value_bytes ( sqlite3_value  ) 
int sqlite3_value_bytes16 ( sqlite3_value  ) 

Definition at line 280 of file vdbeapi.c.

References sqlite3ValueBytes(), and SQLITE_UTF16NATIVE.

Referenced by icuCaseFunc16(), and sqlite3_column_bytes16().

double sqlite3_value_double ( sqlite3_value  ) 

Definition at line 283 of file vdbeapi.c.

References sqlite3VdbeRealValue().

Referenced by absFunc(), FUNC(), isDate(), roundFunc(), sqlite3_column_double(), sumStep(), and tclSqlFunc().

int sqlite3_value_int ( sqlite3_value  ) 

Definition at line 286 of file vdbeapi.c.

References sqlite3VdbeIntValue().

Referenced by FUNC(), randomBlob(), roundFunc(), sqlite3_column_int(), and substrFunc().

sqlite3_int64 sqlite3_value_int64 ( sqlite3_value  ) 
int sqlite3_value_numeric_type ( sqlite3_value  ) 

Definition at line 326 of file vdbe.c.

References applyNumericAffinity(), storeTypeInfo, and Mem::type.

Referenced by sumStep().

const unsigned char* sqlite3_value_text ( sqlite3_value  ) 
const void* sqlite3_value_text16 ( sqlite3_value  ) 
const void* sqlite3_value_text16be ( sqlite3_value  ) 

Definition at line 299 of file vdbeapi.c.

References sqlite3ValueText(), and SQLITE_UTF16BE.

const void* sqlite3_value_text16le ( sqlite3_value  ) 

Definition at line 302 of file vdbeapi.c.

References sqlite3ValueText(), and SQLITE_UTF16LE.

int sqlite3_value_type ( sqlite3_value  ) 
sqlite3_vfs* sqlite3_vfs_find ( const char *  zVfsName  ) 
int sqlite3_vfs_register ( sqlite3_vfs ,
int  makeDflt 
)
int sqlite3_vfs_unregister ( sqlite3_vfs  ) 
char* sqlite3_vmprintf ( const char *  ,
va_list   
)

Variable Documentation

SQLITE_EXTERN char* sqlite3_temp_directory

Definition at line 4924 of file sqlite3.h.

SQLITE_EXTERN const char sqlite3_version[]

Definition at line 152 of file sqlite3.h.


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:02 2011 by Doxygen 1.6.1