Lines Matching defs:sqlite3_api_routines
32 struct sqlite3_api_routines { struct
33 void * (*aggregate_context)(sqlite3_context*,int nBytes);
34 int (*aggregate_count)(sqlite3_context*);
35 int (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*));
36 int (*bind_double)(sqlite3_stmt*,int,double);
37 int (*bind_int)(sqlite3_stmt*,int,int);
38 int (*bind_int64)(sqlite3_stmt*,int,sqlite_int64);
39 int (*bind_null)(sqlite3_stmt*,int);
40 int (*bind_parameter_count)(sqlite3_stmt*);
41 int (*bind_parameter_index)(sqlite3_stmt*,const char*zName);
42 const char * (*bind_parameter_name)(sqlite3_stmt*,int);
43 int (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*));
44 int (*bind_text16)(sqlite3_stmt*,int,const void*,int,void(*)(void*));
45 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
46 int (*busy_handler)(sqlite3*,int(*)(void*,int),void*);
47 int (*busy_timeout)(sqlite3*,int ms);
48 int (*changes)(sqlite3*);
49 int (*close)(sqlite3*);
50 int (*collation_needed)(sqlite3*,void*,void(*)(void*,sqlite3*,
52 int (*collation_needed16)(sqlite3*,void*,void(*)(void*,sqlite3*,
54 const void * (*column_blob)(sqlite3_stmt*,int iCol);
55 int (*column_bytes)(sqlite3_stmt*,int iCol);
56 int (*column_bytes16)(sqlite3_stmt*,int iCol);
57 int (*column_count)(sqlite3_stmt*pStmt);
58 const char * (*column_database_name)(sqlite3_stmt*,int);
59 const void * (*column_database_name16)(sqlite3_stmt*,int);
60 const char * (*column_decltype)(sqlite3_stmt*,int i);
61 const void * (*column_decltype16)(sqlite3_stmt*,int);
62 double (*column_double)(sqlite3_stmt*,int iCol);
63 int (*column_int)(sqlite3_stmt*,int iCol);
64 sqlite_int64 (*column_int64)(sqlite3_stmt*,int iCol);
65 const char * (*column_name)(sqlite3_stmt*,int);
66 const void * (*column_name16)(sqlite3_stmt*,int);
67 const char * (*column_origin_name)(sqlite3_stmt*,int);
68 const void * (*column_origin_name16)(sqlite3_stmt*,int);
69 const char * (*column_table_name)(sqlite3_stmt*,int);
70 const void * (*column_table_name16)(sqlite3_stmt*,int);
71 const unsigned char * (*column_text)(sqlite3_stmt*,int iCol);
72 const void * (*column_text16)(sqlite3_stmt*,int iCol);
73 int (*column_type)(sqlite3_stmt*,int iCol);
74 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
75 void * (*commit_hook)(sqlite3*,int(*)(void*),void*);
76 int (*complete)(const char*sql);
77 int (*complete16)(const void*sql);
78 int (*create_collation)(sqlite3*,const char*,int,void*,
80 int (*create_collation16)(sqlite3*,const void*,int,void*,
82 int (*create_function)(sqlite3*,const char*,int,int,void*,
86 int (*create_function16)(sqlite3*,const void*,int,int,void*,
90 int (*create_module)(sqlite3*,const char*,const sqlite3_module*,void*);
91 int (*data_count)(sqlite3_stmt*pStmt);
92 sqlite3 * (*db_handle)(sqlite3_stmt*);
93 int (*declare_vtab)(sqlite3*,const char*);
94 int (*enable_shared_cache)(int);
95 int (*errcode)(sqlite3*db);
96 const char * (*errmsg)(sqlite3*);
97 const void * (*errmsg16)(sqlite3*);
98 int (*exec)(sqlite3*,const char*,sqlite3_callback,void*,char**);
99 int (*expired)(sqlite3_stmt*);
100 int (*finalize)(sqlite3_stmt*pStmt);
101 void (*free)(void*);
102 void (*free_table)(char**result);
103 int (*get_autocommit)(sqlite3*);
104 void * (*get_auxdata)(sqlite3_context*,int);
105 int (*get_table)(sqlite3*,const char*,char***,int*,int*,char**);
106 int (*global_recover)(void);
107 void (*interruptx)(sqlite3*);
108 sqlite_int64 (*last_insert_rowid)(sqlite3*);
109 const char * (*libversion)(void);
110 int (*libversion_number)(void);
111 void *(*malloc)(int);
112 char * (*mprintf)(const char*,...);
113 int (*open)(const char*,sqlite3**);
114 int (*open16)(const void*,sqlite3**);
115 int (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
116 int (*prepare16)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
117 void * (*profile)(sqlite3*,void(*)(void*,const char*,sqlite_uint64),void*);
118 void (*progress_handler)(sqlite3*,int,int(*)(void*),void*);
119 void *(*realloc)(void*,int);
120 int (*reset)(sqlite3_stmt*pStmt);
121 void (*result_blob)(sqlite3_context*,const void*,int,void(*)(void*));
122 void (*result_double)(sqlite3_context*,double);
123 void (*result_error)(sqlite3_context*,const char*,int);
124 void (*result_error16)(sqlite3_context*,const void*,int);
125 void (*result_int)(sqlite3_context*,int);
126 void (*result_int64)(sqlite3_context*,sqlite_int64);
127 void (*result_null)(sqlite3_context*);
128 void (*result_text)(sqlite3_context*,const char*,int,void(*)(void*));
129 void (*result_text16)(sqlite3_context*,const void*,int,void(*)(void*));
130 void (*result_text16be)(sqlite3_context*,const void*,int,void(*)(void*));
131 void (*result_text16le)(sqlite3_context*,const void*,int,void(*)(void*));
132 void (*result_value)(sqlite3_context*,sqlite3_value*);
133 void * (*rollback_hook)(sqlite3*,void(*)(void*),void*);
134 int (*set_authorizer)(sqlite3*,int(*)(void*,int,const char*,const char*,
136 void (*set_auxdata)(sqlite3_context*,int,void*,void (*)(void*));
137 char * (*xsnprintf)(int,char*,const char*,...);
138 int (*step)(sqlite3_stmt*);
139 int (*table_column_metadata)(sqlite3*,const char*,const char*,const char*,
141 void (*thread_cleanup)(void);
142 int (*total_changes)(sqlite3*);
143 void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*);
144 int (*transfer_bindings)(sqlite3_stmt*,sqlite3_stmt*);
145 void * (*update_hook)(sqlite3*,void(*)(void*,int ,char const*,char const*,
147 void * (*user_data)(sqlite3_context*);
148 const void * (*value_blob)(sqlite3_value*);
149 int (*value_bytes)(sqlite3_value*);
150 int (*value_bytes16)(sqlite3_value*);
151 double (*value_double)(sqlite3_value*);
152 int (*value_int)(sqlite3_value*);
153 sqlite_int64 (*value_int64)(sqlite3_value*);
154 int (*value_numeric_type)(sqlite3_value*);
155 const unsigned char * (*value_text)(sqlite3_value*);
156 const void * (*value_text16)(sqlite3_value*);
157 const void * (*value_text16be)(sqlite3_value*);
158 const void * (*value_text16le)(sqlite3_value*);
159 int (*value_type)(sqlite3_value*);
160 char *(*vmprintf)(const char*,va_list);
162 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
164 int (*prepare_v2)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
165 int (*prepare16_v2)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
166 int (*clear_bindings)(sqlite3_stmt*);
168 int (*create_module_v2)(sqlite3*,const char*,const sqlite3_module*,void*,
171 int (*bind_zeroblob)(sqlite3_stmt*,int,int);
172 int (*blob_bytes)(sqlite3_blob*);
173 int (*blob_close)(sqlite3_blob*);
174 int (*blob_open)(sqlite3*,const char*,const char*,const char*,sqlite3_int64,
176 int (*blob_read)(sqlite3_blob*,void*,int,int);
177 int (*blob_write)(sqlite3_blob*,const void*,int,int);
178 int (*create_collation_v2)(sqlite3*,const char*,int,void*,
181 int (*file_control)(sqlite3*,const char*,int,void*);
182 sqlite3_int64 (*memory_highwater)(int);
183 sqlite3_int64 (*memory_used)(void);
184 sqlite3_mutex *(*mutex_alloc)(int);
185 void (*mutex_enter)(sqlite3_mutex*);
186 void (*mutex_free)(sqlite3_mutex*);
187 void (*mutex_leave)(sqlite3_mutex*);
188 int (*mutex_try)(sqlite3_mutex*);
189 int (*open_v2)(const char*,sqlite3**,int,const char*);
190 int (*release_memory)(int);
191 void (*result_error_nomem)(sqlite3_context*);
192 void (*result_error_toobig)(sqlite3_context*);
193 int (*sleep)(int);
194 void (*soft_heap_limit)(int);
195 sqlite3_vfs *(*vfs_find)(const char*);
196 int (*vfs_register)(sqlite3_vfs*,int);
197 int (*vfs_unregister)(sqlite3_vfs*);
198 int (*xthreadsafe)(void);
199 void (*result_zeroblob)(sqlite3_context*,int);
200 void (*result_error_code)(sqlite3_context*,int);
201 int (*test_control)(int, ...);
202 void (*randomness)(int,void*);
203 sqlite3 *(*context_db_handle)(sqlite3_context*);
204 int (*extended_result_codes)(sqlite3*,int);
205 int (*limit)(sqlite3*,int,int);
206 sqlite3_stmt *(*next_stmt)(sqlite3*,sqlite3_stmt*);
207 const char *(*sql)(sqlite3_stmt*);
208 int (*status)(int,int*,int*,int);
209 int (*backup_finish)(sqlite3_backup*);
210 sqlite3_backup *(*backup_init)(sqlite3*,const char*,sqlite3*,const char*);
211 int (*backup_pagecount)(sqlite3_backup*);
212 int (*backup_remaining)(sqlite3_backup*);
213 int (*backup_step)(sqlite3_backup*,int);
214 const char *(*compileoption_get)(int);
215 int (*compileoption_used)(const char*);
216 int (*create_function_v2)(sqlite3*,const char*,int,int,void*,
221 int (*db_config)(sqlite3*,int,...);
222 sqlite3_mutex *(*db_mutex)(sqlite3*);
223 int (*db_status)(sqlite3*,int,int*,int*,int);
224 int (*extended_errcode)(sqlite3*);
225 void (*log)(int,const char*,...);
226 sqlite3_int64 (*soft_heap_limit64)(sqlite3_int64);
227 const char *(*sourceid)(void);
228 int (*stmt_status)(sqlite3_stmt*,int,int);
229 int (*strnicmp)(const char*,const char*,int);
230 int (*unlock_notify)(sqlite3*,void(*)(void**,int),void*);
231 int (*wal_autocheckpoint)(sqlite3*,int);
232 int (*wal_checkpoint)(sqlite3*,const char*);
233 void *(*wal_hook)(sqlite3*,int(*)(void*,sqlite3*,const char*,int),void*);
234 int (*blob_reopen)(sqlite3_blob*,sqlite3_int64);
235 int (*vtab_config)(sqlite3*,int op,...);
236 int (*vtab_on_conflict)(sqlite3*);
238 int (*close_v2)(sqlite3*);
239 const char *(*db_filename)(sqlite3*,const char*);
240 int (*db_readonly)(sqlite3*,const char*);
241 int (*db_release_memory)(sqlite3*);
242 const char *(*errstr)(int);
243 int (*stmt_busy)(sqlite3_stmt*);
244 int (*stmt_readonly)(sqlite3_stmt*);
245 int (*stricmp)(const char*,const char*);
246 int (*uri_boolean)(const char*,const char*,int);
247 sqlite3_int64 (*uri_int64)(const char*,const char*,sqlite3_int64);
248 const char *(*uri_parameter)(const char*,const char*);
249 char *(*xvsnprintf)(int,char*,const char*,va_list);
250 int (*wal_checkpoint_v2)(sqlite3*,const char*,int,int*,int*);
252 int (*auto_extension)(void(*)(void));
253 int (*bind_blob64)(sqlite3_stmt*,int,const void*,sqlite3_uint64,
255 int (*bind_text64)(sqlite3_stmt*,int,const char*,sqlite3_uint64,
257 int (*cancel_auto_extension)(void(*)(void));
258 int (*load_extension)(sqlite3*,const char*,const char*,char**);
259 void *(*malloc64)(sqlite3_uint64);
260 sqlite3_uint64 (*msize)(void*);
261 void *(*realloc64)(void*,sqlite3_uint64);
262 void (*reset_auto_extension)(void);
263 void (*result_blob64)(sqlite3_context*,const void*,sqlite3_uint64,
265 void (*result_text64)(sqlite3_context*,const char*,sqlite3_uint64,
267 int (*strglob)(const char*,const char*);
269 sqlite3_value *(*value_dup)(const sqlite3_value*);
270 void (*value_free)(sqlite3_value*);
271 int (*result_zeroblob64)(sqlite3_context*,sqlite3_uint64);
272 int (*bind_zeroblob64)(sqlite3_stmt*, int, sqlite3_uint64);
274 unsigned int (*value_subtype)(sqlite3_value*);
275 void (*result_subtype)(sqlite3_context*,unsigned int);
277 int (*status64)(int,sqlite3_int64*,sqlite3_int64*,int);
278 int (*strlike)(const char*,const char*,unsigned int);
279 int (*db_cacheflush)(sqlite3*);
281 int (*system_errno)(sqlite3*);
283 int (*trace_v2)(sqlite3*,unsigned,int(*)(unsigned,void*,void*,void*),void*);
284 char *(*expanded_sql)(sqlite3_stmt*);
286 void (*set_last_insert_rowid)(sqlite3*,sqlite3_int64);
288 int (*prepare_v3)(sqlite3*,const char*,int,unsigned int,
290 int (*prepare16_v3)(sqlite3*,const void*,int,unsigned int,
292 int (*bind_pointer)(sqlite3_stmt*,int,void*,const char*,void(*)(void*));
293 void (*result_pointer)(sqlite3_context*,void*,const char*,void(*)(void*));
294 void *(*value_pointer)(sqlite3_value*,const char*);
295 int (*vtab_nochange)(sqlite3_context*);
296 int (*value_nochange)(sqlite3_value*);
297 const char *(*vtab_collation)(sqlite3_index_info*,int);
299 int (*keyword_count)(void);
300 int (*keyword_name)(int,const char**,int*);
301 int (*keyword_check)(const char*,int);
302 sqlite3_str *(*str_new)(sqlite3*);
303 char *(*str_finish)(sqlite3_str*);
304 void (*str_appendf)(sqlite3_str*, const char *zFormat, ...);
305 void (*str_vappendf)(sqlite3_str*, const char *zFormat, va_list);
306 void (*str_append)(sqlite3_str*, const char *zIn, int N);
307 void (*str_appendall)(sqlite3_str*, const char *zIn);
308 void (*str_appendchar)(sqlite3_str*, int N, char C);
309 void (*str_reset)(sqlite3_str*);
310 int (*str_errcode)(sqlite3_str*);
311 int (*str_length)(sqlite3_str*);
312 char *(*str_value)(sqlite3_str*);
314 int (*create_window_function)(sqlite3*,const char*,int,int,void*,
321 const char *(*normalized_sql)(sqlite3_stmt*);
323 int (*stmt_isexplain)(sqlite3_stmt*);
347 const sqlite3_api_routines *pThunk /* Extension API function pointers. */ argument