mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-20 23:17:37 +00:00
771 lines
32 KiB
C
771 lines
32 KiB
C
#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_sourceid(void) { return 0; }
|
|
SQLITE_API int sqlite3_libversion_number(void) { 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 int sqlite3_threadsafe(void) { 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_exec(
|
|
sqlite3 *db,
|
|
const char *sql,
|
|
int (*callback)(void *v,int i,char**,char**),
|
|
void *v,
|
|
char **errmsg
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_initialize(void) { return 0; }
|
|
SQLITE_API int sqlite3_shutdown(void) { return 0; }
|
|
SQLITE_API int sqlite3_os_init(void) { return 0; }
|
|
SQLITE_API int sqlite3_os_end(void) { return 0; }
|
|
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_extended_result_codes(sqlite3 *db, int onoff) { return 0; }
|
|
SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid(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_complete(const char *sql) { return 0; }
|
|
SQLITE_API int sqlite3_complete16(const void *sql) { 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_get_table(
|
|
sqlite3 *db,
|
|
const char *zSql,
|
|
char ***pazResult,
|
|
int *pnRow,
|
|
int *pnColumn,
|
|
char **pzErrmsg
|
|
) { 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_snprintf(int i,char *s,const char *ss, ...) { return 0; }
|
|
SQLITE_API char *sqlite3_vsnprintf(int i,char *s,const char *ss, va_list va) { return 0; }
|
|
SQLITE_API void *sqlite3_malloc(int 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_realloc64(void *v, sqlite3_uint64 u64) { 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_highwater(int resetFlag) { return 0; }
|
|
SQLITE_API int sqlite3_set_authorizer(
|
|
sqlite3 *db,
|
|
int (*xAuth)(void *v,int i,const char *s,const char *ss,const char *sss,const char*),
|
|
void *pUserData
|
|
) { return 0; }
|
|
SQLITE_API SQLITE_DEPRECATED void *sqlite3_trace(sqlite3 *db,
|
|
void(*xTrace)(void *v,const char*), void *v) { return 0; }
|
|
SQLITE_API SQLITE_DEPRECATED void *sqlite3_profile(sqlite3 *db,
|
|
void(*xProfile)(void *v,const char *s,sqlite3_uint64 u64), void *v) { return 0; }
|
|
SQLITE_API int sqlite3_trace_v2(
|
|
sqlite3 *db,
|
|
unsigned uMask,
|
|
int(*xCallback)(unsigned,void*,void*,void*),
|
|
void *pCtx
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_open(
|
|
const char *filename,
|
|
sqlite3 **ppDb
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_open16(
|
|
const void *filename,
|
|
sqlite3 **ppDb
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_open_v2(
|
|
const char *filename,
|
|
sqlite3 **ppDb,
|
|
int flags,
|
|
const char *zVfs
|
|
) { 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 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_extended_errcode(sqlite3 *db) { return 0; }
|
|
SQLITE_API const char *sqlite3_errmsg(sqlite3 *db) { return 0; }
|
|
SQLITE_API const void *sqlite3_errmsg16(sqlite3 *db) { return 0; }
|
|
SQLITE_API const char *sqlite3_errstr(int i) { return 0; }
|
|
SQLITE_API int sqlite3_limit(sqlite3 *db, int id, int newVal) { return 0; }
|
|
SQLITE_API int sqlite3_prepare(
|
|
sqlite3 *db,
|
|
const char *zSql,
|
|
int nByte,
|
|
sqlite3_stmt **ppStmt,
|
|
const char **pzTail
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_prepare_v2(
|
|
sqlite3 *db,
|
|
const char *zSql,
|
|
int nByte,
|
|
sqlite3_stmt **ppStmt,
|
|
const char **pzTail
|
|
) { 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(
|
|
sqlite3 *db,
|
|
const void *zSql,
|
|
int nByte,
|
|
sqlite3_stmt **ppStmt,
|
|
const void **pzTail
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_prepare16_v2(
|
|
sqlite3 *db,
|
|
const void *zSql,
|
|
int nByte,
|
|
sqlite3_stmt **ppStmt,
|
|
const void **pzTail
|
|
) { 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 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_busy(sqlite3_stmt *stmt) { 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 *stmt, int i, const void *v, sqlite3_uint64 u64,
|
|
void(*cb)(void*)) { 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 *stmt, int i, int 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 *stmt, int i) { 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 *stmt, int i, const void *v, int ii, void(*cb)(void*)) { return 0; }
|
|
SQLITE_API int sqlite3_bind_text64(sqlite3_stmt *stmt, int i, const char *s, sqlite3_uint64 u64,
|
|
void(*cb)(void*), unsigned char encoding) { 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_pointer(sqlite3_stmt *stmt, int i, void *v, const char *s,void(*cb)(void*)) { return 0; }
|
|
SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *stmt, int i, int n) { return 0; }
|
|
SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt *stmt, int i, sqlite3_uint64 u64) { return 0; }
|
|
SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *stmt) { return 0; }
|
|
SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt *stmt, int i) { 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 const char *sqlite3_column_name(sqlite3_stmt *stmt, 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 *stmt,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 *stmt,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 *stmt,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 *stmt,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 *stmt) { return 0; }
|
|
SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt) { return 0; }
|
|
SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API double sqlite3_column_double(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API int sqlite3_column_int(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *stmt, int iCol) { return 0; }
|
|
SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt *stmt, 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_reset(sqlite3_stmt *pStmt) { return 0; }
|
|
SQLITE_API int sqlite3_create_function(
|
|
sqlite3 *db,
|
|
const char *zFunctionName,
|
|
int nArg,
|
|
int eTextRep,
|
|
void *pApp,
|
|
void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xFinal)(sqlite3_context *sctx)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_function16(
|
|
sqlite3 *db,
|
|
const void *zFunctionName,
|
|
int nArg,
|
|
int eTextRep,
|
|
void *pApp,
|
|
void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xFinal)(sqlite3_context *sctx)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_function_v2(
|
|
sqlite3 *db,
|
|
const char *zFunctionName,
|
|
int nArg,
|
|
int eTextRep,
|
|
void *pApp,
|
|
void (*xFunc)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xStep)(sqlite3_context *sctx,int i,sqlite3_value**),
|
|
void (*xFinal)(sqlite3_context *sctx),
|
|
void(*xDestroy)(void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_window_function(
|
|
sqlite3 *db,
|
|
const char *zFunctionName,
|
|
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 void sqlite3_thread_cleanup(void) { }
|
|
SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm(void(*cb)(void *v,sqlite3_int64,int i),
|
|
void *v,sqlite3_int64 i64) { return 0; }
|
|
SQLITE_API const void *sqlite3_value_blob(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API double sqlite3_value_double(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_int(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API sqlite3_int64 sqlite3_value_int64(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API void *sqlite3_value_pointer(sqlite3_value *s_val, const char *s) { return 0; }
|
|
SQLITE_API const unsigned char *sqlite3_value_text(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API const void *sqlite3_value_text16(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API const void *sqlite3_value_text16le(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API const void *sqlite3_value_text16be(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_bytes(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_bytes16(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_type(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_numeric_type(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API int sqlite3_value_nochange(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API unsigned int sqlite3_value_subtype(sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API sqlite3_value *sqlite3_value_dup(const sqlite3_value *s_val) { return 0; }
|
|
SQLITE_API void *sqlite3_aggregate_context(sqlite3_context *sctx, int nBytes) { return 0; }
|
|
SQLITE_API void *sqlite3_user_data(sqlite3_context *sctx) { return 0; }
|
|
SQLITE_API sqlite3 *sqlite3_context_db_handle(sqlite3_context *sctx) { return 0; }
|
|
SQLITE_API void *sqlite3_get_auxdata(sqlite3_context *sctx, int N) { return 0; }
|
|
SQLITE_API void sqlite3_result_blob64(sqlite3_context *sctx,const void *v,
|
|
sqlite3_uint64 u64,void(*cb)(void*)) { }
|
|
SQLITE_API void sqlite3_result_text64(sqlite3_context *sctx, const char *s,sqlite3_uint64 u64,
|
|
void(*cb)(void*), unsigned char encoding) { }
|
|
SQLITE_API int sqlite3_result_zeroblob64(sqlite3_context *sctx, sqlite3_uint64 n) { return 0; }
|
|
SQLITE_API int sqlite3_create_collation(
|
|
sqlite3 *db,
|
|
const char *zName,
|
|
int eTextRep,
|
|
void *pArg,
|
|
int(*xCompare)(void*,int,const void*,int,const void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_collation_v2(
|
|
sqlite3 *db,
|
|
const char *zName,
|
|
int eTextRep,
|
|
void *pArg,
|
|
int(*xCompare)(void *v,int i,const void*,int,const void*),
|
|
void(*xDestroy)(void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_collation16(
|
|
sqlite3 *db,
|
|
const void *zName,
|
|
int eTextRep,
|
|
void *pArg,
|
|
int(*xCompare)(void*,int,const void*,int,const void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_collation_needed(
|
|
sqlite3 *db,
|
|
void *v,
|
|
void(*cb)(void *v,sqlite3 *db,int eTextRep,const char*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_collation_needed16(
|
|
sqlite3 *db,
|
|
void *v,
|
|
void(*cb)(void *v,sqlite3 *db,int eTextRep,const void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_key(
|
|
sqlite3 *db,
|
|
const void *pKey, int nKey
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_key_v2(
|
|
sqlite3 *db,
|
|
const char *zDbName,
|
|
const void *pKey, int nKey
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_rekey(
|
|
sqlite3 *db,
|
|
const void *pKey, int nKey
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_rekey_v2(
|
|
sqlite3 *db,
|
|
const char *zDbName,
|
|
const void *pKey, int nKey
|
|
) { return 0; }
|
|
SQLITE_API void sqlite3_activate_see(
|
|
const char *zPassPhrase
|
|
) { }
|
|
SQLITE_API void sqlite3_activate_cerod(
|
|
const char *zPassPhrase
|
|
) { }
|
|
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 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 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 void *sqlite3_commit_hook(sqlite3 *db, int(*cb)(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(
|
|
sqlite3 *db,
|
|
void(*cb)(void *,int ,char const *,char const *,sqlite3_int64 i64),
|
|
void *v
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_enable_shared_cache(int i) { return 0; }
|
|
SQLITE_API int sqlite3_release_memory(int i) { return 0; }
|
|
SQLITE_API int sqlite3_db_release_memory(sqlite3 *db) { return 0; }
|
|
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N) { return 0; }
|
|
SQLITE_API SQLITE_DEPRECATED void sqlite3_soft_heap_limit(int N) { }
|
|
SQLITE_API int sqlite3_table_column_metadata(
|
|
sqlite3 *db,
|
|
const char *zDbName,
|
|
const char *zTableName,
|
|
const char *zColumnName,
|
|
char const **pzDataType,
|
|
char const **pzCollSeq,
|
|
int *pNotNull,
|
|
int *pPrimaryKey,
|
|
int *pAutoinc
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_load_extension(
|
|
sqlite3 *db,
|
|
const char *zFile,
|
|
const char *zProc,
|
|
char **pzErrMsg
|
|
) { 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_cancel_auto_extension(void(*xEntryPoint)(void)) { return 0; }
|
|
SQLITE_API int sqlite3_create_module(
|
|
sqlite3 *db,
|
|
const char *zName,
|
|
const sqlite3_module *p,
|
|
void *pClientData
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_create_module_v2(
|
|
sqlite3 *db,
|
|
const char *zName,
|
|
const sqlite3_module *p,
|
|
void *pClientData,
|
|
void(*xDestroy)(void*)
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_declare_vtab(sqlite3 *db, const char *zSQL) { return 0; }
|
|
SQLITE_API int sqlite3_overload_function(sqlite3 *db, const char *zFuncName, int nArg) { return 0; }
|
|
SQLITE_API int sqlite3_blob_open(
|
|
sqlite3 *db,
|
|
const char *zDb,
|
|
const char *zTable,
|
|
const char *zColumn,
|
|
sqlite3_int64 iRow,
|
|
int flags,
|
|
sqlite3_blob **ppBlob
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_blob_reopen(sqlite3_blob *ppBlob, sqlite3_int64 i64) { return 0; }
|
|
SQLITE_API int sqlite3_blob_close(sqlite3_blob *ppBlob) { return 0; }
|
|
SQLITE_API int sqlite3_blob_bytes(sqlite3_blob *ppBlob) { 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 *ppBlob, const void *z, int n, int iOffset) { return 0; }
|
|
SQLITE_API sqlite3_vfs *sqlite3_vfs_find(const char *zVfsName) { return 0; }
|
|
SQLITE_API int sqlite3_vfs_register(sqlite3_vfs *s_vfs, int makeDflt) { 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 int sqlite3_mutex_try(sqlite3_mutex *smtx) { return 0; }
|
|
SQLITE_API int sqlite3_mutex_held(sqlite3_mutex *smtx) { return 0; }
|
|
SQLITE_API int sqlite3_mutex_notheld(sqlite3_mutex *smtx) { return 0; }
|
|
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_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_status64(
|
|
int op,
|
|
sqlite3_int64 *pCurrent,
|
|
sqlite3_int64 *pHighwater,
|
|
int resetFlag
|
|
) { 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 *stmt, int op,int resetFlg) { return 0; }
|
|
SQLITE_API sqlite3_backup *sqlite3_backup_init(
|
|
sqlite3 *pDest,
|
|
const char *zDestName,
|
|
sqlite3 *pSource,
|
|
const char *zSourceName
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_backup_step(sqlite3_backup *p, int nPage) { return 0; }
|
|
SQLITE_API int sqlite3_backup_finish(sqlite3_backup *p) { return 0; }
|
|
SQLITE_API int sqlite3_backup_remaining(sqlite3_backup *p) { return 0; }
|
|
SQLITE_API int sqlite3_backup_pagecount(sqlite3_backup *p) { return 0; }
|
|
SQLITE_API int sqlite3_unlock_notify(
|
|
sqlite3 *pBlocked,
|
|
void (*xNotify)(void **apArg, int nArg),
|
|
void *pNotifyArg
|
|
) { return 0; }
|
|
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_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 void *sqlite3_wal_hook(
|
|
sqlite3 *db,
|
|
int(*cb)(void *,sqlite3 *db,const char *s,int i),
|
|
void *v
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_wal_autocheckpoint(sqlite3 *db, int N) { return 0; }
|
|
SQLITE_API int sqlite3_wal_checkpoint(sqlite3 *db, const char *zDb) { return 0; }
|
|
SQLITE_API int sqlite3_wal_checkpoint_v2(
|
|
sqlite3 *db,
|
|
const char *zDb,
|
|
int eMode,
|
|
int *pnLog,
|
|
int *pnCkpt
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_vtab_config(sqlite3 *db, int op, ...) { return 0; }
|
|
SQLITE_API int sqlite3_vtab_on_conflict(sqlite3 *db) { return 0; }
|
|
SQLITE_API int sqlite3_vtab_nochange(sqlite3_context *sctx) { return 0; }
|
|
SQLITE_API SQLITE_EXPERIMENTAL const char *sqlite3_vtab_collation(sqlite3_index_info *info,int i) { return 0; }
|
|
SQLITE_API int sqlite3_stmt_scanstatus(
|
|
sqlite3_stmt *pStmt,
|
|
int idx,
|
|
int iScanStatusOp,
|
|
void *pOut
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_db_cacheflush(sqlite3 *db) { return 0; }
|
|
SQLITE_API void *sqlite3_preupdate_hook(
|
|
sqlite3 *db,
|
|
void(*xPreUpdate)(
|
|
void *pCtx,
|
|
sqlite3 *db,
|
|
int op,
|
|
char const *zDb,
|
|
char const *zName,
|
|
sqlite3_int64 iKey1,
|
|
sqlite3_int64 iKey2
|
|
),
|
|
void *v
|
|
) { 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 *db) { return 0; }
|
|
SQLITE_API int sqlite3_preupdate_depth(sqlite3 *db) { return 0; }
|
|
SQLITE_API int sqlite3_preupdate_new(sqlite3 *db, int i, sqlite3_value **s_val) { return 0; }
|
|
SQLITE_API int sqlite3_system_errno(sqlite3 *db) { return 0; }
|
|
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get(
|
|
sqlite3 *db,
|
|
const char *zSchema,
|
|
sqlite3_snapshot **ppSnapshot
|
|
) { return 0; }
|
|
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open(
|
|
sqlite3 *db,
|
|
const char *zSchema,
|
|
sqlite3_snapshot *pSnapshot
|
|
) { return 0; }
|
|
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free(sqlite3_snapshot *s_sn) { }
|
|
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp(
|
|
sqlite3_snapshot *p1,
|
|
sqlite3_snapshot *p2
|
|
) { 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(
|
|
sqlite3 *db,
|
|
const char *zGeom,
|
|
int (*xGeom)(sqlite3_rtree_geometry*, int i, sqlite3_rtree_dbl*,int*),
|
|
void *pContext
|
|
) { return 0; }
|
|
SQLITE_API int sqlite3_rtree_query_callback(
|
|
sqlite3 *db,
|
|
const char *zQueryFunc,
|
|
int (*xQueryFunc)(sqlite3_rtree_query_info*),
|
|
void *pContext,
|
|
void (*xDestructor)(void*)
|
|
) { return 0; }
|
|
//SQLITE_API int sqlite3session_create(
|
|
// sqlite3 *db,
|
|
// const char *zDb,
|
|
// sqlite3_session **ppSession
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3session_enable(sqlite3_session *pSession, int bEnable) { return 0; }
|
|
//SQLITE_API int sqlite3session_indirect(sqlite3_session *pSession, int bIndirect) { return 0; }
|
|
//SQLITE_API int sqlite3session_attach(
|
|
// sqlite3_session *pSession,
|
|
// const char *zTab
|
|
//) { return 0; }
|
|
//SQLITE_API void sqlite3session_table_filter(
|
|
// sqlite3_session *pSession,
|
|
// int(*xFilter)(
|
|
// void *pCtx,
|
|
// const char *zTab
|
|
// ),
|
|
// void *pCtx
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3session_changeset(
|
|
// sqlite3_session *pSession,
|
|
// int *pnChangeset,
|
|
// void **ppChangeset
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3session_diff(
|
|
// sqlite3_session *pSession,
|
|
// const char *zFromDb,
|
|
// const char *zTbl,
|
|
// char **pzErrMsg
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3session_patchset(
|
|
// sqlite3_session *pSession,
|
|
// int *pnPatchset,
|
|
// void **ppPatchset
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3session_isempty(sqlite3_session *pSession) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_start(
|
|
// sqlite3_changeset_iter **pp,
|
|
// int nChangeset,
|
|
// void *pChangeset
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_next(sqlite3_changeset_iter *pIter) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_op(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// const char **pzTab,
|
|
// int *pnCol,
|
|
// int *pOp,
|
|
// int *pbIndirect
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_pk(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// unsigned char **pabPK,
|
|
// int *pnCol
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_old(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// int iVal,
|
|
// sqlite3_value **ppValue
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_new(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// int iVal,
|
|
// sqlite3_value **ppValue
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_conflict(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// int iVal,
|
|
// sqlite3_value **ppValue
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_fk_conflicts(
|
|
// sqlite3_changeset_iter *pIter,
|
|
// int *pnOut
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_finalize(sqlite3_changeset_iter *pIter) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_invert(
|
|
// int nIn, const void *pIn,
|
|
// int *pnOut, void **ppOut
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_concat(
|
|
// int nA,
|
|
// void *pA,
|
|
// int nB,
|
|
// void *pB,
|
|
// int *pnOut,
|
|
// void **ppOut
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changegroup_new(sqlite3_changegroup **pp) { return 0; }
|
|
//SQLITE_API int sqlite3changegroup_add(sqlite3_changegroup* scg, int nData, void *pData) { return 0; }
|
|
//SQLITE_API int sqlite3changegroup_output(
|
|
// sqlite3_changegroup* scg,
|
|
// int *pnData,
|
|
// void **ppData
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_apply(
|
|
// sqlite3 *db,
|
|
// int nChangeset,
|
|
// void *pChangeset,
|
|
// int(*xFilter)(
|
|
// void *pCtx,
|
|
// const char *zTab
|
|
// ),
|
|
// int(*xConflict)(
|
|
// void *pCtx,
|
|
// int eConflict,
|
|
// sqlite3_changeset_iter *p
|
|
// ),
|
|
// void *pCtx
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_apply_v2(
|
|
// sqlite3 *db,
|
|
// int nChangeset,
|
|
// void *pChangeset,
|
|
// int(*xFilter)(
|
|
// void *pCtx,
|
|
// const char *zTab
|
|
// ),
|
|
// int(*xConflict)(
|
|
// void *pCtx,
|
|
// int eConflict,
|
|
// sqlite3_changeset_iter *p
|
|
// ),
|
|
// void *pCtx,
|
|
// void **ppRebase, int *pnRebase,
|
|
// int flags
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3rebaser_create(sqlite3_rebaser **ppNew) { return 0; }
|
|
//SQLITE_API int sqlite3rebaser_configure(
|
|
// sqlite3_rebaser*,
|
|
// int nRebase, const void *pRebase
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3rebaser_rebase(
|
|
// sqlite3_rebaser*,
|
|
// int nIn, const void *pIn,
|
|
// int *pnOut, void **ppOut
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_apply_strm(
|
|
// sqlite3 *db,
|
|
// int (*xInput)(void *pIn, void *pData, int *pnData),
|
|
// void *pIn,
|
|
// int(*xFilter)(
|
|
// void *pCtx,
|
|
// const char *zTab
|
|
// ),
|
|
// int(*xConflict)(
|
|
// void *pCtx,
|
|
// int eConflict,
|
|
// sqlite3_changeset_iter *p
|
|
// ),
|
|
// void *pCtx
|
|
//) { return 0; }
|
|
//SQLITE_API int sqlite3changeset_apply_v2_strm(
|
|
// sqlite3 *db,
|
|
// int (*xInput)(void *pIn, void *pData, int *pnData),
|
|
// void *pIn,
|
|
// int(*xFilter)(
|
|
// void *pCtx,
|
|
// const char *zTab
|
|
// ),
|
|
// int(*xConflict)(
|
|
// void *pCtx,
|
|
// int eConflict,
|
|
// sqlite3_changeset_iter *p
|
|
// ),
|
|
// void *pCtx,
|
|
// 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) {}
|