DDBI

dbi.sqlite.imp

SQLite import library.

Part of the D DBI project.

Version:
SQLite version 3.3.11

Import library version 0.05

Authors:
The D DBI project

struct sqlite3 ;


struct sqlite3_context ;


struct sqlite3_index_info ;


int nConstraint ;
Number of entries in aConstraint.

sqlite3_index_constraint* aConstraint ;
Table of WHERE clause constraints.

int nOrderBy ;
Number of terms in the ORDER BY clause.

sqlite3_index_orderby* aOrderBy ;
The ORDER BY clause.

sqlite3_index_constraint_usage* aConstraintUsage ;


int idxNum ;
Number used to identify the index.

char* idxStr ;
String, possibly obtained from sqlite3_malloc.

int needToFreeIdxStr ;
Free idxStr using sqlite3_free() if true.

int orderByConsumed ;
true if output is already ordered.

double estimatedCost ;
Estimated cost of using this index.

struct sqlite3_module ;


struct sqlite3_stmt ;


struct sqlite3_value ;


struct sqlite3_vtab ;


sqlite3_module* pModule ;
The module for this virtual table.

int nRef ;
Used internally.

char* zErrMsg ;
Error message from sqlite3_mprintf().

struct sqlite3_vtab_cursor ;


sqlite3_vtab* pVtab ;
Virtual table of this cursor.

alias sqlite_callback ;


const int SQLITE_OK ;
Successful result.

const int SQLITE_ERROR ;
SQL error or missing database.

const int SQLITE_INTERNAL ;
An internal logic error in SQLite.

const int SQLITE_PERM ;
Access permission denied.

const int SQLITE_ABORT ;
Callback routine requested an abort.

const int SQLITE_BUSY ;
The database file is locked.

const int SQLITE_LOCKED ;
A table in the database is locked.

const int SQLITE_NOMEM ;
A malloc() failed.

const int SQLITE_READONLY ;
Attempt to write a readonly database.

const int SQLITE_INTERRUPT ;
Operation terminated by sqlite_interrupt().

const int SQLITE_IOERR ;
Some kind of disk I/O error occurred.

const int SQLITE_CORRUPT ;
The database disk image is malformed.

const int SQLITE_NOTFOUND ;
(Internal Only) Table or record not found.

const int SQLITE_FULL ;
Insertion failed because database is full.

const int SQLITE_CANTOPEN ;
Unable to open the database file.

const int SQLITE_PROTOCOL ;
Database lock protocol error.

const int SQLITE_EMPTY ;
(Internal Only) Database table is empty.

const int SQLITE_SCHEMA ;
The database schema changed.

const int SQLITE_TOOBIG ;
Too much data for one row of a table.

const int SQLITE_CONSTRAINT ;
Abort due to constraint violation.

const int SQLITE_MISMATCH ;
Data type mismatch.

const int SQLITE_MISUSE ;
Library used incorrectly.

const int SQLITE_NOLFS ;
Uses OS features not supported on host.

const int SQLITE_AUTH ;
Authorization denied.

const int SQLITE_ROW ;
sqlite_step() has another row ready.

const int SQLITE_DONE ;
sqlite_step() has finished executing.

const int SQLITE_UTF8 ;
The text is in UTF8 format.

const int SQLITE_UTF16BE ;
The text is in UTF16 big endian format.

const int SQLITE_UTF16LE ;
The text is in UTF16 little endian format.

const int SQLITE_UTF16 ;
The text is in UTF16 format.

const int SQLITE_ANY ;
The text is in some format or another.

const int SQLITE_INTEGER ;
The data value is an integer.

const int SQLITE_FLOAT ;
The data value is a float.

const int SQLITE_TEXT ;
The data value is text.

const int SQLITE_BLOB ;
The data value is a blob.

const int SQLITE_NULL ;
The data value is null.

const int SQLITE_DENY ;
Abort the SQL statement with an error.

const int SQLITE_IGNORE ;
Don't allow access, but don't generate an error.

const void function(void*) SQLITE_STATIC ;
The data doesn't need to be freed by SQLite.

const void function(void*) SQLITE_TRANSIENT ;
SQLite should make a private copy of the data.

const int SQLITE_CREATE_INDEX ;
Index Name Table Name

const int SQLITE_CREATE_TABLE ;
Table Name NULL

