sqlite3.cfg: Add some functions reported as missing by daca@home

This commit is contained in:
versat 2019-07-16 14:59:33 +02:00
parent 820ffdeee8
commit 8e00f4ddfb
1 changed files with 102 additions and 0 deletions

View File

@ -500,6 +500,23 @@
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_bind_blob -->
<!-- int sqlite3_bind_double(sqlite3_stmt*, int, double); -->
<function name="sqlite3_bind_double">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<valid>1:</valid>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_bind_blob -->
<!-- int sqlite3_bind_int(sqlite3_stmt*, int, int); -->
<!-- int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64); -->
<function name="sqlite3_bind_int,sqlite3_bind_int64">
@ -518,6 +535,20 @@
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_bind_blob -->
<!-- int sqlite3_bind_null(sqlite3_stmt*, int); -->
<function name="sqlite3_bind_null">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
<valid>1:</valid>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_bind_blob -->
<!-- int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int, void(*)(void*)); -->
<function name="sqlite3_bind_text">
<noreturn>false</noreturn>
@ -540,6 +571,17 @@
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_clear_bindings -->
<!-- int sqlite3_clear_bindings(sqlite3_stmt*); -->
<function name="sqlite3_clear_bindings">
<noreturn>false</noreturn>
<returnValue type="int"/>
<leak-ignore/>
<arg nr="1" direction="inout">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_close -->
<!-- int sqlite3_close(sqlite3*); -->
<!-- int sqlite3_close_v2(sqlite3*); -->
@ -567,6 +609,19 @@
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_column_count -->
<!-- int sqlite3_column_count(sqlite3_stmt *pStmt); -->
<function name="sqlite3_column_count">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_column_blob -->
<!-- double sqlite3_column_double(sqlite3_stmt*, int iCol); -->
<function name="sqlite3_column_double">
<noreturn>false</noreturn>
@ -674,6 +729,18 @@
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_context_db_handle -->
<!-- sqlite3 *sqlite3_context_db_handle(sqlite3_context*); -->
<function name="sqlite3_context_db_handle">
<noreturn>false</noreturn>
<returnValue type="sqlite3 *"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_errcode -->
<!-- int sqlite3_errcode(sqlite3 *db); -->
<!-- int sqlite3_extended_errcode(sqlite3 *db); -->
@ -762,6 +829,24 @@
<not-bool/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_log -->
<!-- void sqlite3_log(int iErrCode, const char *zFormat, ...); -->
<function name="sqlite3_log">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="variadic" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_free -->
<!-- void *sqlite3_malloc(int); -->
<function name="sqlite3_malloc">
@ -1033,6 +1118,23 @@
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_result_blob -->
<!-- void sqlite3_result_error(sqlite3_context*, const char*, int); -->
<!-- void sqlite3_result_error16(sqlite3_context*, const void*, int); -->
<function name="sqlite3_result_error,sqlite3_result_error16">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- https://www.sqlite.org/capi3ref.html#sqlite3_result_blob -->
<!-- void sqlite3_result_text(sqlite3_context*, const char*, int, void(*)(void*)); -->
<function name="sqlite3_result_text">
<noreturn>false</noreturn>