|
|
|
|
@ -295,6 +295,27 @@ struct sqlite3_api_routines { |
|
|
|
|
int (*vtab_nochange)(sqlite3_context*); |
|
|
|
|
int (*value_nochange)(sqlite3_value*); |
|
|
|
|
const char *(*vtab_collation)(sqlite3_index_info*,int); |
|
|
|
|
/* Version 3.24.0 and later */ |
|
|
|
|
int (*keyword_count)(void); |
|
|
|
|
int (*keyword_name)(int,const char**,int*); |
|
|
|
|
int (*keyword_check)(const char*,int); |
|
|
|
|
sqlite3_str *(*str_new)(sqlite3*); |
|
|
|
|
char *(*str_finish)(sqlite3_str*); |
|
|
|
|
void (*str_appendf)(sqlite3_str*, const char *zFormat, ...); |
|
|
|
|
void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list); |
|
|
|
|
void (*str_append)(sqlite3_str*, const char *zIn, int N); |
|
|
|
|
void (*str_appendall)(sqlite3_str*, const char *zIn); |
|
|
|
|
void (*str_appendchar)(sqlite3_str*, int N, char C); |
|
|
|
|
void (*str_reset)(sqlite3_str*); |
|
|
|
|
int (*str_errcode)(sqlite3_str*); |
|
|
|
|
int (*str_length)(sqlite3_str*); |
|
|
|
|
char *(*str_value)(sqlite3_str*); |
|
|
|
|
int (*create_window_function)(sqlite3*,const char*,int,int,void*, |
|
|
|
|
void (*xStep)(sqlite3_context*,int,sqlite3_value**), |
|
|
|
|
void (*xFinal)(sqlite3_context*), |
|
|
|
|
void (*xValue)(sqlite3_context*), |
|
|
|
|
void (*xInv)(sqlite3_context*,int,sqlite3_value**), |
|
|
|
|
void(*xDestroy)(void*)); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@ -563,8 +584,25 @@ typedef int (*sqlite3_loadext_entry)( |
|
|
|
|
#define sqlite3_value_pointer sqlite3_api->value_pointer |
|
|
|
|
/* Version 3.22.0 and later */ |
|
|
|
|
#define sqlite3_vtab_nochange sqlite3_api->vtab_nochange |
|
|
|
|
#define sqlite3_value_nochange sqltie3_api->value_nochange |
|
|
|
|
#define sqlite3_vtab_collation sqltie3_api->vtab_collation |
|
|
|
|
#define sqlite3_value_nochange sqlite3_api->value_nochange |
|
|
|
|
#define sqlite3_vtab_collation sqlite3_api->vtab_collation |
|
|
|
|
/* Version 3.24.0 and later */ |
|
|
|
|
#define sqlite3_keyword_count sqlite3_api->keyword_count |
|
|
|
|
#define sqlite3_keyword_name sqlite3_api->keyword_name |
|
|
|
|
#define sqlite3_keyword_check sqlite3_api->keyword_check |
|
|
|
|
#define sqlite3_str_new sqlite3_api->str_new |
|
|
|
|
#define sqlite3_str_finish sqlite3_api->str_finish |
|
|
|
|
#define sqlite3_str_appendf sqlite3_api->str_appendf |
|
|
|
|
#define sqlite3_str_vappendf sqlite3_api->str_vappendf |
|
|
|
|
#define sqlite3_str_append sqlite3_api->str_append |
|
|
|
|
#define sqlite3_str_appendall sqlite3_api->str_appendall |
|
|
|
|
#define sqlite3_str_appendchar sqlite3_api->str_appendchar |
|
|
|
|
#define sqlite3_str_reset sqlite3_api->str_reset |
|
|
|
|
#define sqlite3_str_errcode sqlite3_api->str_errcode |
|
|
|
|
#define sqlite3_str_length sqlite3_api->str_length |
|
|
|
|
#define sqlite3_str_value sqlite3_api->str_value |
|
|
|
|
/* Version 3.25.0 and later */ |
|
|
|
|
#define sqlite3_create_window_function sqlite3_api->create_window_function |
|
|
|
|
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */ |
|
|
|
|
|
|
|
|
|
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) |
|
|
|
|
|