const int SQLITE_CREATE_TEMP_INDEX ;
Index Name Table Name

const int SQLITE_CREATE_TEMP_TABLE ;
Table Name NULL

const int SQLITE_CREATE_TEMP_TRIGGER ;
Trigger Name Table Name

const int SQLITE_CREATE_TEMP_VIEW ;
View Name NULL

const int SQLITE_CREATE_TRIGGER ;
Trigger Name Table Name

const int SQLITE_CREATE_VIEW ;
View Name NULL

const int SQLITE_DELETE ;
Table Name NULL

const int SQLITE_DROP_INDEX ;
Index Name Table Name

const int SQLITE_DROP_TABLE ;
Table Name NULL

const int SQLITE_DROP_TEMP_INDEX ;
Index Name Table Name

const int SQLITE_DROP_TEMP_TABLE ;
Table Name NULL

const int SQLITE_DROP_TEMP_TRIGGER ;
Trigger Name Table Name

const int SQLITE_DROP_TEMP_VIEW ;
View Name NULL

const int SQLITE_DROP_TRIGGER ;
Trigger Name Table Name

const int SQLITE_DROP_VIEW ;
View Name NULL

const int SQLITE_INSERT ;
Table Name NULL

const int SQLITE_PRAGMA ;
Pragma Name 1st arg or NULL

const int SQLITE_READ ;
Table Name Column Name

const int SQLITE_SELECT ;
NULL NULL

const int SQLITE_TRANSACTION ;
NULL NULL

const int SQLITE_UPDATE ;
Table Name Column Name

const int SQLITE_ATTACH ;
Filename NULL

const int SQLITE_DETACH ;
Database Name NULL

const int SQLITE_ALTER_TABLE ;
Database Name Table Name

const int SQLITE_REINDEX ;
Index Name NULL

const int SQLITE_ANALYZE ;
Table Name NULL

const int SQLITE_CREATE_VTABLE ;
Table Name Module Name

const int SQLITE_DROP_VTABLE ;
Table Name Module Name

const int SQLITE_FUNCTION ;
Function Name NULL

const int SQLITE_INDEX_CONSTRAINT_EQ ;


const int SQLITE_INDEX_CONSTRAINT_GT ;


const int SQLITE_INDEX_CONSTRAINT_LE ;


const int SQLITE_INDEX_CONSTRAINT_LT ;


const int SQLITE_INDEX_CONSTRAINT_GE ;


const int SQLITE_INDEX_CONSTRAINT_MATCH ;


const int SQLITE_IOERR_READ ;


const int SQLITE_IOERR_SHORT_READ ;


const int SQLITE_IOERR_WRITE ;


const int SQLITE_IOERR_FSYNC ;


const int SQLITE_IOERR_DIR_FSYNC ;


const int SQLITE_IOERR_TRUNCATE ;


const int SQLITE_IOERR_FSTAT ;


const int SQLITE_IOERR_UNLOCK ;


const int SQLITE_IOERR_RDLOCK ;


void* sqlite3_aggregate_context (sqlite3_context* ctx, int nBytes);


deprecated int sqlite3_aggregate_count (sqlite3_context* ctx);


int sqlite3_auto_extension (void* xEntryPoint);


int sqlite3_bind_blob (sqlite3_stmt* stmt, int index, void* value, int n, void function(void*) destructor);


int sqlite3_bind_double (sqlite3_stmt* stmt, int index, double value);


int sqlite3_bind_int (sqlite3_stmt* stmt, int index, int value);


int sqlite3_bind_int64 (sqlite3_stmt* stmt, int index, long value);


int sqlite3_bind_null (sqlite3_stmt* stmt, int index);


int sqlite3_bind_text (sqlite3_stmt* stmt, int index, char* value, int n, void function(void*) destructor);


int sqlite3_bind_text16 (sqlite3_stmt* stmt, int index, void* value, int n, void function(void*) destructor);


int sqlite3_bind_parameter_count (sqlite3_stmt* stmt);


int sqlite3_bind_parameter_index (sqlite3_stmt* stmt, char* zName);


char* sqlite3_bind_parameter_name (sqlite3_stmt* stmt, int n);


int sqlite3_busy_handler (sqlite3* database, int function(void*, int) handler, void* n);


int sqlite3_busy_timeout (sqlite3* database, int ms);


int sqlite3_changes (sqlite3* database);


