comparison 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
comparison
equal deleted inserted replaced
67:0e9998148a16 69:33d812a61356
1 /*
2 * tdbcDecls.h --
3 *
4 * Exported Stubs declarations for Tcl DataBaseConnectivity (TDBC).
5 *
6 * This file is (mostly) generated automatically from tdbc.decls
7 *
8 * Copyright (c) 2008 by Kevin B. Kenny.
9 *
10 * See the file "license.terms" for information on usage and redistribution of
11 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
12 *
13 * RCS: @(#) $Id$
14 *
15 */
16
17 /* !BEGIN!: Do not edit below this line. */
18
19 #define TDBC_STUBS_EPOCH 0
20 #define TDBC_STUBS_REVISION 3
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /*
27 * Exported function declarations:
28 */
29
30 /* 0 */
31 TDBCAPI int Tdbc_Init_ (Tcl_Interp* interp);
32 /* 1 */
33 TDBCAPI Tcl_Obj* Tdbc_TokenizeSql (Tcl_Interp* interp,
34 const char* statement);
35 /* 2 */
36 TDBCAPI const char* Tdbc_MapSqlState (const char* sqlstate);
37
38 typedef struct TdbcStubs {
39 int magic;
40 int epoch;
41 int revision;
42 void *hooks;
43
44 int (*tdbc_Init_) (Tcl_Interp* interp); /* 0 */
45 Tcl_Obj* (*tdbc_TokenizeSql) (Tcl_Interp* interp, const char* statement); /* 1 */
46 const char* (*tdbc_MapSqlState) (const char* sqlstate); /* 2 */
47 } TdbcStubs;
48
49 extern const TdbcStubs *tdbcStubsPtr;
50
51 #ifdef __cplusplus
52 }
53 #endif
54
55 #if defined(USE_TDBC_STUBS)
56
57 /*
58 * Inline function declarations:
59 */
60
61 #define Tdbc_Init_ \
62 (tdbcStubsPtr->tdbc_Init_) /* 0 */
63 #define Tdbc_TokenizeSql \
64 (tdbcStubsPtr->tdbc_TokenizeSql) /* 1 */
65 #define Tdbc_MapSqlState \
66 (tdbcStubsPtr->tdbc_MapSqlState) /* 2 */
67
68 #endif /* defined(USE_TDBC_STUBS) */
69
70 /* !END!: Do not edit above this line. */