diff CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/tdbcDecls.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/tdbcDecls.h	Tue Mar 18 17:55:14 2025 -0400
@@ -0,0 +1,70 @@
+/*
+ * tdbcDecls.h --
+ *
+ *	Exported Stubs declarations for Tcl DataBaseConnectivity (TDBC).
+ *
+ * This file is (mostly) generated automatically from tdbc.decls
+ *
+ * Copyright (c) 2008 by Kevin B. Kenny.
+ *
+ * See the file "license.terms" for information on usage and redistribution of
+ * this file, and for a DISCLAIMER OF ALL WARRANTIES.
+ *
+ * RCS: @(#) $Id$
+ *
+ */
+
+/* !BEGIN!: Do not edit below this line. */
+
+#define TDBC_STUBS_EPOCH 0
+#define TDBC_STUBS_REVISION 3
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * Exported function declarations:
+ */
+
+/* 0 */
+TDBCAPI int		Tdbc_Init_ (Tcl_Interp* interp);
+/* 1 */
+TDBCAPI Tcl_Obj*	Tdbc_TokenizeSql (Tcl_Interp* interp,
+				const char* statement);
+/* 2 */
+TDBCAPI const char*	Tdbc_MapSqlState (const char* sqlstate);
+
+typedef struct TdbcStubs {
+    int magic;
+    int epoch;
+    int revision;
+    void *hooks;
+
+    int (*tdbc_Init_) (Tcl_Interp* interp); /* 0 */
+    Tcl_Obj* (*tdbc_TokenizeSql) (Tcl_Interp* interp, const char* statement); /* 1 */
+    const char* (*tdbc_MapSqlState) (const char* sqlstate); /* 2 */
+} TdbcStubs;
+
+extern const TdbcStubs *tdbcStubsPtr;
+
+#ifdef __cplusplus
+}
+#endif
+
+#if defined(USE_TDBC_STUBS)
+
+/*
+ * Inline function declarations:
+ */
+
+#define Tdbc_Init_ \
+	(tdbcStubsPtr->tdbc_Init_) /* 0 */
+#define Tdbc_TokenizeSql \
+	(tdbcStubsPtr->tdbc_TokenizeSql) /* 1 */
+#define Tdbc_MapSqlState \
+	(tdbcStubsPtr->tdbc_MapSqlState) /* 2 */
+
+#endif /* defined(USE_TDBC_STUBS) */
+
+/* !END!: Do not edit above this line. */