etc.c.sqlite3
Types 48
CAPI3REF: Database Connection Handle
The type for a callback function. This is legacy and deprecated. It is included for historical compatibility and is not documented.
CAPI3REF: Flags For File Open Operations VFS only
CAPI3REF: OS Interface Open File Handle
const(sqlite3_io_methods) *pMethods pMethodsCAPI3REF: OS Interface File Virtual Methods Object
int iVersionint function (sqlite3_file *) xCloseint function (sqlite3_file *, void *, int iAmt, sqlite3_int64 iOfst) xReadint function (sqlite3_file *, const void *, int iAmt, sqlite3_int64 iOfst) xWriteint function (sqlite3_file *, sqlite3_int64 size) xTruncateint function (sqlite3_file *, int flags) xSyncint function (sqlite3_file *, sqlite3_int64 * pSize) xFileSizeint function (sqlite3_file *, int) xLockint function (sqlite3_file *, int) xUnlockint function (sqlite3_file *, int * pResOut) xCheckReservedLockint function (sqlite3_file *, int op, void * pArg) xFileControlint function (sqlite3_file *) xSectorSizeint function (sqlite3_file *) xDeviceCharacteristicsint function (sqlite3_file *, int iPg, int pgsz, int, void * *) xShmMapint function (sqlite3_file *, int offset, int n, int flags) xShmLockvoid function (sqlite3_file *) xShmBarrierint function (sqlite3_file *, int deleteFlag) xShmUnmapint function (sqlite3_file *, sqlite3_int64 iOfst, int iAmt, void * * pp) xFetchint function (sqlite3_file *, sqlite3_int64 iOfst, void * p) xUnfetchCAPI3REF: Standard File Control Opcodes
CAPI3REF: Mutex Handle
CAPI3REF: Loadable Extension Thunk
CAPI3REF: OS Interface Object
Ditto
int iVersionint szOsFileint mxPathnamesqlite3_vfs *pNext pNextconst(char) *zName zNamevoid *pAppData pAppDataint function (sqlite3_vfs *, const char * zName, sqlite3_file *,
int flags, int * pOutFlags) xOpenint function (sqlite3_vfs *, const char * zName, int syncDir) xDeleteint function (sqlite3_vfs *, const char * zName, int flags, int * pResOut) xAccessint function (sqlite3_vfs *, const char * zName, int nOut, char * zOut) xFullPathnamevoid * function (sqlite3_vfs *, const char * zFilename) xDlOpenvoid function (sqlite3_vfs *, int nByte, char * zErrMsg) xDlErrorxDlSymReturn function (sqlite3_vfs *, void *, const char * zSymbol) *xDlSym xDlSymvoid function (sqlite3_vfs *, void *) xDlCloseint function (sqlite3_vfs *, int nByte, char * zOut) xRandomnessint function (sqlite3_vfs *, int microseconds) xSleepint function (sqlite3_vfs *, double *) xCurrentTimeint function (sqlite3_vfs *, int, char *) xGetLastErrorint function (sqlite3_vfs *, sqlite3_int64 *) xCurrentTimeInt64int function(sqlite3_vfs *, const char * zName, sqlite3_syscall_ptr) xSetSystemCallsqlite3_syscall_ptr function(sqlite3_vfs *, const char * zName) xGetSystemCallconst(char) * function(sqlite3_vfs *, const char * zName) xNextSystemCallCAPI3REF: Memory Allocation Routines
void * function (int) xMallocvoid function (void *) xFreevoid * function (void *, int) xReallocint function (void *) xSizeint function (int) xRoundupint function (void *) xInitvoid function (void *) xShutdownvoid *pAppData pAppDataCAPI3REF: SQL Statement Object
CAPI3REF: Dynamically Typed Value Object
CAPI3REF: SQL Function Context Object
CAPI3REF: Constants Defining Special Destructor Behavior
The interface to the virtual-table mechanism is currently considered to be experimental. The interface might change in incompatible ways. If this is a problem for you, do not use the interface at this time.
When the virtual-table mechanism stabilizes, we will declare the interface fixed, support it indefinitely, and remove this comment. CAPI3REF: Virtual Table Object
Ditto
int iVersionint function (sqlite3 *, void * pAux,
int argc, const char * * argv,
sqlite3_vtab * * ppVTab, char * *) xCreateint function (sqlite3 *, void * pAux,
int argc, const char * * argv,
sqlite3_vtab * * ppVTab, char * *) xConnectint function (sqlite3_vtab * pVTab, sqlite3_index_info *) xBestIndexint function (sqlite3_vtab * pVTab) xDisconnectint function (sqlite3_vtab * pVTab) xDestroyint function (sqlite3_vtab * pVTab, sqlite3_vtab_cursor * * ppCursor) xOpenint function (sqlite3_vtab_cursor *) xCloseint function (sqlite3_vtab_cursor *, int idxNum, const char * idxStr,
int argc, sqlite3_value * * argv) xFilterint function (sqlite3_vtab_cursor *) xNextint function (sqlite3_vtab_cursor *) xEofint function (sqlite3_vtab_cursor *, sqlite3_context *, int) xColumnint function (sqlite3_vtab_cursor *, sqlite3_int64 * pRowid) xRowidint function (sqlite3_vtab *, int, sqlite3_value * *, sqlite3_int64 *) xUpdateint function (sqlite3_vtab * pVTab) xBeginint function (sqlite3_vtab * pVTab) xSyncint function (sqlite3_vtab * pVTab) xCommitint function (sqlite3_vtab * pVTab) xRollbackint function (sqlite3_vtab * pVtab, int nArg, const char * zName,
mapFunction *,
void * * ppArg) xFindFunctionint function (sqlite3_vtab * pVtab, const char * zNew) xRenameint function (sqlite3_vtab * pVTab, int) xSavepointint function (sqlite3_vtab * pVTab, int) xReleaseint function (sqlite3_vtab * pVTab, int) xRollbackToint function (const char *) xShadowNameCAPI3REF: Virtual Table Indexing Information
int nConstraintsqlite3_index_constraint * aConstraintint nOrderBysqlite3_index_orderby *aOrderBy aOrderBysqlite3_index_constraint_usage *aConstraintUsage aConstraintUsageint idxNumchar *idxStr idxStrint needToFreeIdxStrint orderByConsumeddouble estimatedCostsqlite3_int64 estimatedRowsint idxFlagssqlite3_uint64 colUsedsqlite3_index_constraintsqlite3_index_orderbysqlite3_index_constraint_usageCAPI3REF: Virtual Table Instance Object
const(sqlite3_module) *pModule pModuleint nRefchar *zErrMsg zErrMsgCAPI3REF: Virtual Table Cursor Object
sqlite3_vtab *pVtab pVtabThe interface to the virtual-table mechanism defined above (back up to a comment remarkably similar to this one) is currently considered to be experimental. The interface might change in incompatible ways. If this is a problem for you, do not use the interface at this time.
When the virtual-table mechanism stabilizes, we will declare the interface fixed, support it indefinitely, and remove this comment.
CAPI3REF: Mutex Methods Object
int function () xMutexInitint function () xMutexEndsqlite3_mutex * function (int) xMutexAllocvoid function (sqlite3_mutex *) xMutexFreevoid function (sqlite3_mutex *) xMutexEnterint function (sqlite3_mutex *) xMutexTryvoid function (sqlite3_mutex *) xMutexLeaveint function (sqlite3_mutex *) xMutexHeldint function (sqlite3_mutex *) xMutexNotheldCAPI3REF: Mutex Types
CAPI3REF: Dynamic String Object
CAPI3REF: Custom Page Cache Object
CAPI3REF: Custom Page Cache Object
void *pBuf pBufvoid *pExtra pExtraCAPI3REF: Application Defined Page Cache.
int iVersionvoid *pArg pArgint function(void *) xInitvoid function(void *) xShutdownsqlite3_pcache * function(int szPage, int szExtra, int bPurgeable) xCreatevoid function(sqlite3_pcache *, int nCachesize) xCachesizeint function(sqlite3_pcache *) xPagecountsqlite3_pcache_page * function(sqlite3_pcache *, uint key, int createFlag) xFetchvoid function(sqlite3_pcache *, sqlite3_pcache_page *, int discard) xUnpinvoid function(sqlite3_pcache *, sqlite3_pcache_page *,
uint oldKey, uint newKey) xRekeyvoid function(sqlite3_pcache *, uint iLimit) xTruncatevoid function(sqlite3_pcache *) xDestroyvoid function(sqlite3_pcache *) xShrinkvoid *pArg pArgint function (void *) xInitvoid function (void *) xShutdownsqlite3_pcache * function (int szPage, int bPurgeable) xCreatevoid function (sqlite3_pcache *, int nCachesize) xCachesizeint function (sqlite3_pcache *) xPagecountvoid * function (sqlite3_pcache *, uint key, int createFlag) xFetchvoid function (sqlite3_pcache *, void *, int discard) xUnpinvoid function (sqlite3_pcache *, void *, uint oldKey, uint newKey) xRekeyvoid function (sqlite3_pcache *, uint iLimit) xTruncatevoid function (sqlite3_pcache *) xDestroyCAPI3REF: Online Backup Object
ubyte[48] hiddenA pointer to a structure of the following type is passed as the first argument to callbacks registered using rtree_geometry_callback().
void *pContext pContextint nParamdouble *aParam aParamvoid *pUser pUservoid function (void *) xDelUservoid *pContext pContextint nParamdouble *aParam aParamvoid *pUser pUservoid function(void *) xDelUserdouble *aCoord aCoorduint *anQueue anQueueint nCoordint iLevelint mxLevelsqlite3_int64 iRowiddouble rParentScoreint eParentWithinint eWithindouble rScoresqlite3_value * *apSqlParam apSqlParamInterfaces to extend FTS5.
Ditto
Ditto
const(ubyte) *a aconst(ubyte) *b bDitto
int iVersionvoid * function(Fts5Context *) xUserDataint function(Fts5Context *) xColumnCountint function(Fts5Context *, sqlite3_int64 * pnRow) xRowCountint function(Fts5Context *, int iCol, sqlite3_int64 * pnToken) xColumnTotalSizeint function(Fts5Context *,
const char * pText, int nText,
void * pCtx,
int function(void *, int, const char *, int, int, int) xToken
) xTokenizeint function(Fts5Context *) xPhraseCountint function(Fts5Context *, int iPhrase) xPhraseSizeint function(Fts5Context *, int * pnInst) xInstCountint function(Fts5Context *, int iIdx, int * piPhrase, int * piCol, int * piOff) xInstsqlite3_int64 function(Fts5Context *) xRowidint function(Fts5Context *, int iCol, const char * * pz, int * pn) xColumnTextint function(Fts5Context *, int iCol, int * pnToken) xColumnSizeint function(Fts5Context *, int iPhrase, void * pUserData,
int function(const Fts5ExtensionApi *, Fts5Context *, void *)
) xQueryPhraseint function(Fts5Context *, void * pAux, void function(void *) xDelete) xSetAuxdatavoid * function(Fts5Context *, int bClear) xGetAuxdataint function(Fts5Context *, int iPhrase, Fts5PhraseIter *, int *, int *) xPhraseFirstvoid function(Fts5Context *, Fts5PhraseIter *, int * piCol, int * piOff) xPhraseNextint function(Fts5Context *, int iPhrase, Fts5PhraseIter *, int *) xPhraseFirstColumnvoid function(Fts5Context *, Fts5PhraseIter *, int * piCol) xPhraseNextColumnDitto
int function(void *, const char * * azArg, int nArg, Fts5Tokenizer * * ppOut) xCreatevoid function(Fts5Tokenizer *) xDeleteint function(Fts5Tokenizer *,
void * pCtx,
int flags,
const char * pText, int nText,
int function(
void * pCtx,
int tflags,
const char * pToken,
int nToken,
int iStart,
int iEnd
) xToken
) xTokenizeDitto
int iVersionint function(
fts5_api * pApi,
const char * zName,
void * pContext,
fts5_tokenizer * pTokenizer,
void function(void *) xDestroy
) xCreateTokenizerint function(
fts5_api * pApi,
const char * zName,
void * * ppContext,
fts5_tokenizer * pTokenizer
) xFindTokenizerint function(
fts5_api * pApi,
const char * zName,
void * pContext,
fts5_extension_function xFunction,
void function(void *) xDestroy
) xCreateFunctionFunctions 321
int sqlite3_compileoption_used(const char * zOptName) extern(C) nothrowCAPI3REF: Run-Time Library Compilation Options Diagnosticsint sqlite3_exec(
sqlite3 *, /** An open database */
const(char) * sql, /** SQL to be evaluated */
int function (void *, int, char * *, char * *) callback, /** Callback function */
void *, /** 1st argument to callback */
char * * errmsg /** Error msg written here */
) extern(C) nothrowCAPI3REF: One-Step Query Execution Interfaceint sqlite3_db_config(sqlite3 *, int op, ...) extern(C) nothrowCAPI3REF: Configure database connectionsint sqlite3_extended_result_codes(sqlite3 *, int onoff) extern(C) nothrowCAPI3REF: Enable Or Disable Extended Result Codesvoid sqlite3_set_last_insert_rowid(sqlite3 *, sqlite3_int64) extern(C) nothrowCAPI3REF: Set the Last Insert Rowid valueint sqlite3_complete(const char * sql) extern(C) nothrowCAPI3REF: Determine If An SQL Statement Is Completeint sqlite3_busy_handler(sqlite3 *, int function (void *, int), void *) extern(C) nothrowCAPI3REF: Register A Callback To Handle SQLITE_BUSY Errorsint sqlite3_get_table(
sqlite3 * db, /** An open database */
const(char) * zSql, /** SQL to be evaluated */
char * * * pazResult, /** Results of the query */
int * pnRow, /** Number of result rows written here */
int * pnColumn, /** Number of result columns written here */
char * * pzErrmsg /** Error msg written here */
) extern(C) nothrowCAPI3REF: Convenience Routines For Running Querieschar *sqlite3_mprintf sqlite3_mprintf(const char *,...) extern(C) nothrowCAPI3REF: Formatted String Printing Functionsvoid sqlite3_randomness(int N, void * P) extern(C) nothrowCAPI3REF: Pseudo-Random Number Generatorint sqlite3_set_authorizer(
sqlite3 *,
int function (void *, int, const char *, const char *, const char *, const char *) xAuth,
void * pUserData
) extern(C) nothrowCAPI3REF: Compile-Time Authorization Callbacksvoid *sqlite3_trace sqlite3_trace(sqlite3 *, void function (void *, const char *) xTrace, void *) extern(C) nothrowvoid *sqlite3_profile sqlite3_profile(sqlite3 *, void function (void *, const char *, sqlite3_uint64) xProfile, void *) extern(C) nothrowint sqlite3_trace_v2(
sqlite3 *,
uint uMask,
int function (uint, void *, void *, void *) xCallback,
void * pCtx
) extern(C) nothrowCAPI3REF: SQL Trace Hookvoid sqlite3_progress_handler(sqlite3 *, int, int function (void *), void *) extern(C) nothrowCAPI3REF: Query Progress Callbacksint sqlite3_open(
const(char) * filename, /** Database filename (UTF-8) */
sqlite3 * * ppDb /** OUT: SQLite db handle */
) extern(C) nothrowCAPI3REF: Opening A New Database Connectionint sqlite3_open16(
const(void) * filename, /** Database filename (UTF-16) */
sqlite3 * * ppDb /** OUT: SQLite db handle */
) extern(C) nothrowDittoint sqlite3_open_v2(
const(char) * filename, /** Database filename (UTF-8) */
sqlite3 * * ppDb, /** OUT: SQLite db handle */
int flags, /** Flags */
const(char) * zVfs /** Name of VFS module to use */
) extern(C) nothrowDittoconst(char) * sqlite3_uri_parameter(const(char) * zFilename, const(char) * zParam) extern(C) nothrowint sqlite3_uri_boolean(const(char) * zFile, const(char) * zParam, int bDefault) extern(C) nothrowDittochar * sqlite3_create_filename(
const(char) * zDatabase,
const(char) * zJournal,
const(char) * zWal,
int nParam,
const(char *) * azParam
) extern(C) nothrowint sqlite3_prepare(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(char *) * pzTail /** OUT: Pointer to unused portion of zSql */
) extern(C) nothrowCAPI3REF: Compiling An SQL Statementint sqlite3_prepare_v2(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(char *) * pzTail /** OUT: Pointer to unused portion of zSql */
) extern(C) nothrowDittoint sqlite3_prepare_v3(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
uint prepFlags, /** Zero or more SQLITE_PREPARE_ flags */
sqlite3_stmt * * ppStmt, /* OUT: Statement handle */
const(char *) * pzTail /* OUT: Pointer to unused portion of zSql */
) extern(C) nothrowDittoint sqlite3_prepare16(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
) extern(C) nothrowDittoint sqlite3_prepare16_v2(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
) extern(C) nothrowDittoint sqlite3_prepare16_v3(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
uint prepFlags, /** Zero or more SQLITE_PREPARE_ flags */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
) extern(C) nothrowDittoconst(char) * sqlite3_sql(sqlite3_stmt * pStmt) extern(C) nothrowCAPI3REF: Retrieving Statement SQLint sqlite3_stmt_busy(sqlite3_stmt *) extern(C) nothrowCAPI3REF: Determine If A Prepared Statement Has Been Resetint sqlite3_bind_blob(sqlite3_stmt *, int, const void *, int n, void function (void *)) extern(C) nothrowCAPI3REF: Binding Values To Prepared Statementsint sqlite3_bind_blob64(sqlite3_stmt *, int, const void *, sqlite3_uint64, void function (void *)) extern(C) nothrowDittoint sqlite3_bind_text(sqlite3_stmt *, int, const char *, int n, void function (void *)) extern(C) nothrowDittoint sqlite3_bind_text16(sqlite3_stmt *, int, const void *, int, void function (void *)) extern(C) nothrowDittoint sqlite3_bind_text64(sqlite3_stmt *, int, const char *, sqlite3_uint64, void function (void *), ubyte encoding) extern(C) nothrowDittoint sqlite3_bind_parameter_count(sqlite3_stmt *) extern(C) nothrowCAPI3REF: Number Of SQL Parametersconst(char) * sqlite3_bind_parameter_name(sqlite3_stmt *, int) extern(C) nothrowCAPI3REF: Name Of A Host Parameterint sqlite3_bind_parameter_index(sqlite3_stmt *, const char * zName) extern(C) nothrowCAPI3REF: Index Of A Parameter With A Given Nameint sqlite3_clear_bindings(sqlite3_stmt *) extern(C) nothrowCAPI3REF: Reset All Bindings On A Prepared Statementint sqlite3_column_count(sqlite3_stmt * pStmt) extern(C) nothrowCAPI3REF: Number Of Columns In A Result Setconst(char) * sqlite3_column_name(sqlite3_stmt *, int N) extern(C) nothrowCAPI3REF: Column Names In A Result Setconst(char) * sqlite3_column_database_name(sqlite3_stmt *, int) extern(C) nothrowCAPI3REF: Source Of Data In A Query Resultconst (char) * sqlite3_column_decltype(sqlite3_stmt *, int) extern(C) nothrowCAPI3REF: Declared Datatype Of A Query Resultint sqlite3_data_count(sqlite3_stmt * pStmt) extern(C) nothrowCAPI3REF: Number of columns in a result setconst (void) * sqlite3_column_blob(sqlite3_stmt *, int iCol) extern(C) nothrowCAPI3REF: Result Values From A Querysqlite3_value *sqlite3_column_value sqlite3_column_value(sqlite3_stmt *, int iCol) extern(C) nothrowDittoint sqlite3_finalize(sqlite3_stmt * pStmt) extern(C) nothrowCAPI3REF: Destroy A Prepared Statement Objectint sqlite3_reset(sqlite3_stmt * pStmt) extern(C) nothrowCAPI3REF: Reset A Prepared Statement Objectint sqlite3_create_function(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal
) extern(C) nothrowCAPI3REF: Create Or Redefine SQL Functionsint sqlite3_create_function16(
sqlite3 * db,
const(void) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal
) extern(C) nothrowDittoint sqlite3_create_function_v2(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal,
void function (void *) xDestroy
) extern(C) nothrowDittoint sqlite3_create_window_function(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal,
void function (sqlite3_context *) xValue,
void function (sqlite3_context *, int, sqlite3_value * *) xInverse,
void function (void *) xDestroy
) extern(C) nothrowDittoint sqlite3_aggregate_count(sqlite3_context *) extern(C) nothrowint sqlite3_memory_alarm(void function(void *, sqlite3_int64, int), void *, sqlite3_int64) extern(C) nothrowconst (void) * sqlite3_value_blob(sqlite3_value *) extern(C) nothrowCAPI3REF: Obtaining SQL Function Parameter Valuesvoid *sqlite3_aggregate_context sqlite3_aggregate_context(sqlite3_context *, int nBytes) extern(C) nothrowCAPI3REF: Obtain Aggregate Function Contextvoid *sqlite3_user_data sqlite3_user_data(sqlite3_context *) extern(C) nothrowCAPI3REF: User Data For Functionssqlite3 *sqlite3_context_db_handle sqlite3_context_db_handle(sqlite3_context *) extern(C) nothrowCAPI3REF: Database Connection For Functionsvoid *sqlite3_get_auxdata sqlite3_get_auxdata(sqlite3_context *, int N) extern(C) nothrowCAPI3REF: Function Auxiliary Datavoid sqlite3_set_auxdata(sqlite3_context *, int N, void *, void function (void *)) extern(C) nothrowDittovoid sqlite3_result_blob(sqlite3_context *, const void *, int, void function(void *)) extern(C) nothrowCAPI3REF: Setting The Result Of An SQL Functionvoid sqlite3_result_blob64(sqlite3_context *, const void *, sqlite3_uint64, void function(void *)) extern(C) nothrowDittovoid sqlite3_result_text(sqlite3_context *, const char *, int, void function(void *)) extern(C) nothrowDittovoid sqlite3_result_text64(sqlite3_context *, const char *, sqlite3_uint64, void function(void *), ubyte encoding) extern(C) nothrowDittovoid sqlite3_result_text16(sqlite3_context *, const void *, int, void function(void *)) extern(C) nothrowDittovoid sqlite3_result_text16le(sqlite3_context *, const void *, int, void function(void *)) extern(C) nothrowDittovoid sqlite3_result_text16be(sqlite3_context *, const void *, int, void function(void *)) extern(C) nothrowDittoint sqlite3_create_collation(
sqlite3 *,
const(char) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare
) extern(C) nothrowCAPI3REF: Define New Collating Sequencesint sqlite3_create_collation_v2(
sqlite3 *,
const(char) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare,
void function (void *) xDestroy
) extern(C) nothrowDittoint sqlite3_create_collation16(
sqlite3 *,
const(void) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare
) extern(C) nothrowDittoint sqlite3_collation_needed(
sqlite3 *,
void *,
void function (void *, sqlite3 *, int eTextRep, const char *)
) extern(C) nothrowCAPI3REF: Collation Needed Callbacksint sqlite3_collation_needed16(
sqlite3 *,
void *,
void function (void *, sqlite3 *, int eTextRep, const void *)
) extern(C) nothrowDittovoid sqlite3_activate_cerod(
const(char) * zPassPhrase /** Activation phrase */
) extern(C) nothrowSpecify the activation key for a CEROD database. Unless activated, none of the CEROD routines will work.int sqlite3_win32_set_directory(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
) extern(C) nothrowCAPI3REF: Win32 Specific Interfaceint sqlite3_win32_set_directory8(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
) extern(C) nothrowDittoint sqlite3_win32_set_directory16(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
) extern(C) nothrowDittosqlite3 *sqlite3_db_handle sqlite3_db_handle(sqlite3_stmt *) extern(C) nothrowCAPI3REF: Find The Database Handle Of A Prepared Statementconst(char) * sqlite3_db_filename(sqlite3 * db, const char * zDbName) extern(C) nothrowCAPI3REF: Return The Filename For A Database Connectionint sqlite3_db_readonly(sqlite3 * db, const char * zDbName) extern(C) nothrowCAPI3REF: Determine if a database is read-onlysqlite3_stmt *sqlite3_next_stmt sqlite3_next_stmt(sqlite3 * pDb, sqlite3_stmt * pStmt) extern(C) nothrowvoid *sqlite3_commit_hook sqlite3_commit_hook(sqlite3 *, int function (void *), void *) extern(C) nothrowCAPI3REF: Commit And Rollback Notification Callbacksvoid *sqlite3_rollback_hook sqlite3_rollback_hook(sqlite3 *, void function (void *), void *) extern(C) nothrowDittovoid *sqlite3_update_hook sqlite3_update_hook(
sqlite3 *,
void function (void *, int , char *, char *, sqlite3_int64),
void *
) extern(C) nothrowCAPI3REF: Data Change Notification Callbacksint sqlite3_enable_shared_cache(int) extern(C) nothrowCAPI3REF: Enable Or Disable Shared Pager Cacheint sqlite3_db_release_memory(sqlite3 *) extern(C) nothrowCAPI3REF: Free Memory Used By A Database Connectionvoid sqlite3_soft_heap_limit(int N) extern(C) nothrowint sqlite3_table_column_metadata(
sqlite3 * db, /** Connection handle */
const(char) * zDbName, /** Database name or NULL */
const(char) * zTableName, /** Table name */
const(char) * zColumnName, /** Column name */
char * * pzDataType, /** OUTPUT: Declared data type */
char * * pzCollSeq, /** OUTPUT: Collation sequence name */
int * pNotNull, /** OUTPUT: True if NOT NULL constraint exists */
int * pPrimaryKey, /** OUTPUT: True if column part of PK */
int * pAutoinc /** OUTPUT: True if column is auto-increment */
) extern(C) nothrowCAPI3REF: Extract Metadata About A Column Of A Tableint sqlite3_load_extension(
sqlite3 * db, /** Load the extension into this database connection */
const(char) * zFile, /** Name of the shared library containing extension */
const(char) * zProc, /** Entry point. Derived from zFile if 0 */
char * * pzErrMsg /** Put error message here if not 0 */
) extern(C) nothrowCAPI3REF: Load An Extensionint sqlite3_enable_load_extension(sqlite3 * db, int onoff) extern(C) nothrowCAPI3REF: Enable Or Disable Extension Loadingint sqlite3_auto_extension(void function () xEntryPoint) extern(C) nothrowCAPI3REF: Automatically Load Statically Linked Extensionsint sqlite3_cancel_auto_extension(void function() xEntryPoint) extern(C) nothrowCAPI3REF: Cancel Automatic Extension Loadingint sqlite3_create_module(
sqlite3 * db, /* SQLite connection to register module with */
const(char) * zName, /* Name of the module */
const(sqlite3_module) * p, /* Methods for the module */
void * pClientData /* Client data for xCreate/xConnect */
) extern(C) nothrowCAPI3REF: Register A Virtual Table Implementationint sqlite3_create_module_v2(
sqlite3 * db, /* SQLite connection to register module with */
const(char) * zName, /* Name of the module */
const(sqlite3_module) * p, /* Methods for the module */
void * pClientData, /* Client data for xCreate/xConnect */
void function (void *) xDestroy /* Module destructor function */
) extern(C) nothrowDittoint sqlite3_drop_modules(
sqlite3 * db, /* Remove modules from this connection */
const(char *) * azKeep /* Except, do not remove the ones named here */
) extern(C) nothrowCAPI3REF: Remove Unnecessary Virtual Table Implementationsint sqlite3_declare_vtab(sqlite3 *, const char * zSQL) extern(C) nothrowCAPI3REF: Declare The Schema Of A Virtual Tableint sqlite3_overload_function(sqlite3 *, const char * zFuncName, int nArg) extern(C) nothrowCAPI3REF: Overload A Function For A Virtual Tableint sqlite3_blob_open(
sqlite3 *,
const(char) * zDb,
const(char) * zTable,
const(char) * zColumn,
sqlite3_int64 iRow,
int flags,
sqlite3_blob * * ppBlob
) extern(C) nothrowCAPI3REF: Open A BLOB For Incremental I/Oint sqlite3_blob_reopen(sqlite3_blob *, sqlite3_int64) extern(C) nothrowCAPI3REF: Move a BLOB Handle to a New Rowint sqlite3_blob_read(sqlite3_blob *, void * Z, int N, int iOffset) extern(C) nothrowCAPI3REF: Read Data From A BLOB Incrementallyint sqlite3_blob_write(sqlite3_blob *, const void * z, int n, int iOffset) extern(C) nothrowCAPI3REF: Write Data Into A BLOB Incrementallysqlite3_vfs *sqlite3_vfs_find sqlite3_vfs_find(const char * zVfsName) extern(C) nothrowCAPI3REF: Virtual File System Objectssqlite3_mutex *sqlite3_db_mutex sqlite3_db_mutex(sqlite3 *) extern(C) nothrowCAPI3REF: Retrieve the mutex for a database connectionint sqlite3_file_control(sqlite3 *, const char * zDbName, int op, void *) extern(C) nothrowCAPI3REF: Low-Level Control Of Database Filessqlite3_str * sqlite3_str_new(sqlite3 *) extern(C) nothrowCAPI3REF: Create A New Dynamic String Objectvoid sqlite3_str_appendf(sqlite3_str *, const(char) * zFormat, ...) extern(C) nothrowCAPI3REF: Add Content To A Dynamic Stringint sqlite3_status(int op, int * pCurrent, int * pHighwater, int resetFlag) extern(C) nothrowCAPI3REF: SQLite Runtime Statusint sqlite3_status64(int op, long * pCurrent, long * pHighwater, int resetFlag) extern(C) nothrowDittoint sqlite3_db_status(sqlite3 *, int op, int * pCur, int * pHiwtr, int resetFlg) extern(C) nothrowCAPI3REF: Database Connection Statusint sqlite3_stmt_status(sqlite3_stmt *, int op, int resetFlg) extern(C) nothrowCAPI3REF: Prepared Statement Statussqlite3_backup *sqlite3_backup_init sqlite3_backup_init(
sqlite3 * pDest, /** Destination database handle */
const(char) * zDestName, /** Destination database name */
sqlite3 * pSource, /** Source database handle */
const(char) * zSourceName /** Source database name */
) extern(C) nothrowCAPI3REF: Online Backup API.int sqlite3_unlock_notify(
sqlite3 * pBlocked, /** Waiting connection */
void function (void * * apArg, int nArg) xNotify, /** Callback function to invoke */
void * pNotifyArg /** Argument to pass to xNotify */
) extern(C) nothrowCAPI3REF: Unlock Notificationvoid sqlite3_log(int iErrCode, const char * zFormat, ...) extern(C) nothrowCAPI3REF: Error Logging Interfacevoid *sqlite3_wal_hook sqlite3_wal_hook(
sqlite3 *,
int function (void *, sqlite3 *, const char *, int),
void *
) extern(C) nothrowCAPI3REF: Write-Ahead Log Commit Hookint sqlite3_wal_autocheckpoint(sqlite3 * db, int N) extern(C) nothrowCAPI3REF: Configure an auto-checkpointint sqlite3_wal_checkpoint(sqlite3 * db, const char * zDb) extern(C) nothrowCAPI3REF: Checkpoint a databaseint sqlite3_wal_checkpoint_v2(
sqlite3 * db, /** Database handle */
const(char) * zDb, /** Name of attached database (or NULL) */
int eMode, /** SQLITE_CHECKPOINT_* value */
int * pnLog, /** OUT: Size of WAL log in frames */
int * pnCkpt /** OUT: Total number of frames checkpointed */
) extern(C) nothrowCAPI3REF: Checkpoint a databaseint sqlite3_vtab_config(sqlite3 *, int op, ...) extern(C) nothrowCAPI3REF: Checkpoint operation parametersint sqlite3_stmt_scanstatus(sqlite3_stmt * pStmt, int idx, int iScanStatusOp, void * pOut) extern(C) nothrowvoid * sqlite3_preupdate_hook(
sqlite3 * db,
void function(
void * pCtx,
sqlite3 * db, /** Database handle */
int op, /** SQLITE_UPDATE, DELETE or INSERT */
const(char) * zDb, /** Database name */
const(char) * zName, /** Table name */
sqlite3_int64 iKey1, /** Rowid of row about to be deleted/updated */
sqlite3_int64 iKey2
) xPreUpdate,
void *
) extern(C) nothrowint sqlite3_snapshot_get(sqlite3 * db, char * zSchema, sqlite3_snapshot * * ppSnapshot) extern(C) nothrowint sqlite3_snapshot_open(sqlite3 * db, char * zSchema, sqlite3_snapshot * pSnapshot) extern(C) nothrowubyte * sqlite3_serialize(
sqlite3 * db,
const(char) * zSchema,
sqlite3_int64 * piSize,
uint mFlags
) extern(C) nothrowint sqlite3_deserialize(
sqlite3 * db,
const(char) * zSchema,
ubyte * pData,
sqlite3_int64 szDb,
sqlite3_int64 szBuf,
uint mFlags
) extern(C) nothrowint sqlite3_rtree_geometry_callback(
sqlite3 * db,
const(char) * zGeom,
int function (sqlite3_rtree_geometry *, int nCoord, double * aCoord, int * pRes) xGeom,
void * pContext
) extern(C) nothrowRegister a geometry callback named zGeom that can be used as part of an R-Tree geometry query as follows:int sqlite3_rtree_query_callback(
sqlite3 * db,
const(char) * zQueryFunc,
int function(sqlite3_rtree_query_info *) xQueryFunc,
void * pContext,
void function(void *) xDestructor
) extern(C) nothrowint sqlite3session_create(
sqlite3 * db,
const(char) * zDb,
sqlite3_session * * ppSession
) extern(C) nothrowvoid sqlite3session_table_filter(
sqlite3_session * pSession,
int function (void * pCtx, const(char) * zTab) xFilter,
void * pCtx
) extern(C) nothrowint sqlite3session_changeset(
sqlite3_session * pSession,
int * pnChangeset,
void * * ppChangeset
) extern(C) nothrowint sqlite3session_diff(
sqlite3_session * pSession,
const(char) * zFromDb,
const(char) * zTbl,
char * * pzErrMsg
) extern(C) nothrowint sqlite3session_patchset(
sqlite3_session * pSession,
int * pnPatchset,
void * * ppPatchset
) extern(C) nothrowint sqlite3changeset_start(
sqlite3_changeset_iter * * pp,
int nChangeset,
void * pChangeset
) extern(C) nothrowint sqlite3changeset_start_v2(
sqlite3_changeset_iter * * pp,
int nChangeset,
void * pChangeset,
int flags
) extern(C) nothrowDittoint sqlite3changeset_op(
sqlite3_changeset_iter * pIter,
const(char *) * pzTab,
int * pnCol,
int * pOp,
int * pbIndirect
) extern(C) nothrowint sqlite3changeset_pk(
sqlite3_changeset_iter * pIter,
ubyte * * pabPK,
int * pnCol
) extern(C) nothrowint sqlite3changeset_old(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
) extern(C) nothrowint sqlite3changeset_new(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
) extern(C) nothrowint sqlite3changeset_conflict(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
) extern(C) nothrowint sqlite3changeset_invert(
int nIn,
const(void) * pIn,
int * pnOut,
void * * ppOut
) extern(C) nothrowint sqlite3changeset_concat(
int nA,
void * pA,
int nB,
void * pB,
int * pnOut,
void * * ppOut
) extern(C) nothrowint sqlite3changegroup_output(
sqlite3_changegroup *,
int * pnData,
void * * ppData
) extern(C) nothrowint sqlite3changeset_apply(
sqlite3 * db,
int nChangeset,
void * pChangeset,
int function(void * pCtx, const(char) * zTab) xFilter,
int function(void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx
) extern(C) nothrowint sqlite3changeset_apply_v2(
sqlite3 * db,
int nChangeset,
void * pChangeset,
int function(void * pCtx, const(char) * zTab) xFilter,
int function(void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx,
void * * ppRebase,
int * pnRebase,
int flags
) extern(C) nothrowDittoint sqlite3rebaser_configure(
sqlite3_rebaser *,
int nRebase,
const(void) * pRebase
) extern(C) nothrowint sqlite3rebaser_rebase(
sqlite3_rebaser *,
int nIn,
const(void) * pIn,
int * pnOut,
void * * ppOut
) extern(C) nothrowint sqlite3changeset_apply_strm(
sqlite3 * db,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pCtx, const(char) * zTab) xFilter,
int function (void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx
) extern(C) nothrowint sqlite3changeset_apply_v2_strm(
sqlite3 * db,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pCtx, const(char) * zTab) xFilter,
int function (void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx,
void * * ppRebase,
int * pnRebase,
int flags
) extern(C) nothrowDittoint sqlite3changeset_concat_strm(
int function (void * pIn, void * pData, int * pnData) xInputA,
void * pInA,
int function (void * pIn, void * pData, int * pnData) xInputB,
void * pInB,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoint sqlite3changeset_invert_strm(
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoint sqlite3changeset_start_strm(
sqlite3_changeset_iter * * pp,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn
) extern(C) nothrowDittoint sqlite3changeset_start_v2_strm(
sqlite3_changeset_iter * * pp,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int flags
) extern(C) nothrowDittoint sqlite3session_changeset_strm(
sqlite3_session * pSession,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoint sqlite3session_patchset_strm(
sqlite3_session * pSession,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoint sqlite3changegroup_add_strm(
sqlite3_changegroup *,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn
) extern(C) nothrowDittoint sqlite3changegroup_output_strm(
sqlite3_changegroup *,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoint sqlite3rebaser_rebase_strm(
sqlite3_rebaser * pRebaser,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
) extern(C) nothrowDittoVariables 19
SQLITE_VERSION = "3.33.0"CAPI3REF: Compile-Time Library Version Numbers
SQLITE_VERSION_NUMBER = 3033000Ditto
SQLITE_SOURCE_ID = "2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f"Ditto
immutable(char) * sqlite3_versionCAPI3REF: Run-Time Library Version Numbers
SQLITE_SHM_NLOCK = 8CAPI3REF: Maximum xShmLock index
SQLITE_DETERMINISTIC = 0x000000800CAPI3REF: Function Flags
SQLITE_DIRECTONLY = 0x000080000SQLITE_SUBTYPE = 0x000100000SQLITE_INNOCUOUS = 0x000200000char *sqlite3_temp_directory sqlite3_temp_directoryCAPI3REF: Name Of The Folder Holding Temporary Files
char *sqlite3_data_directory sqlite3_data_directoryCAPI3REF: Name Of The Folder Holding Database Files
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1CAPI3REF: Virtual Table Configuration Options
SQLITE_VTAB_INNOCUOUS = 2SQLITE_VTAB_DIRECTONLY = 3FTS5_TOKENIZE_QUERY = 0x0001Ditto
FTS5_TOKENIZE_PREFIX = 0x0002Ditto
FTS5_TOKENIZE_DOCUMENT = 0x0004Ditto
FTS5_TOKENIZE_AUX = 0x0008Ditto
FTS5_TOKEN_COLOCATED = 0x0001Ditto