From f90936c695aac7fc2ec5b0ab84cade51695f15b3 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Sun, 26 Nov 2023 16:23:55 +0100 Subject: run 'preprocess-files' to update the C headers --- c/loadable-ext-sqlite3ext.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'c/loadable-ext-sqlite3ext.h') diff --git a/c/loadable-ext-sqlite3ext.h b/c/loadable-ext-sqlite3ext.h index 0850553..dd8033f 100644 --- a/c/loadable-ext-sqlite3ext.h +++ b/c/loadable-ext-sqlite3ext.h @@ -331,9 +331,9 @@ struct sqlite3_api_routines { const char *(*filename_journal)(const char*); const char *(*filename_wal)(const char*); /* Version 3.32.0 and later */ - char *(*create_filename)(const char*,const char*,const char*, + const char *(*create_filename)(const char*,const char*,const char*, int,const char**); - void (*free_filename)(char*); + void (*free_filename)(const char*); sqlite3_file *(*database_file_object)(const char*); /* Version 3.34.0 and later */ int (*txn_state)(sqlite3*,const char*); @@ -357,6 +357,15 @@ struct sqlite3_api_routines { unsigned char *(*serialize)(sqlite3*,const char *,sqlite3_int64*, unsigned int); const char *(*db_name)(sqlite3*,int); + /* Version 3.40.0 and later */ + int (*value_encoding)(sqlite3_value*); + /* Version 3.41.0 and later */ + int (*is_interrupted)(sqlite3*); + /* Version 3.43.0 and later */ + int (*stmt_explain)(sqlite3_stmt*,int); + /* Version 3.44.0 and later */ + void *(*get_clientdata)(sqlite3*,const char*); + int (*set_clientdata)(sqlite3*, const char*, void*, void(*)(void*)); }; /* @@ -413,6 +422,10 @@ typedef int (*sqlite3_loadext_entry)( /* Version 3.39.0 and later */ #ifndef SQLITE_OMIT_DESERIALIZE #endif +/* Version 3.40.0 and later */ +/* Version 3.41.0 and later */ +/* Version 3.43.0 and later */ +/* Version 3.44.0 and later */ #endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ #if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) -- cgit v1.2.3