int sqlite3_clear_bindings (sqlite3_stmt* statement);


int sqlite3_close (sqlite3* database);


int sqlite3_collation_needed (sqlite3* database, void* names, void function(void* names, sqlite3* database, int eTextRep, char* sequence));


int sqlite3_collation_needed (sqlite3* database, void* names, void function(void* names, sqlite3* database, int eTextRep, void* sequence));


void* sqlite3_column_blob (sqlite3_stmt* stmt, int iCol);


int sqlite3_column_bytes (sqlite3_stmt* stmt, int iCol);


int sqlite3_column_bytes16 (sqlite3_stmt* stmt, int iCol);


double sqlite3_column_double (sqlite3_stmt* stmt, int iCol);


int sqlite3_column_int (sqlite3_stmt* stmt, int iCol);


long sqlite3_column_int64 (sqlite3_stmt* stmt, int iCol);


char* sqlite3_column_text (sqlite3_stmt* stmt, int iCol);


void* sqlite3_column_text16 (sqlite3_stmt* stmt, int iCol);


int sqlite3_column_type (sqlite3_stmt* stmt, int iCol);


int sqlite3_column_count (sqlite3_stmt* stmt);


char* sqlite3_column_database_name (sqlite3_stmt* stmt, int n);


void* sqlite3_column_database_name16 (sqlite3_stmt* stmt, int n);


char* sqlite3_column_decltype (sqlite3_stmt* stmt, int i);


void* sqlite3_column_decltype16 (sqlite3_stmt* stmt, int i);


char* sqlite3_column_name (sqlite3_stmt* stmt, int n);


void* sqlite3_column_name16 (sqlite3_stmt* stmt, int n);


char* sqlite3_column_origin_name (sqlite3_stmt* stmt, int n);


void* sqlite3_column_origin_name16 (sqlite3_stmt* sStmt, int n);


char* sqlite3_column_table_name (sqlite3_stmt* stmt, int n);


void* sqlite3_column_table_name16 (sqlite3_stmt* stmt, int n);


sqlite3_value* sqlite3_column_value (sqlite3_stmt* stmt, int iCol);


void* sqlite3_commit_hook (sqlite3* database, int function(void* args) xCallback, void* args);


int sqlite3_complete (char* sql);


int sqlite3_complete16 (void* sql);


int sqlite3_create_collation (sqlite3* database, char* zName, int pref16, void* routine, int function(void*, int, void*, int, void*) xCompare);


int sqlite3_create_collation16 (sqlite3* database, char* zName, int pref16, void* routine, int function(void*, int, void*, int, void*) xCompare);


int sqlite3_create_function (sqlite3* database, char* zFunctionName, int nArg, int eTextRep, void* pUserData, void function(sqlite3_context*, int, sqlite3_value**) xFunc, void function(sqlite3_context*, int, sqlite3_value**) xStep, void function(sqlite3_context*) xFinal);


int sqlite3_create_function (sqlite3* database, void* zFunctionName, int nArg, int eTextRep, void* pUserData, void function(sqlite3_context*, int, sqlite3_value**) xFunc, void function(sqlite3_context*, int, sqlite3_value**) xStep, void function(sqlite3_context*) xFinal);


int sqlite3_create_module (sqlite3* db, char* zName, sqlite3_module* methods, void* data);


int sqlite3_data_count (sqlite3_stmt* stmt);


sqlite3* sqlite3_db_handle (sqlite3_stmt* stmt);


int sqlite3_declare_vtab (sqlite3* db, char* zCreateTable);


int sqlite3_enable_load_extension (sqlite3* db, int onoff);


int sqlite3_enable_shared_cache (int enable);


int sqlite3_errcode (sqlite3* db);


char* sqlite3_errmsg (sqlite3* database);


void* sqlite3_errmsg16 (sqlite3* database);


int sqlite3_exec (sqlite3* database, char* sql, int function(void*, int, char**, char**) routine, void* arg, char** errmsg);


int sqlite3_expired (sqlite3_stmt* stmt);


int sqlite3_extended_result_codes (sqlite3* database, int onoff);


int sqlite3_finalize (sqlite3_stmt* stmt);


void sqlite3_free (char* ptr);


int sqlite3_get_table (sqlite3* database, char* sql, char*** resultp, int* nrow, int* ncolumn, char** errmsg);


void sqlite3_free_table (char** result);


