Update sqlite header

This commit is contained in:
topjohnwu 2018-10-27 03:30:20 -04:00
parent 675d6d8328
commit f17ec9e9d7
2 changed files with 1844 additions and 668 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +1,17 @@
#include "sqlite3.h" #include <sqlite3.h>
SQLITE_API SQLITE_EXTERN const char sqlite3_version[];
SQLITE_API const char *sqlite3_libversion(void) { return 0; } SQLITE_API const char *sqlite3_libversion(void) { return 0; }
SQLITE_API const char *sqlite3_sourceid(void) { return 0; } SQLITE_API const char *sqlite3_sourceid(void) { return 0; }
SQLITE_API int sqlite3_libversion_number(void) { return 0; } SQLITE_API int sqlite3_libversion_number(void) { return 0; }
#ifndef SQLITE_OMIT_COMPILEOPTION_DIAGS
SQLITE_API int sqlite3_compileoption_used(const char *zOptName) { return 0; } SQLITE_API int sqlite3_compileoption_used(const char *zOptName) { return 0; }
SQLITE_API const char *sqlite3_compileoption_get(int N) { return 0; } SQLITE_API const char *sqlite3_compileoption_get(int N) { return 0; }
#endif
SQLITE_API int sqlite3_threadsafe(void) { return 0; } SQLITE_API int sqlite3_threadsafe(void) { return 0; }
SQLITE_API int sqlite3_close(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_close(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_close_v2(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_close_v2(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_exec( SQLITE_API int sqlite3_exec(
sqlite3 *db, sqlite3 *db,
const char *sql, const char *sql,
int (*callback)(void*,int,char**,char**), int (*callback)(void *v,int i,char**,char**),
void *v, void *v,
char **errmsg char **errmsg
) { return 0; } ) { return 0; }
@ -24,13 +23,11 @@ SQLITE_API int sqlite3_config(int i, ...) { return 0; }
SQLITE_API int sqlite3_db_config(sqlite3 *db, int op, ...) { return 0; } SQLITE_API int sqlite3_db_config(sqlite3 *db, int op, ...) { return 0; }
SQLITE_API int sqlite3_extended_result_codes(sqlite3 *db, int onoff) { return 0; } SQLITE_API int sqlite3_extended_result_codes(sqlite3 *db, int onoff) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(sqlite3 *db) { return 0; } SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(sqlite3 *db) { return 0; }
SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 i) { }
SQLITE_API int sqlite3_changes(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_changes(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_total_changes(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_total_changes(sqlite3 *db) { return 0; }
SQLITE_API void sqlite3_interrupt(sqlite3 *db) { }
SQLITE_API int sqlite3_complete(const char *sql) { return 0; } SQLITE_API int sqlite3_complete(const char *sql) { return 0; }
SQLITE_API int sqlite3_complete16(const void *sql) { return 0; } SQLITE_API int sqlite3_complete16(const void *sql) { return 0; }
SQLITE_API int sqlite3_busy_handler(sqlite3 *db, int(*f) (void *v,int i), void* v) { return 0; } SQLITE_API int sqlite3_busy_handler(sqlite3 *db,int(*cb)(void *v,int i),void *v) { return 0; }
SQLITE_API int sqlite3_busy_timeout(sqlite3 *db, int ms) { return 0; } SQLITE_API int sqlite3_busy_timeout(sqlite3 *db, int ms) { return 0; }
SQLITE_API int sqlite3_get_table( SQLITE_API int sqlite3_get_table(
sqlite3 *db, sqlite3 *db,
@ -40,36 +37,32 @@ SQLITE_API int sqlite3_get_table(
int *pnColumn, int *pnColumn,
char **pzErrmsg char **pzErrmsg
) { return 0; } ) { return 0; }
SQLITE_API void sqlite3_free_table(char **result) { } SQLITE_API char *sqlite3_mprintf(const char *s,...) { return 0; }
SQLITE_API char *sqlite3_mprintf(const char* s,...) { return 0; } SQLITE_API char *sqlite3_vmprintf(const char *s, va_list va) { return 0; }
SQLITE_API char *sqlite3_vmprintf(const char* s, va_list v) { return 0; } SQLITE_API char *sqlite3_snprintf(int i,char *s,const char *ss, ...) { return 0; }
SQLITE_API char *sqlite3_snprintf(int i, char* s, const char* st, ...) { return 0; } SQLITE_API char *sqlite3_vsnprintf(int i,char *s,const char *ss, va_list va) { return 0; }
SQLITE_API char *sqlite3_vsnprintf(int i, char* s, const char* st, va_list v) { return 0; }
SQLITE_API void *sqlite3_malloc(int i) { return 0; } SQLITE_API void *sqlite3_malloc(int i) { return 0; }
SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 i) { return 0; } SQLITE_API void *sqlite3_malloc64(sqlite3_uint64 u64) { return 0; }
SQLITE_API void *sqlite3_realloc(void* v, int i) { return 0; } SQLITE_API void *sqlite3_realloc(void *v, int i) { return 0; }
SQLITE_API void *sqlite3_realloc64(void* v, sqlite3_uint64 i) { return 0; } SQLITE_API void *sqlite3_realloc64(void *v, sqlite3_uint64 u64) { return 0; }
SQLITE_API void sqlite3_free(void* v) { } SQLITE_API sqlite3_uint64 sqlite3_msize(void *v) { return 0; }
SQLITE_API sqlite3_uint64 sqlite3_msize(void* v) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_memory_used(void) { return 0; } SQLITE_API sqlite3_int64 sqlite3_memory_used(void) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag) { return 0; } SQLITE_API sqlite3_int64 sqlite3_memory_highwater(int resetFlag) { return 0; }
SQLITE_API void sqlite3_randomness(int N, void *P) { }
SQLITE_API int sqlite3_set_authorizer( SQLITE_API int sqlite3_set_authorizer(
sqlite3 *db, sqlite3 *db,
int (*xAuth)(void *v,int i,const char*,const char*,const char*,const char*), int (*xAuth)(void *v,int i,const char *s,const char *ss,const char *sss,const char*),
void *pUserData void *pUserData
) { return 0; } ) { return 0; }
SQLITE_API SQLITE_DEPRECATED void *sqlite3_trace(sqlite3 *db, SQLITE_API SQLITE_DEPRECATED void *sqlite3_trace(sqlite3 *db,
void(*xTrace)(void *v,const char*), void* v) { return 0; } void(*xTrace)(void *v,const char*), void *v) { return 0; }
SQLITE_API SQLITE_DEPRECATED void *sqlite3_profile(sqlite3 *db, SQLITE_API SQLITE_DEPRECATED void *sqlite3_profile(sqlite3 *db,
void(*xProfile)(void *v,const char*,sqlite3_uint64), void* v) { return 0; } void(*xProfile)(void *v,const char *s,sqlite3_uint64 u64), void *v) { return 0; }
SQLITE_API int sqlite3_trace_v2( SQLITE_API int sqlite3_trace_v2(
sqlite3 *db, sqlite3 *db,
unsigned uMask, unsigned uMask,
int(*xCallback)(unsigned,void *v,void *vv,void*), int(*xCallback)(unsigned,void*,void*,void*),
void *pCtx void *pCtx
) { return 0; } ) { return 0; }
SQLITE_API void sqlite3_progress_handler(sqlite3 *db, int i, int(*f)(void*), void* v) { }
SQLITE_API int sqlite3_open( SQLITE_API int sqlite3_open(
const char *filename, const char *filename,
sqlite3 **ppDb sqlite3 **ppDb
@ -86,7 +79,7 @@ SQLITE_API int sqlite3_open_v2(
) { return 0; } ) { return 0; }
SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam) { return 0; } SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam) { return 0; }
SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault) { return 0; } SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char* s, const char* st, sqlite3_int64 i) { return 0; } SQLITE_API sqlite3_int64 sqlite3_uri_int64(const char *s, const char *ss, sqlite3_int64 i64) { return 0; }
SQLITE_API int sqlite3_errcode(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_errcode(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_extended_errcode(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_extended_errcode(sqlite3 *db) { return 0; }
SQLITE_API const char *sqlite3_errmsg(sqlite3 *db) { return 0; } SQLITE_API const char *sqlite3_errmsg(sqlite3 *db) { return 0; }
@ -107,6 +100,14 @@ SQLITE_API int sqlite3_prepare_v2(
sqlite3_stmt **ppStmt, sqlite3_stmt **ppStmt,
const char **pzTail const char **pzTail
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_prepare_v3(
sqlite3 *db,
const char *zSql,
int nByte,
unsigned int prepFlags,
sqlite3_stmt **ppStmt,
const char **pzTail
) { return 0; }
SQLITE_API int sqlite3_prepare16( SQLITE_API int sqlite3_prepare16(
sqlite3 *db, sqlite3 *db,
const void *zSql, const void *zSql,
@ -121,51 +122,60 @@ SQLITE_API int sqlite3_prepare16_v2(
sqlite3_stmt **ppStmt, sqlite3_stmt **ppStmt,
const void **pzTail const void **pzTail
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_prepare16_v3(
sqlite3 *db,
const void *zSql,
int nByte,
unsigned int prepFlags,
sqlite3_stmt **ppStmt,
const void **pzTail
) { return 0; }
SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt) { return 0; } SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API char *sqlite3_expanded_sql(sqlite3_stmt *pStmt) { return 0; } SQLITE_API char *sqlite3_expanded_sql(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt) { return 0; } SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt* s) { return 0; } SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt *stmt) { return 0; }
SQLITE_API int sqlite3_bind_blob(sqlite3_stmt* s, int i, const void*v, int n, void(*f)(void*)) { return 0; } SQLITE_API int sqlite3_bind_blob(sqlite3_stmt *stmt, int i, const void *v, int n, void(*cb)(void*)) { return 0; }
SQLITE_API int sqlite3_bind_blob64(sqlite3_stmt* s, int i, const void *v, sqlite3_uint64 ii, SQLITE_API int sqlite3_bind_blob64(sqlite3_stmt *stmt, int i, const void *v, sqlite3_uint64 u64,
void(*f)(void*)) { return 0; } void(*cb)(void*)) { return 0; }
SQLITE_API int sqlite3_bind_double(sqlite3_stmt* s, int i, double d) { return 0; } SQLITE_API int sqlite3_bind_double(sqlite3_stmt *stmt, int i, double df) { return 0; }
SQLITE_API int sqlite3_bind_int(sqlite3_stmt* s, int i, int ii) { return 0; } SQLITE_API int sqlite3_bind_int(sqlite3_stmt *stmt, int i, int ii) { return 0; }
SQLITE_API int sqlite3_bind_int64(sqlite3_stmt* s, int i, sqlite3_int64 ii) { return 0; } SQLITE_API int sqlite3_bind_int64(sqlite3_stmt *stmt, int i, sqlite3_int64 i64) { return 0; }
SQLITE_API int sqlite3_bind_null(sqlite3_stmt* s, int i) { return 0; } SQLITE_API int sqlite3_bind_null(sqlite3_stmt *stmt, int i) { return 0; }
SQLITE_API int sqlite3_bind_text(sqlite3_stmt* s,int i,const char* str, int ii, void(*f)(void*)) { return 0; } SQLITE_API int sqlite3_bind_text(sqlite3_stmt *stmt,int i,const char *s,int ii,void(*cb)(void*)) { return 0; }
SQLITE_API int sqlite3_bind_text16(sqlite3_stmt* s, int i, const void *v, int ii, void(*f)(void*)) { return 0; } SQLITE_API int sqlite3_bind_text16(sqlite3_stmt *stmt, int i, const void *v, int ii, void(*cb)(void*)) { return 0; }
SQLITE_API int sqlite3_bind_text64(sqlite3_stmt* s, int i, const char* str, sqlite3_uint64 ii, SQLITE_API int sqlite3_bind_text64(sqlite3_stmt *stmt, int i, const char *s, sqlite3_uint64 u64,
void(*f)(void*), unsigned char encoding) { return 0; } void(*cb)(void*), unsigned char encoding) { return 0; }
SQLITE_API int sqlite3_bind_value(sqlite3_stmt* s, int i, const sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_bind_value(sqlite3_stmt *stmt, int i, const sqlite3_value *s_val) { return 0; }
SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt* s, int i, int n) { return 0; } SQLITE_API int sqlite3_bind_pointer(sqlite3_stmt *stmt, int i, void *v, const char *s,void(*cb)(void*)) { return 0; }
SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt* s, int i, sqlite3_uint64 ii) { return 0; } SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *stmt, int i, int n) { return 0; }
SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt* s) { return 0; } SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt *stmt, int i, sqlite3_uint64 u64) { return 0; }
SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt* s, int i) { return 0; } SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *stmt) { return 0; }
SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt* s, const char *zName) { return 0; } SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt *stmt, int i) { return 0; }
SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt* s) { return 0; } SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *stmt, const char *zName) { return 0; }
SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt *stmt) { return 0; }
SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt) { return 0; } SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API const char *sqlite3_column_name(sqlite3_stmt* s, int N) { return 0; } SQLITE_API const char *sqlite3_column_name(sqlite3_stmt *stmt, int N) { return 0; }
SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt* s, int N) { return 0; } SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt *stmt, int N) { return 0; }
SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt* s,int i){ return 0; } SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt* s,int i) { return 0; } SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt *stmt,int i) { return 0; }
SQLITE_API int sqlite3_step(sqlite3_stmt* s) { return 0; } SQLITE_API int sqlite3_step(sqlite3_stmt *stmt) { return 0; }
SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt) { return 0; } SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API int sqlite3_column_bytes(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API double sqlite3_column_double(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API int sqlite3_column_int(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API double sqlite3_column_double(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API int sqlite3_column_int(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API int sqlite3_column_type(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt* s, int iCol) { return 0; } SQLITE_API int sqlite3_column_type(sqlite3_stmt *stmt, int iCol) { return 0; }
SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt) { return 0; } SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt) { return 0; } SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt) { return 0; }
SQLITE_API int sqlite3_create_function( SQLITE_API int sqlite3_create_function(
@ -174,9 +184,9 @@ SQLITE_API int sqlite3_create_function(
int nArg, int nArg,
int eTextRep, int eTextRep,
void *pApp, void *pApp,
void (*xFunc)(sqlite3_context* c,int i,sqlite3_value**), void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xStep)(sqlite3_context* c,int i,sqlite3_value**), void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xFinal)(sqlite3_context* c) void (*xFinal)(sqlite3_context *sctx)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_create_function16( SQLITE_API int sqlite3_create_function16(
sqlite3 *db, sqlite3 *db,
@ -184,9 +194,9 @@ SQLITE_API int sqlite3_create_function16(
int nArg, int nArg,
int eTextRep, int eTextRep,
void *pApp, void *pApp,
void (*xFunc)(sqlite3_context* c,int i,sqlite3_value**), void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xStep)(sqlite3_context* c,int i,sqlite3_value**), void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xFinal)(sqlite3_context* c) void (*xFinal)(sqlite3_context *sctx)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_create_function_v2( SQLITE_API int sqlite3_create_function_v2(
sqlite3 *db, sqlite3 *db,
@ -194,75 +204,68 @@ SQLITE_API int sqlite3_create_function_v2(
int nArg, int nArg,
int eTextRep, int eTextRep,
void *pApp, void *pApp,
void (*xFunc)(sqlite3_context* c,int i,sqlite3_value**), void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xStep)(sqlite3_context* c,int i,sqlite3_value**), void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xFinal)(sqlite3_context* c), void (*xFinal)(sqlite3_context *sctx),
void(*xDestroy)(void*) void(*xDestroy)(void*)
) { return 0; } ) { return 0; }
#ifndef SQLITE_OMIT_DEPRECATED SQLITE_API int sqlite3_create_window_function(
SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context* c) { return 0; } sqlite3 *db,
SQLITE_API SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt* s) { return 0; } const char *zFunctionName,
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt* s, sqlite3_stmt* ss) { return 0; } int nArg,
int eTextRep,
void *pApp,
void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
void (*xFinal)(sqlite3_context *sctx),
void (*xValue)(sqlite3_context *sctx),
void (*xInverse)(sqlite3_context *sctx,int i,sqlite3_value**),
void(*xDestroy)(void*)
) { return 0; }
SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count(sqlite3_context *sctx) { return 0; }
SQLITE_API SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt *stmt) { return 0; }
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt *stmt, sqlite3_stmt *stmt1) { return 0; }
SQLITE_API SQLITE_DEPRECATED int sqlite3_global_recover(void) { return 0; } SQLITE_API SQLITE_DEPRECATED int sqlite3_global_recover(void) { return 0; }
SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup(void) { } SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup(void) { }
SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*f)(void *v,sqlite3_int64,int), SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*cb)(void *v,sqlite3_int64,int i),
void *v,sqlite3_int64 i) { return 0; } void *v,sqlite3_int64 i64) { return 0; }
#endif SQLITE_API const void *sqlite3_value_blob(sqlite3_value *s_val) { return 0; }
SQLITE_API const void *sqlite3_value_blob(sqlite3_value* v) { return 0; } SQLITE_API double sqlite3_value_double(sqlite3_value *s_val) { return 0; }
SQLITE_API int sqlite3_value_bytes(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_int(sqlite3_value *s_val) { return 0; }
SQLITE_API int sqlite3_value_bytes16(sqlite3_value* v) { return 0; } SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value *s_val) { return 0; }
SQLITE_API double sqlite3_value_double(sqlite3_value* v) { return 0; } SQLITE_API void *sqlite3_value_pointer(sqlite3_value *s_val, const char *s) { return 0; }
SQLITE_API int sqlite3_value_int(sqlite3_value* v) { return 0; } SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *s_val) { return 0; }
SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value* v) { return 0; } SQLITE_API const void *sqlite3_value_text16(sqlite3_value *s_val) { return 0; }
SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value* v) { return 0; } SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *s_val) { return 0; }
SQLITE_API const void *sqlite3_value_text16(sqlite3_value* v) { return 0; } SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *s_val) { return 0; }
SQLITE_API const void *sqlite3_value_text16le(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_bytes(sqlite3_value *s_val) { return 0; }
SQLITE_API const void *sqlite3_value_text16be(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_bytes16(sqlite3_value *s_val) { return 0; }
SQLITE_API int sqlite3_value_type(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_type(sqlite3_value *s_val) { return 0; }
SQLITE_API int sqlite3_value_numeric_type(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *s_val) { return 0; }
SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value* v) { return 0; } SQLITE_API int sqlite3_value_nochange(sqlite3_value *s_val) { return 0; }
SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value* v) { return 0; } SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value *s_val) { return 0; }
SQLITE_API void sqlite3_value_free(sqlite3_value* v) { } SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value *s_val) { return 0; }
SQLITE_API void *sqlite3_aggregate_context(sqlite3_context* c, int nBytes) { return 0; } SQLITE_API void *sqlite3_aggregate_context(sqlite3_context *sctx, int nBytes) { return 0; }
SQLITE_API void *sqlite3_user_data(sqlite3_context* c) { return 0; } SQLITE_API void *sqlite3_user_data(sqlite3_context *sctx) { return 0; }
SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context* c) { return 0; } SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context *sctx) { return 0; }
SQLITE_API void *sqlite3_get_auxdata(sqlite3_context* c, int N) { return 0; } SQLITE_API void *sqlite3_get_auxdata(sqlite3_context *sctx, int N) { return 0; }
SQLITE_API void sqlite3_set_auxdata(sqlite3_context* c, int N, void *v, void (*f)(void*)) { } SQLITE_API void sqlite3_result_blob64(sqlite3_context *sctx,const void *v,
SQLITE_API void sqlite3_result_blob(sqlite3_context* c, const void *v, int i, void(*f)(void*)) { } sqlite3_uint64 u64,void(*cb)(void*)) { }
SQLITE_API void sqlite3_result_blob64(sqlite3_context* c,const void *v, SQLITE_API void sqlite3_result_text64(sqlite3_context *sctx, const char *s,sqlite3_uint64 u64,
sqlite3_uint64 i,void(*f)(void*)) { } void(*cb)(void*), unsigned char encoding) { }
SQLITE_API void sqlite3_result_double(sqlite3_context* c, double d) { } SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context *sctx, sqlite3_uint64 n) { return 0; }
SQLITE_API void sqlite3_result_error(sqlite3_context* c, const char* s, int i) { }
SQLITE_API void sqlite3_result_error16(sqlite3_context* c, const void *v, int i) { }
SQLITE_API void sqlite3_result_error_toobig(sqlite3_context* c) { }
SQLITE_API void sqlite3_result_error_nomem(sqlite3_context* c) { }
SQLITE_API void sqlite3_result_error_code(sqlite3_context* c, int i) { }
SQLITE_API void sqlite3_result_int(sqlite3_context* c, int i) { }
SQLITE_API void sqlite3_result_int64(sqlite3_context* c, sqlite3_int64 i) { }
SQLITE_API void sqlite3_result_null(sqlite3_context* c) { }
SQLITE_API void sqlite3_result_text(sqlite3_context* c, const char* s, int i, void(*f)(void*)) { }
SQLITE_API void sqlite3_result_text64(sqlite3_context* c, const char* s, sqlite3_uint64 i,
void(*f)(void*), unsigned char encoding) { }
SQLITE_API void sqlite3_result_text16(sqlite3_context* c, const void *v, int i, void(*f)(void*)) { }
SQLITE_API void sqlite3_result_text16le(sqlite3_context* c, const void *v, int i,void(*f)(void*)) { }
SQLITE_API void sqlite3_result_text16be(sqlite3_context* c, const void *v, int i,void(*f)(void*)) { }
SQLITE_API void sqlite3_result_value(sqlite3_context* c, sqlite3_value* v) { }
SQLITE_API void sqlite3_result_zeroblob(sqlite3_context* c, int n) { }
SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context* c, sqlite3_uint64 n) { return 0; }
SQLITE_API void sqlite3_result_subtype(sqlite3_context* c,unsigned int i) { }
SQLITE_API int sqlite3_create_collation( SQLITE_API int sqlite3_create_collation(
sqlite3 *db, sqlite3 *db,
const char *zName, const char *zName,
int eTextRep, int eTextRep,
void *pArg, void *pArg,
int(*xCompare)(void *,int,const void *,int,const void*) int(*xCompare)(void*,int,const void*,int,const void*)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_create_collation_v2( SQLITE_API int sqlite3_create_collation_v2(
sqlite3 *db, sqlite3 *db,
const char *zName, const char *zName,
int eTextRep, int eTextRep,
void *pArg, void *pArg,
int(*xCompare)(void *,int,const void*,int,const void*), int(*xCompare)(void *v,int i,const void*,int,const void*),
void(*xDestroy)(void*) void(*xDestroy)(void*)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_create_collation16( SQLITE_API int sqlite3_create_collation16(
@ -270,19 +273,18 @@ SQLITE_API int sqlite3_create_collation16(
const void *zName, const void *zName,
int eTextRep, int eTextRep,
void *pArg, void *pArg,
int(*xCompare)(void *,int,const void *,int,const void*) int(*xCompare)(void*,int,const void*,int,const void*)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_collation_needed( SQLITE_API int sqlite3_collation_needed(
sqlite3 *db, sqlite3 *db,
void *v, void *v,
void(*f)(void *v,sqlite3 *db,int eTextRep,const char*) void(*cb)(void *v,sqlite3 *db,int eTextRep,const char*)
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_collation_needed16( SQLITE_API int sqlite3_collation_needed16(
sqlite3 *db, sqlite3 *db,
void *v, void *v,
void(*f)(void *v,sqlite3 *db,int eTextRep,const void*) void(*cb)(void *v,sqlite3 *db,int eTextRep,const void*)
) { return 0; } ) { return 0; }
#ifdef SQLITE_HAS_CODEC
SQLITE_API int sqlite3_key( SQLITE_API int sqlite3_key(
sqlite3 *db, sqlite3 *db,
const void *pKey, int nKey const void *pKey, int nKey
@ -303,24 +305,29 @@ SQLITE_API int sqlite3_rekey_v2(
) { return 0; } ) { return 0; }
SQLITE_API void sqlite3_activate_see( SQLITE_API void sqlite3_activate_see(
const char *zPassPhrase const char *zPassPhrase
) { return 0; } ) { }
#endif
#ifdef SQLITE_ENABLE_CEROD
SQLITE_API void sqlite3_activate_cerod( SQLITE_API void sqlite3_activate_cerod(
const char *zPassPhrase const char *zPassPhrase
) { return 0; } ) { }
#endif
SQLITE_API int sqlite3_sleep(int i) { return 0; } SQLITE_API int sqlite3_sleep(int i) { return 0; }
SQLITE_API SQLITE_EXTERN char *sqlite3_temp_directory;
SQLITE_API SQLITE_EXTERN char *sqlite3_data_directory;
SQLITE_API int sqlite3_win32_set_directory(
unsigned long type,
void *zValue
) { return 0; }
SQLITE_API int sqlite3_win32_set_directory8(unsigned long type, const char *zValue) { return 0; }
SQLITE_API int sqlite3_win32_set_directory16(unsigned long type, const void *zValue) { return 0; }
SQLITE_API int sqlite3_get_autocommit(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_get_autocommit(sqlite3 *db) { return 0; }
SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt *s) { return 0; } SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt *stmt) { return 0; }
SQLITE_API const char *sqlite3_db_filename(sqlite3 *db, const char *zDbName) { return 0; } SQLITE_API const char *sqlite3_db_filename(sqlite3 *db, const char *zDbName) { return 0; }
SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName) { return 0; } SQLITE_API int sqlite3_db_readonly(sqlite3 *db, const char *zDbName) { return 0; }
SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt) { return 0; } SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt) { return 0; }
SQLITE_API void *sqlite3_commit_hook(sqlite3 *db, int(*f)(void*), void *v) { return 0; } SQLITE_API void *sqlite3_commit_hook(sqlite3 *db, int(*cb)(void*), void *v) { return 0; }
SQLITE_API void *sqlite3_rollback_hook(sqlite3 *db, void(*f)(void *), void *v) { return 0; } SQLITE_API void *sqlite3_rollback_hook(sqlite3 *db, void(*cb)(void *), void *v) { return 0; }
SQLITE_API void *sqlite3_update_hook( SQLITE_API void *sqlite3_update_hook(
sqlite3 *db, sqlite3 *db,
void(*f)(void *,int ,char const *,char const *,sqlite3_int64), void(*cb)(void *,int ,char const *,char const *,sqlite3_int64 i64),
void *v void *v
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_enable_shared_cache(int i) { return 0; } SQLITE_API int sqlite3_enable_shared_cache(int i) { return 0; }
@ -348,7 +355,6 @@ SQLITE_API int sqlite3_load_extension(
SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff) { return 0; } SQLITE_API int sqlite3_enable_load_extension(sqlite3 *db, int onoff) { return 0; }
SQLITE_API int sqlite3_auto_extension(void(*xEntryPoint)(void)) { return 0; } SQLITE_API int sqlite3_auto_extension(void(*xEntryPoint)(void)) { return 0; }
SQLITE_API int sqlite3_cancel_auto_extension(void(*xEntryPoint)(void)) { return 0; } SQLITE_API int sqlite3_cancel_auto_extension(void(*xEntryPoint)(void)) { return 0; }
SQLITE_API void sqlite3_reset_auto_extension(void) { }
SQLITE_API int sqlite3_create_module( SQLITE_API int sqlite3_create_module(
sqlite3 *db, sqlite3 *db,
const char *zName, const char *zName,
@ -373,26 +379,29 @@ SQLITE_API int sqlite3_blob_open(
int flags, int flags,
sqlite3_blob **ppBlob sqlite3_blob **ppBlob
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *b, sqlite3_int64 i) { return 0; } SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *ppBlob, sqlite3_int64 i64) { return 0; }
SQLITE_API int sqlite3_blob_close(sqlite3_blob *b) { return 0; } SQLITE_API int sqlite3_blob_close(sqlite3_blob *ppBlob) { return 0; }
SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *b) { return 0; } SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *ppBlob) { return 0; }
SQLITE_API int sqlite3_blob_read(sqlite3_blob *b, void *Z, int N, int iOffset) { return 0; } SQLITE_API int sqlite3_blob_read(sqlite3_blob *ppBlob, void *Z, int N, int iOffset) { return 0; }
SQLITE_API int sqlite3_blob_write(sqlite3_blob *b, const void *z, int n, int iOffset) { return 0; } SQLITE_API int sqlite3_blob_write(sqlite3_blob *ppBlob, const void *z, int n, int iOffset) { return 0; }
SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName) { return 0; } SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName) { return 0; }
SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *v, int makeDflt) { return 0; } SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *s_vfs, int makeDflt) { return 0; }
SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs *v) { return 0; } SQLITE_API int sqlite3_vfs_unregister(sqlite3_vfs *s_vfs) { return 0; }
SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int i) { return 0; } SQLITE_API sqlite3_mutex *sqlite3_mutex_alloc(int i) { return 0; }
SQLITE_API void sqlite3_mutex_free(sqlite3_mutex *m) { } SQLITE_API int sqlite3_mutex_try(sqlite3_mutex *smtx) { return 0; }
SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex *m) { } SQLITE_API int sqlite3_mutex_held(sqlite3_mutex *smtx) { return 0; }
SQLITE_API int sqlite3_mutex_try(sqlite3_mutex *m) { return 0; } SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex *smtx) { return 0; }
SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex *m) { } SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3 *db) { return 0; }
#ifndef NDEBUG SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *v) { return 0; }
SQLITE_API int sqlite3_mutex_held(sqlite3_mutex *m) { return 0; }
SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex *m) { return 0; }
#endif
SQLITE_API sqlite3_mutex *sqlite3_db_mutex(sqlite3* db) { return 0; }
SQLITE_API int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void* v) { return 0; }
SQLITE_API int sqlite3_test_control(int op, ...) { return 0; } SQLITE_API int sqlite3_test_control(int op, ...) { return 0; }
SQLITE_API int sqlite3_keyword_count(void) { return 0; }
SQLITE_API int sqlite3_keyword_name(int i,const char **s,int *ii) { return 0; }
SQLITE_API int sqlite3_keyword_check(const char *s,int i) { return 0; }
SQLITE_API sqlite3_str *sqlite3_str_new(sqlite3 *db) { return 0; }
SQLITE_API char *sqlite3_str_finish(sqlite3_str *s_str) { return 0; }
SQLITE_API int sqlite3_str_errcode(sqlite3_str *s_str) { return 0; }
SQLITE_API int sqlite3_str_length(sqlite3_str *s_str) { return 0; }
SQLITE_API char *sqlite3_str_value(sqlite3_str *s_str) { return 0; }
SQLITE_API int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag) { return 0; } SQLITE_API int sqlite3_status(int op, int *pCurrent, int *pHighwater, int resetFlag) { return 0; }
SQLITE_API int sqlite3_status64( SQLITE_API int sqlite3_status64(
int op, int op,
@ -401,7 +410,7 @@ SQLITE_API int sqlite3_status64(
int resetFlag int resetFlag
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_db_status(sqlite3 *db, int op, int *pCur, int *pHiwtr, int resetFlg) { return 0; } SQLITE_API int sqlite3_db_status(sqlite3 *db, int op, int *pCur, int *pHiwtr, int resetFlg) { return 0; }
SQLITE_API int sqlite3_stmt_status(sqlite3_stmt* s, int op,int resetFlg) { return 0; } SQLITE_API int sqlite3_stmt_status(sqlite3_stmt *stmt, int op,int resetFlg) { return 0; }
SQLITE_API sqlite3_backup *sqlite3_backup_init( SQLITE_API sqlite3_backup *sqlite3_backup_init(
sqlite3 *pDest, sqlite3 *pDest,
const char *zDestName, const char *zDestName,
@ -421,10 +430,9 @@ SQLITE_API int sqlite3_stricmp(const char *s, const char *ss) { return 0; }
SQLITE_API int sqlite3_strnicmp(const char *s, const char *ss, int i) { return 0; } SQLITE_API int sqlite3_strnicmp(const char *s, const char *ss, int i) { return 0; }
SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr) { return 0; } SQLITE_API int sqlite3_strglob(const char *zGlob, const char *zStr) { return 0; }
SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc) { return 0; } SQLITE_API int sqlite3_strlike(const char *zGlob, const char *zStr, unsigned int cEsc) { return 0; }
SQLITE_API void sqlite3_log(int iErrCode, const char *zFormat, ...) { }
SQLITE_API void *sqlite3_wal_hook( SQLITE_API void *sqlite3_wal_hook(
sqlite3 *db, sqlite3 *db,
int(*f)(void *,sqlite3 *db,const char*,int i), int(*cb)(void *,sqlite3 *db,const char *s,int i),
void *v void *v
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int N) { return 0; } SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int N) { return 0; }
@ -436,31 +444,17 @@ SQLITE_API int sqlite3_wal_checkpoint_v2(
int *pnLog, int *pnLog,
int *pnCkpt int *pnCkpt
) { return 0; } ) { return 0; }
#define SQLITE_CHECKPOINT_PASSIVE 0
#define SQLITE_CHECKPOINT_FULL 1
#define SQLITE_CHECKPOINT_RESTART 2
#define SQLITE_CHECKPOINT_TRUNCATE 3
SQLITE_API int sqlite3_vtab_config(sqlite3 *db, int op, ...) { return 0; } SQLITE_API int sqlite3_vtab_config(sqlite3 *db, int op, ...) { return 0; }
#define SQLITE_VTAB_CONSTRAINT_SUPPORT 1
SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *db) { return 0; }
#define SQLITE_ROLLBACK 1 SQLITE_API int sqlite3_vtab_nochange(sqlite3_context *sctx) { return 0; }
#define SQLITE_FAIL 3 SQLITE_API SQLITE_EXPERIMENTAL const char *sqlite3_vtab_collation(sqlite3_index_info *info,int i) { return 0; }
#define SQLITE_REPLACE 5
#define SQLITE_SCANSTAT_NLOOP 0
#define SQLITE_SCANSTAT_NVISIT 1
#define SQLITE_SCANSTAT_EST 2
#define SQLITE_SCANSTAT_NAME 3
#define SQLITE_SCANSTAT_EXPLAIN 4
#define SQLITE_SCANSTAT_SELECTID 5
SQLITE_API int sqlite3_stmt_scanstatus( SQLITE_API int sqlite3_stmt_scanstatus(
sqlite3_stmt *pStmt, sqlite3_stmt *pStmt,
int idx, int idx,
int iScanStatusOp, int iScanStatusOp,
void *pOut void *pOut
) { return 0; } ) { return 0; }
SQLITE_API void sqlite3_stmt_scanstatus_reset(sqlite3_stmt *s) { } SQLITE_API int sqlite3_db_cacheflush(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_db_cacheflush(sqlite3* db) { return 0; }
#if defined(SQLITE_ENABLE_PREUPDATE_HOOK)
SQLITE_API void *sqlite3_preupdate_hook( SQLITE_API void *sqlite3_preupdate_hook(
sqlite3 *db, sqlite3 *db,
void(*xPreUpdate)( void(*xPreUpdate)(
@ -472,13 +466,12 @@ SQLITE_API void *sqlite3_preupdate_hook(
sqlite3_int64 iKey1, sqlite3_int64 iKey1,
sqlite3_int64 iKey2 sqlite3_int64 iKey2
), ),
void* void *v
) { return 0; } ) { return 0; }
SQLITE_API int sqlite3_preupdate_old(sqlite3 *, int i, sqlite3_value **) { return 0; } SQLITE_API int sqlite3_preupdate_old(sqlite3 *db, int i, sqlite3_value **s_val) { return 0; }
SQLITE_API int sqlite3_preupdate_count(sqlite3 *) { return 0; } SQLITE_API int sqlite3_preupdate_count(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_preupdate_depth(sqlite3 *) { return 0; } SQLITE_API int sqlite3_preupdate_depth(sqlite3 *db) { return 0; }
SQLITE_API int sqlite3_preupdate_new(sqlite3 *, int i, sqlite3_value **) { return 0; } SQLITE_API int sqlite3_preupdate_new(sqlite3 *db, int i, sqlite3_value **s_val) { return 0; }
#endif
SQLITE_API int sqlite3_system_errno(sqlite3 *db) { return 0; } SQLITE_API int sqlite3_system_errno(sqlite3 *db) { return 0; }
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get( SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get(
sqlite3 *db, sqlite3 *db,
@ -490,12 +483,26 @@ SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open(
const char *zSchema, const char *zSchema,
sqlite3_snapshot *pSnapshot sqlite3_snapshot *pSnapshot
) { return 0; } ) { return 0; }
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot* s) { } SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot *s_sn) { }
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp( SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp(
sqlite3_snapshot *p1, sqlite3_snapshot *p1,
sqlite3_snapshot *p2 sqlite3_snapshot *p2
) { return 0; } ) { return 0; }
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb) { return 0; } SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_recover(sqlite3 *db, const char *zDb) { return 0; }
SQLITE_API unsigned char *sqlite3_serialize(
sqlite3 *db,
const char *zSchema,
sqlite3_int64 *piSize,
unsigned int mFlags
) { return 0; }
SQLITE_API int sqlite3_deserialize(
sqlite3 *db,
const char *zSchema,
unsigned char *pData,
sqlite3_int64 szDb,
sqlite3_int64 szBuf,
unsigned mFlags
) { return 0; }
SQLITE_API int sqlite3_rtree_geometry_callback( SQLITE_API int sqlite3_rtree_geometry_callback(
sqlite3 *db, sqlite3 *db,
const char *zGeom, const char *zGeom,
@ -509,168 +516,255 @@ SQLITE_API int sqlite3_rtree_query_callback(
void *pContext, void *pContext,
void (*xDestructor)(void*) void (*xDestructor)(void*)
) { return 0; } ) { return 0; }
typedef struct sqlite3_session sqlite3_session; //SQLITE_API int sqlite3session_create(
typedef struct sqlite3_changeset_iter sqlite3_changeset_iter; // sqlite3 *db,
SQLITE_API int sqlite3session_create( // const char *zDb,
sqlite3 *db, // sqlite3_session **ppSession
const char *zDb, //) { return 0; }
sqlite3_session **ppSession //SQLITE_API int sqlite3session_enable(sqlite3_session *pSession, int bEnable) { return 0; }
) { return 0; } //SQLITE_API int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect) { return 0; }
SQLITE_API void sqlite3session_delete(sqlite3_session *pSession) { } //SQLITE_API int sqlite3session_attach(
SQLITE_API int sqlite3session_enable(sqlite3_session *pSession, int bEnable) { return 0; } // sqlite3_session *pSession,
SQLITE_API int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect) { return 0; } // const char *zTab
SQLITE_API int sqlite3session_attach( //) { return 0; }
sqlite3_session *pSession, //SQLITE_API void sqlite3session_table_filter(
const char *zTab // sqlite3_session *pSession,
) { return 0; } // int(*xFilter)(
SQLITE_API void sqlite3session_table_filter( // void *pCtx,
sqlite3_session *pSession, // const char *zTab
int(*xFilter)( // ),
void *pCtx, // void *pCtx
const char *zTab //) { return 0; }
), //SQLITE_API int sqlite3session_changeset(
void *pCtx // sqlite3_session *pSession,
) { } // int *pnChangeset,
SQLITE_API int sqlite3session_changeset( // void **ppChangeset
sqlite3_session *pSession, //) { return 0; }
int *pnChangeset, //SQLITE_API int sqlite3session_diff(
void **ppChangeset // sqlite3_session *pSession,
) { return 0; } // const char *zFromDb,
SQLITE_API int sqlite3session_diff( // const char *zTbl,
sqlite3_session *pSession, // char **pzErrMsg
const char *zFromDb, //) { return 0; }
const char *zTbl, //SQLITE_API int sqlite3session_patchset(
char **pzErrMsg // sqlite3_session *pSession,
) { return 0; } // int *pnPatchset,
SQLITE_API int sqlite3session_patchset( // void **ppPatchset
sqlite3_session *pSession, //) { return 0; }
int *pnPatchset, //SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession) { return 0; }
void **ppPatchset //SQLITE_API int sqlite3changeset_start(
) { return 0; } // sqlite3_changeset_iter **pp,
SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession) { return 0; } // int nChangeset,
SQLITE_API int sqlite3changeset_start( // void *pChangeset
sqlite3_changeset_iter **pp, //) { return 0; }
int nChangeset, //SQLITE_API int sqlite3changeset_next(sqlite3_changeset_iter *pIter) { return 0; }
void *pChangeset //SQLITE_API int sqlite3changeset_op(
) { return 0; } // sqlite3_changeset_iter *pIter,
SQLITE_API int sqlite3changeset_next(sqlite3_changeset_iter *pIter) { return 0; } // const char **pzTab,
SQLITE_API int sqlite3changeset_op( // int *pnCol,
sqlite3_changeset_iter *pIter, // int *pOp,
const char **pzTab, // int *pbIndirect
int *pnCol, //) { return 0; }
int *pOp, //SQLITE_API int sqlite3changeset_pk(
int *pbIndirect // sqlite3_changeset_iter *pIter,
) { return 0; } // unsigned char **pabPK,
SQLITE_API int sqlite3changeset_pk( // int *pnCol
sqlite3_changeset_iter *pIter, //) { return 0; }
unsigned char **pabPK, //SQLITE_API int sqlite3changeset_old(
int *pnCol // sqlite3_changeset_iter *pIter,
) { return 0; } // int iVal,
SQLITE_API int sqlite3changeset_old( // sqlite3_value **ppValue
sqlite3_changeset_iter *pIter, //) { return 0; }
int iVal, //SQLITE_API int sqlite3changeset_new(
sqlite3_value **ppValue // sqlite3_changeset_iter *pIter,
) { return 0; } // int iVal,
SQLITE_API int sqlite3changeset_new( // sqlite3_value **ppValue
sqlite3_changeset_iter *pIter, //) { return 0; }
int iVal, //SQLITE_API int sqlite3changeset_conflict(
sqlite3_value **ppValue // sqlite3_changeset_iter *pIter,
) { return 0; } // int iVal,
SQLITE_API int sqlite3changeset_conflict( // sqlite3_value **ppValue
sqlite3_changeset_iter *pIter, //) { return 0; }
int iVal, //SQLITE_API int sqlite3changeset_fk_conflicts(
sqlite3_value **ppValue // sqlite3_changeset_iter *pIter,
) { return 0; } // int *pnOut
SQLITE_API int sqlite3changeset_fk_conflicts( //) { return 0; }
sqlite3_changeset_iter *pIter, //SQLITE_API int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter) { return 0; }
int *pnOut //SQLITE_API int sqlite3changeset_invert(
) { return 0; } // int nIn, const void *pIn,
SQLITE_API int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter) { return 0; } // int *pnOut, void **ppOut
SQLITE_API int sqlite3changeset_invert( //) { return 0; }
int nIn, const void *pIn, //SQLITE_API int sqlite3changeset_concat(
int *pnOut, void **ppOut // int nA,
) { return 0; } // void *pA,
SQLITE_API int sqlite3changeset_concat( // int nB,
int nA, // void *pB,
void *pA, // int *pnOut,
int nB, // void **ppOut
void *pB, //) { return 0; }
int *pnOut, //SQLITE_API int sqlite3changegroup_new(sqlite3_changegroup **pp) { return 0; }
void **ppOut //SQLITE_API int sqlite3changegroup_add(sqlite3_changegroup* scg, int nData, void *pData) { return 0; }
) { return 0; } //SQLITE_API int sqlite3changegroup_output(
typedef struct sqlite3_changegroup sqlite3_changegroup; // sqlite3_changegroup* scg,
int sqlite3changegroup_new(sqlite3_changegroup **pp) { return 0; } // int *pnData,
int sqlite3changegroup_add(sqlite3_changegroup *c, int nData, void *pData) { return 0; } // void **ppData
int sqlite3changegroup_output( //) { return 0; }
sqlite3_changegroup *c, //SQLITE_API int sqlite3changeset_apply(
int *pnData, // sqlite3 *db,
void **ppData // int nChangeset,
) { return 0; } // void *pChangeset,
void sqlite3changegroup_delete(sqlite3_changegroup *c) { } // int(*xFilter)(
SQLITE_API int sqlite3changeset_apply( // void *pCtx,
sqlite3 *db, // const char *zTab
int nChangeset, // ),
void *pChangeset, // int(*xConflict)(
int(*xFilter)( // void *pCtx,
void *pCtx, // int eConflict,
const char *zTab // sqlite3_changeset_iter *p
), // ),
int(*xConflict)( // void *pCtx
void *pCtx, //) { return 0; }
int eConflict, //SQLITE_API int sqlite3changeset_apply_v2(
sqlite3_changeset_iter *p // sqlite3 *db,
), // int nChangeset,
void *pCtx // void *pChangeset,
) { return 0; } // int(*xFilter)(
SQLITE_API int sqlite3changeset_apply_strm( // void *pCtx,
sqlite3 *db, // const char *zTab
int (*xInput)(void *pIn, void *pData, int *pnData), // ),
void *pIn, // int(*xConflict)(
int(*xFilter)( // void *pCtx,
void *pCtx, // int eConflict,
const char *zTab // sqlite3_changeset_iter *p
), // ),
int(*xConflict)( // void *pCtx,
void *pCtx, // void **ppRebase, int *pnRebase,
int eConflict, // int flags
sqlite3_changeset_iter *p //) { return 0; }
), //SQLITE_API int sqlite3rebaser_create(sqlite3_rebaser **ppNew) { return 0; }
void *pCtx //SQLITE_API int sqlite3rebaser_configure(
) { return 0; } // sqlite3_rebaser*,
SQLITE_API int sqlite3changeset_concat_strm( // int nRebase, const void *pRebase
int (*xInputA)(void *pIn, void *pData, int *pnData), //) { return 0; }
void *pInA, //SQLITE_API int sqlite3rebaser_rebase(
int (*xInputB)(void *pIn, void *pData, int *pnData), // sqlite3_rebaser*,
void *pInB, // int nIn, const void *pIn,
int (*xOutput)(void *pOut, const void *pData, int nData), // int *pnOut, void **ppOut
void *pOut //) { return 0; }
) { return 0; } //SQLITE_API int sqlite3changeset_apply_strm(
SQLITE_API int sqlite3changeset_invert_strm( // sqlite3 *db,
int (*xInput)(void *pIn, void *pData, int *pnData), // int (*xInput)(void *pIn, void *pData, int *pnData),
void *pIn, // void *pIn,
int (*xOutput)(void *pOut, const void *pData, int nData), // int(*xFilter)(
void *pOut // void *pCtx,
) { return 0; } // const char *zTab
SQLITE_API int sqlite3changeset_start_strm( // ),
sqlite3_changeset_iter **pp, // int(*xConflict)(
int (*xInput)(void *pIn, void *pData, int *pnData), // void *pCtx,
void *pIn // int eConflict,
) { return 0; } // sqlite3_changeset_iter *p
SQLITE_API int sqlite3session_changeset_strm( // ),
sqlite3_session *pSession, // void *pCtx
int (*xOutput)(void *pOut, const void *pData, int nData), //) { return 0; }
void *pOut //SQLITE_API int sqlite3changeset_apply_v2_strm(
) { return 0; } // sqlite3 *db,
SQLITE_API int sqlite3session_patchset_strm( // int (*xInput)(void *pIn, void *pData, int *pnData),
sqlite3_session *pSession, // void *pIn,
int (*xOutput)(void *pOut, const void *pData, int nData), // int(*xFilter)(
void *pOut // void *pCtx,
) { return 0; } // const char *zTab
int sqlite3changegroup_add_strm(sqlite3_changegroup *c, // ),
int (*xInput)(void *pIn, void *pData, int *pnData), // int(*xConflict)(
void *pIn // void *pCtx,
) { return 0; } // int eConflict,
int sqlite3changegroup_output_strm(sqlite3_changegroup *c, // sqlite3_changeset_iter *p
int (*xOutput)(void *pOut, const void *pData, int nData), // ),
void *pOut // void *pCtx,
) { return 0; } // void **ppRebase, int *pnRebase,
// int flags
//) { return 0; }
//SQLITE_API int sqlite3changeset_concat_strm(
// int (*xInputA)(void *pIn, void *pData, int *pnData),
// void *pInA,
// int (*xInputB)(void *pIn, void *pData, int *pnData),
// void *pInB,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
//SQLITE_API int sqlite3changeset_invert_strm(
// int (*xInput)(void *pIn, void *pData, int *pnData),
// void *pIn,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
//SQLITE_API int sqlite3changeset_start_strm(
// sqlite3_changeset_iter **pp,
// int (*xInput)(void *pIn, void *pData, int *pnData),
// void *pIn
//) { return 0; }
//SQLITE_API int sqlite3session_changeset_strm(
// sqlite3_session *pSession,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
//SQLITE_API int sqlite3session_patchset_strm(
// sqlite3_session *pSession,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
//SQLITE_API int sqlite3changegroup_add_strm(sqlite3_changegroup* scg,
// int (*xInput)(void *pIn, void *pData, int *pnData),
// void *pIn
//) { return 0; }
//SQLITE_API int sqlite3changegroup_output_strm(sqlite3_changegroup* scg,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
//SQLITE_API int sqlite3rebaser_rebase_strm(
// sqlite3_rebaser *pRebaser,
// int (*xInput)(void *pIn, void *pData, int *pnData),
// void *pIn,
// int (*xOutput)(void *pOut, const void *pData, int nData),
// void *pOut
//) { return 0; }
SQLITE_API void sqlite3_set_last_insert_rowid(sqlite3 *db,sqlite3_int64 i64) {}
SQLITE_API void sqlite3_interrupt(sqlite3 *db) {}
SQLITE_API void sqlite3_free_table(char **result) {}
SQLITE_API void sqlite3_free(void *v) {}
SQLITE_API void sqlite3_randomness(int N, void *P) {}
SQLITE_API void sqlite3_progress_handler(sqlite3 *db, int i, int(*cb)(void*), void *v) {}
SQLITE_API void sqlite3_value_free(sqlite3_value *s_val) {}
SQLITE_API void sqlite3_set_auxdata(sqlite3_context *sctx, int N, void *v, void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_blob(sqlite3_context *sctx, const void *v, int i, void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_double(sqlite3_context *sctx, double df) {}
SQLITE_API void sqlite3_result_error(sqlite3_context *sctx, const char *s, int i) {}
SQLITE_API void sqlite3_result_error16(sqlite3_context *sctx, const void *v, int i) {}
SQLITE_API void sqlite3_result_error_toobig(sqlite3_context *sctx) {}
SQLITE_API void sqlite3_result_error_nomem(sqlite3_context *sctx) {}
SQLITE_API void sqlite3_result_error_code(sqlite3_context *sctx, int i) {}
SQLITE_API void sqlite3_result_int(sqlite3_context *sctx, int i) {}
SQLITE_API void sqlite3_result_int64(sqlite3_context *sctx, sqlite3_int64 i64) {}
SQLITE_API void sqlite3_result_null(sqlite3_context *sctx) {}
SQLITE_API void sqlite3_result_text(sqlite3_context *sctx, const char *s, int i, void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_text16(sqlite3_context *sctx, const void *v, int i, void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_text16le(sqlite3_context *sctx, const void *v, int i,void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_text16be(sqlite3_context *sctx, const void *v, int i,void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_value(sqlite3_context *sctx, sqlite3_value *s_val) {}
SQLITE_API void sqlite3_result_pointer(sqlite3_context *sctx, void *v,const char *s,void(*cb)(void*)) {}
SQLITE_API void sqlite3_result_zeroblob(sqlite3_context *sctx, int n) {}
SQLITE_API void sqlite3_result_subtype(sqlite3_context *sctx,unsigned int i) {}
SQLITE_API void sqlite3_reset_auto_extension(void) {}
SQLITE_API void sqlite3_mutex_free(sqlite3_mutex *smtx) {}
SQLITE_API void sqlite3_mutex_enter(sqlite3_mutex *smtx) {}
SQLITE_API void sqlite3_mutex_leave(sqlite3_mutex *smtx) {}
SQLITE_API void sqlite3_str_appendf(sqlite3_str *s_str, const char *zFormat, ...) {}
SQLITE_API void sqlite3_str_vappendf(sqlite3_str *s_str, const char *zFormat, va_list va) {}
SQLITE_API void sqlite3_str_append(sqlite3_str *s_str, const char *zIn, int N) {}
SQLITE_API void sqlite3_str_appendall(sqlite3_str *s_str, const char *zIn) {}
SQLITE_API void sqlite3_str_appendchar(sqlite3_str *s_str, int N, char C) {}
SQLITE_API void sqlite3_str_reset(sqlite3_str *s_str) {}
SQLITE_API void sqlite3_log(int iErrCode, const char *zFormat, ...) {}
SQLITE_API void sqlite3_stmt_scanstatus_reset(sqlite3_stmt *stmt) {}
//SQLITE_API void sqlite3session_delete(sqlite3_session *pSession) {}
//SQLITE_API void sqlite3changegroup_delete(sqlite3_changegroup*) {}
//SQLITE_API void sqlite3rebaser_delete(sqlite3_rebaser *p) {}