summaryrefslogtreecommitdiff
path: root/c/sqlite3ext.h
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2023-09-01 23:26:33 +0200
committerGravatar Vincent Rischmann2023-09-01 23:26:33 +0200
commita3f3a3094af2dbceb6543368393fc5e8ae5d516e (patch)
tree801c6d0f70e602765d93e250e2e635bd6f11f182 /c/sqlite3ext.h
parentupdate to Zig 0.11 (diff)
downloadzig-sqlite-a3f3a3094af2dbceb6543368393fc5e8ae5d516e.tar.gz
zig-sqlite-a3f3a3094af2dbceb6543368393fc5e8ae5d516e.tar.xz
zig-sqlite-a3f3a3094af2dbceb6543368393fc5e8ae5d516e.zip
update sqlite to 3.43.0
Diffstat (limited to 'c/sqlite3ext.h')
-rw-r--r--c/sqlite3ext.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/c/sqlite3ext.h b/c/sqlite3ext.h
index 2cdd0e4..7116380 100644
--- a/c/sqlite3ext.h
+++ b/c/sqlite3ext.h
@@ -331,9 +331,9 @@ struct sqlite3_api_routines {
331 const char *(*filename_journal)(const char*); 331 const char *(*filename_journal)(const char*);
332 const char *(*filename_wal)(const char*); 332 const char *(*filename_wal)(const char*);
333 /* Version 3.32.0 and later */ 333 /* Version 3.32.0 and later */
334 char *(*create_filename)(const char*,const char*,const char*, 334 const char *(*create_filename)(const char*,const char*,const char*,
335 int,const char**); 335 int,const char**);
336 void (*free_filename)(char*); 336 void (*free_filename)(const char*);
337 sqlite3_file *(*database_file_object)(const char*); 337 sqlite3_file *(*database_file_object)(const char*);
338 /* Version 3.34.0 and later */ 338 /* Version 3.34.0 and later */
339 int (*txn_state)(sqlite3*,const char*); 339 int (*txn_state)(sqlite3*,const char*);
@@ -357,6 +357,12 @@ struct sqlite3_api_routines {
357 unsigned char *(*serialize)(sqlite3*,const char *,sqlite3_int64*, 357 unsigned char *(*serialize)(sqlite3*,const char *,sqlite3_int64*,
358 unsigned int); 358 unsigned int);
359 const char *(*db_name)(sqlite3*,int); 359 const char *(*db_name)(sqlite3*,int);
360 /* Version 3.40.0 and later */
361 int (*value_encoding)(sqlite3_value*);
362 /* Version 3.41.0 and later */
363 int (*is_interrupted)(sqlite3*);
364 /* Version 3.43.0 and later */
365 int (*stmt_explain)(sqlite3_stmt*,int);
360}; 366};
361 367
362/* 368/*
@@ -681,6 +687,12 @@ typedef int (*sqlite3_loadext_entry)(
681#define sqlite3_serialize sqlite3_api->serialize 687#define sqlite3_serialize sqlite3_api->serialize
682#endif 688#endif
683#define sqlite3_db_name sqlite3_api->db_name 689#define sqlite3_db_name sqlite3_api->db_name
690/* Version 3.40.0 and later */
691#define sqlite3_value_encoding sqlite3_api->value_encoding
692/* Version 3.41.0 and later */
693#define sqlite3_is_interrupted sqlite3_api->is_interrupted
694/* Version 3.43.0 and later */
695#define sqlite3_stmt_explain sqlite3_api->stmt_explain
684#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ 696#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
685 697
686#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) 698#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)