int sqlite3_get_autocommit (sqlite3* database);


int sqlite3_global_recover ();


void sqlite3_interrupt (sqlite3* database);


long sqlite3_last_insert_rowid (sqlite3* database);


char* sqlite3_libversion ();


int sqlite3_load_extension (sqlite3* db, char* zFile, char* zProc, char** ppErrMsg);


void* sqlite3_malloc (int size);


char* sqlite3_mprintf (char* string,...);


char* sqlite3_vmprintf (char* string, void* args);


int sqlite3_open (char* filename, sqlite3** database);


int sqlite3_open16 (void* filename, sqlite3** database);


int sqlite3_overload_function (sqlite3* database, char* zFuncName, int nArg);


int sqlite3_prepare (sqlite3* database, char* zSql, int nBytes, sqlite3_stmt** stmt, char** zTail);


int sqlite3_prepare16 (sqlite3* database, void* zSql, int nBytes, sqlite3_stmt** stmt, void** zTail);


int sqlite3_prepare_v2 (sqlite3* database, char* zSql, int nBytes, sqlite3_stmt** stmt, char** zTail);


int sqlite3_prepare16_v2 (sqlite3* database, void* zSql, int nBytes, sqlite3_stmt** stmt, void** zTail);


void sqlite3_progress_handler (sqlite3* database, int n, int function(void* args) callback, void* arg);


void* sqlite3_realloc (void* ptr, int size);


int sqlite3_release_memory (int n);


int sqlite3_reset (sqlite3_stmt* stmt);


void sqlite3_reset_auto_extension ();


void sqlite3_result_blob (sqlite3_context* context, void* value, int n, void function(void*) destructor);


void sqlite3_result_double (sqlite3_context* context, double value);


void sqlite3_result_error (sqlite3_context* context, char* value, int n);


void sqlite3_result_error16 (sqlite3_context* context, void* value, int n);


void sqlite3_result_int (sqlite3_context* context, int value);


void sqlite3_result_int64 (sqlite3_context* context, long value);


void sqlite3_result_null (sqlite3_context* context);


void sqlite3_result_text (sqlite3_context* context, char* value, int n, void function(void*) destructor);


void sqlite3_result_text16 (sqlite3_context* context, void* value, int n, void function(void*) destructor);


void sqlite3_result_text16be (sqlite3_context* context, void* value, int n, void function(void*) destructor);


void sqlite3_result_text16le (sqlite3_context* context, void* value, int n, void function(void*) destructor);


void sqlite3_result_value (sqlite3_context* context, sqlite3_value* value);


void* sqlite3_rollback_hook (sqlite3* database, void function(void*) callback, void* args);


int sqlite3_set_authorizer (sqlite3* database, int function(void*, int, char*, char*, char*, char*) xAuth, void* UserData);


int sqlite3_sleep (int ms);


void sqlite3_soft_heap_limit (int n);


int sqlite3_step (sqlite3_stmt* stmt);


int sqlite3_table_column_metadata (sqlite3* database, char* zDbName, char* zTableName, char* zColumnName, char** zDataType, char** zCollSeq, int* notNull, int* primaryKey, int* autoInc);


void sqlite3_thread_cleanup ();


int sqlite3_total_changes (sqlite3* database);


void* sqlite3_trace (sqlite3* database, void function(void*, char*) xTrace, void* args);


int sqlite3_transfer_bindings (sqlite3_stmt* stmt, sqlite3_stmt* stmt);


void* sqlite3_update_hook (sqlite3* database, void function(void*, int, char*, char*, long) callback, void* args);


void* sqlite3_user_data (sqlite3_context* context);


void* sqlite3_value_blob (sqlite3_value* value);


int sqlite3_value_bytes (sqlite3_value* value);


int sqlite3_value_bytes16 (sqlite3_value* value);


double sqlite3_value_double (sqlite3_value* value);


int sqlite3_value_int (sqlite3_value* value);


long sqlite3_value_int64 (sqlite3_value* value);


char* sqlite3_value_text (sqlite3_value* value);


void* sqlite3_value_text16 (sqlite3_value* value);


void* sqlite3_value_text16be (sqlite3_value* value);


void* sqlite3_value_text16le (sqlite3_value* value);


int sqlite3_value_type (sqlite3_value* value);


Documentation last updated Tue Jan 27 00:09:29 2009