26#ifndef PARSE_C_HEADER_TO_META
32 #define Sq3Fupu_Sq3StmtBindBlob64Hide_cb_ret void
33 #define Sq3Fupu_Sq3StmtBindBlob64Hide_cb_args MK_PTR arg0
39 #define Sq3Fupu_Sq3StmtBindBlobHide_cb_ret void
40 #define Sq3Fupu_Sq3StmtBindBlobHide_cb_args MK_PTR arg0
46 #define Sq3Fupu_Sq3StmtBindPointer_arg4_ret void
47 #define Sq3Fupu_Sq3StmtBindPointer_arg4_args MK_PTR arg0
53 #define Sq3Fupu_Sq3StmtBindText64Hide_cb_ret void
54 #define Sq3Fupu_Sq3StmtBindText64Hide_cb_args MK_PTR arg0
60 #define Sq3Fupu_Sq3StmtBindTextHide_cb_ret void
61 #define Sq3Fupu_Sq3StmtBindTextHide_cb_args MK_PTR arg0
71#ifndef PARSE_C_HEADER_TO_META
224#ifndef PARSE_C_HEADER_TO_META
293#ifndef PARSE_C_HEADER_TO_META
356#ifndef PARSE_C_HEADER_TO_META
405#ifndef PARSE_C_HEADER_TO_META
424#ifndef PARSE_C_HEADER_TO_META
485__parser__(
class=Sq3StmtC,constructor,lng-constr)
496 (*ppStmt)->pzTail = pzTail;
497 MkErrorReturnLabel(db);
526 (*ppStmt)->pzTail = pzTail;
527 MkErrorReturnLabel(db);
577 MkErrorReturnLabel(sq3stmt);
602 MkErrorReturnLabel(sq3stmt);
628 MkErrorReturnLabel(sq3stmt);
653 MkErrorReturnLabel(sq3stmt);
LibSq3Lite_sq3.h - 10 Apr 2025 - aotto1968.
#define BEGIN_SQ3_C_DECLS
Sq3LiteC_def_sq3.h - 10 Apr 2025 - aotto1968.
Sq3StmtC_def_sq3.h - 10 Apr 2025 - aotto1968.
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
static MkStringR MkStringCreate(MK_NUM len, MK_STRN str)
unsigned long long MK_U64
#define MK_ATTR_RT_INSTANCE
#define MK_ATTR_RT_STATIC
static MK_ARTIFICIAL SQ3_LITE Sq3LiteC_ObjNew(sqlite3 *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
#define SQ3_EXTERN
static library
Sq3StmtStatusE
Status Parameters for prepared statements.
Sq3TypeE
Fundamental Datatypes.
Sq3PrepareEF
Prepare Flags.
#define Sq3ErrorE_Check_Static(cls_hdl, PROC)
#define Sq3ErrorE_Check(sq3_hdl, PROC)
check on a tclsq3lite error and convert into a tclsq3lite error …
#define SQ3_INSTANCE_HDL(x)
#define SQ3_INSTANCE_RT_X(x)
#define Sq3Fupu_Sq3StmtBindPointer_arg4_ret
static enum MkErrorE Sq3StmtBindTextHide(SQ3_STMT sq3stmt, MK_I32 pos, MK_STRN text, MK_I32 len, Sq3Fupu_Sq3StmtBindTextHide_cb cb)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindDouble(SQ3_STMT sq3stmt, MK_I32 arg1, MK_DBL arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …
#define Sq3Fupu_Sq3StmtBindBlob64Hide_cb_ret
static enum MkErrorE Sq3StmtBindText64_RT(MK_RT mkrt, SQ3_STMT sq3stmt, MK_I32 pos, MkStringR text, enum Sq3TextE encoding)
Bind a MkStringR Value To a Prepared Statement …
static enum MkErrorE Sq3StmtBindPointer(SQ3_STMT sq3stmt, MK_I32 arg1, MK_PTR arg2, MK_STRN arg3, Sq3Fupu_Sq3StmtBindPointer_arg4 arg4)
Binding Values To Prepared Statements …
#define Sq3Fupu_Sq3StmtBindTextHide_cb_ret
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …
Sq3Fupu_Sq3StmtBindBlob64Hide_cb_ret(* Sq3Fupu_Sq3StmtBindBlob64Hide_cb)(Sq3Fupu_Sq3StmtBindBlob64Hide_cb_args)
Sq3Fupu_Sq3StmtBindText64Hide_cb_ret(* Sq3Fupu_Sq3StmtBindText64Hide_cb)(Sq3Fupu_Sq3StmtBindText64Hide_cb_args)
static enum MkErrorE Sq3StmtBindBlobHide(SQ3_STMT sq3stmt, MK_I32 pos, MK_PTRN blob, MK_I32 len, Sq3Fupu_Sq3StmtBindBlobHide_cb cb)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindBlob_RT(MK_RT mkrt, SQ3_STMT sq3stmt, MK_I32 pos, MkBinaryR blob)
Bind a MkBinaryR Value To a Prepared Statement …
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …
Sq3Fupu_Sq3StmtBindBlobHide_cb_ret(* Sq3Fupu_Sq3StmtBindBlobHide_cb)(Sq3Fupu_Sq3StmtBindBlobHide_cb_args)
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …
#define Sq3Fupu_Sq3StmtBindBlob64Hide_cb_args
static enum MkErrorE Sq3StmtBindInt64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindBlob64Hide(SQ3_STMT sq3stmt, MK_I32 pos, MK_PTRN blob, MK_I64 len, Sq3Fupu_Sq3StmtBindBlob64Hide_cb cb)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindBlob64_RT(MK_RT mkrt, SQ3_STMT sq3stmt, MK_I32 pos, MkBinaryR blob)
Bind a MkBinaryR Value To a Prepared Statement …
static enum MkErrorE Sq3StmtBindValue(SQ3_STMT sq3stmt, MK_I32 arg1, SQ3_VALN arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindParameterIndex(SQ3_STMT sq3stmt, MK_STRN zName)
Index Of A Parameter With A Given Name …
#define Sq3Fupu_Sq3StmtBindTextHide_cb_args
#define Sq3Fupu_Sq3StmtBindText64Hide_cb_args
#define Sq3Fupu_Sq3StmtBindBlobHide_cb_ret
#define Sq3Fupu_Sq3StmtBindText64Hide_cb_ret
Sq3Fupu_Sq3StmtBindPointer_arg4_ret(* Sq3Fupu_Sq3StmtBindPointer_arg4)(Sq3Fupu_Sq3StmtBindPointer_arg4_args)
#define Sq3Fupu_Sq3StmtBindPointer_arg4_args
#define Sq3Fupu_Sq3StmtBindBlobHide_cb_args
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindText64Hide(SQ3_STMT sq3stmt, MK_I32 pos, MK_STRN text, MK_I64 len, Sq3Fupu_Sq3StmtBindText64Hide_cb cb, enum Sq3TextE encoding)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindText_RT(MK_RT mkrt, SQ3_STMT sq3stmt, MK_I32 pos, MkStringR text)
Bind a MkStringR Value To a Prepared Statement …
Sq3Fupu_Sq3StmtBindTextHide_cb_ret(* Sq3Fupu_Sq3StmtBindTextHide_cb)(Sq3Fupu_Sq3StmtBindTextHide_cb_args)
static SQ3_STMT Sq3StmtC_ObjCreate(sqlite3_stmt *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
static MK_ARTIFICIAL SQ3_STMT Sq3StmtC_ObjNew(sqlite3_stmt *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
__thread MK_TYP Sq3StmtC_TT
class as MkTypeDefS-class-type …
static enum Sq3TypeE Sq3StmtColumnType(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MkBinaryR Sq3StmtColumnBlob(SQ3_STMT sq3stmt, MK_I32 iCol)
Result a MkBinaryR Value From A Query.
static MK_DBL Sq3StmtColumnDouble(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_STRN Sq3StmtColumnTextHide(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_I64 Sq3StmtColumnInt64(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MkStringR Sq3StmtColumnText(SQ3_STMT sq3stmt, MK_I32 iCol)
Result a MkStringR Value From A Query.
static MK_I32 Sq3StmtColumnCount(SQ3_STMT pStmt)
Number Of Columns In A Result Set …
static MK_STRN Sq3StmtColumnName(SQ3_STMT sq3stmt, MK_I32 N)
Column Names In A Result Set …
static SQ3_VAL Sq3StmtColumnValue(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_I32 Sq3StmtColumnInt(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_BINN Sq3StmtColumnBlobHide(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_I32 Sq3StmtColumnBytes(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static enum MkErrorE Sq3StmtStatus(SQ3_STMT sq3stmt, enum Sq3StmtStatusE op, MK_BOOL resetFlg)
Prepared Statement Status …
static SQ3_LITE Sq3StmtDbHandle(SQ3_STMT sq3stmt)
Find The Database Handle Of A Prepared Statement …
static enum MkErrorE Sq3StmtDataCount(SQ3_STMT pStmt)
Number of columns in a result set …
static enum MkErrorE Sq3StmtIsExplain(SQ3_STMT pStmt)
Query The EXPLAIN Setting For A Prepared Statement …
void Sq3StmtLog_RT(MK_RT mkrt, SQ3_STMT const stmt, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl)
log the val …
static enum MkErrorE Sq3StmtReadonly(SQ3_STMT pStmt)
Determine If An SQL Statement Writes The Database …
static enum MkErrorE Sq3StmtBusy(SQ3_STMT sq3stmt)
Determine If A Prepared Statement Has Been Reset …
static enum MkErrorE Sq3StmtExplain(SQ3_STMT pStmt, MK_I32 eMode)
Change The EXPLAIN Setting For A Prepared Statement …
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …
static SQ3_STMT Sq3StmtNextStmt(SQ3_LITE pDb, SQ3_STMT pStmt)
Find the next prepared statement …
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …
static MK_STR Sq3StmtExpandedSql(SQ3_STMT pStmt)
Retrieving Statement SQL …
static MK_STRN Sq3StmtGetPzTail(SQ3_STMT sq3stmt)
return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 …
static MK_STRN Sq3StmtSql(SQ3_STMT pStmt)
Retrieving Statement SQL …
static enum MkErrorE Sq3StmtPrepareV2Hide(SQ3_LITE db, MK_STRN zSql, MK_I32 nByte, SQ3_STMT *ppStmt, MK_STRN *pzTail)
Compiling An SQL Statement …
static enum MkErrorE Sq3StmtPrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
static enum MkErrorE Sq3StmtFinalize(SQ3_STMT pStmt)
Destroy A Prepared Statement Object …
static enum MkErrorE Sq3StmtPrepareV3(SQ3_LITE db, MkStringR zSql, Sq3PrepareEF prepFlags, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
static enum MkErrorE Sq3StmtPrepareV3Hide(SQ3_LITE db, MK_STRN zSql, MK_I32 nByte, enum Sq3PrepareEF prepFlags, SQ3_STMT *ppStmt, MK_STRN *pzTail)
Compiling An SQL Statement …
static MK_ARTIFICIAL SQ3_VAL Sq3ValueC_ObjNew(sqlite3_value *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *, int iCol)
SQLITE_API sqlite3 * sqlite3_db_handle(sqlite3_stmt *)
SQLITE_API int sqlite3_prepare_v3(sqlite3 *db, const char *zSql, int nByte, unsigned int prepFlags, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API int sqlite3_bind_pointer(sqlite3_stmt *, int, void *, const char *, void(*)(void *))
SQLITE_API int sqlite3_bind_blob64(sqlite3_stmt *, int, const void *, sqlite3_uint64, void(*)(void *))
SQLITE_API int sqlite3_stmt_isexplain(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt)
SQLITE_API double sqlite3_column_double(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_column_type(sqlite3_stmt *, int iCol)
SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *, const char *zName)
SQLITE_API sqlite3_stmt * sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt)
SQLITE_API const char * sqlite3_sql(sqlite3_stmt *pStmt)
SQLITE_API char * sqlite3_expanded_sql(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_bind_null(sqlite3_stmt *, int)
SQLITE_API int sqlite3_bind_zeroblob64(sqlite3_stmt *, int, sqlite3_uint64)
SQLITE_API int sqlite3_column_int(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_bind_blob(sqlite3_stmt *, int, const void *, int n, void(*)(void *))
SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt *)
SQLITE_API int sqlite3_bind_text(sqlite3_stmt *, int, const char *, int, void(*)(void *))
SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_prepare_v2(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, const char **pzTail)
SQLITE_API int sqlite3_stmt_status(sqlite3_stmt *, int op, int resetFlg)
SQLITE_API const char * sqlite3_bind_parameter_name(sqlite3_stmt *, int)
SQLITE_API int sqlite3_bind_double(sqlite3_stmt *, int, double)
SQLITE_API int sqlite3_bind_value(sqlite3_stmt *, int, const sqlite3_value *)
SQLITE_API int sqlite3_bind_text64(sqlite3_stmt *, int, const char *, sqlite3_uint64, void(*)(void *), unsigned char encoding)
SQLITE_API int sqlite3_bind_int(sqlite3_stmt *, int, int)
SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_step(sqlite3_stmt *)
struct sqlite3_value sqlite3_value
SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *)
SQLITE_API const void * sqlite3_column_blob(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt)
SQLITE_API int sqlite3_stmt_explain(sqlite3_stmt *pStmt, int eMode)
SQLITE_API const char * sqlite3_column_name(sqlite3_stmt *, int N)
SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt *)
SQLITE_API const unsigned char * sqlite3_column_text(sqlite3_stmt *, int iCol)
struct sqlite3_stmt sqlite3_stmt
SQLITE_API int sqlite3_bind_int64(sqlite3_stmt *, int, sqlite3_int64)
SQLITE_API sqlite3_value * sqlite3_column_value(sqlite3_stmt *, int iCol)
SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *, int, int n)
Struct to represent the data of the Sq3LiteC …
sqlite3 * nat
internal - link between Sq3LiteS and native library
Struct to represent the data of the Sq3StmtC …
sqlite3_stmt * nat
internal - link between Sq3StmtS and native library
MK_STRN pzTail
The non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 …
Struct to represent the data of the Sq3ValueC …
sqlite3_value * nat
internal - link between Sq3ValueS and native library