4 * Exported Stubs declarations for Tcl DataBaseConnectivity (TDBC).
6 * This file is (mostly) generated automatically from tdbc.decls
8 * Copyright (c) 2008 by Kevin B. Kenny.
10 * See the file "license.terms" for information on usage and redistribution of
11 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
17 /* !BEGIN!: Do not edit below this line. */
19 #define TDBC_STUBS_EPOCH 0
20 #define TDBC_STUBS_REVISION 3
27 * Exported function declarations:
31 TDBCAPI int Tdbc_Init_ (Tcl_Interp* interp);
33 TDBCAPI Tcl_Obj* Tdbc_TokenizeSql (Tcl_Interp* interp,
34 const char* statement);
36 TDBCAPI const char* Tdbc_MapSqlState (const char* sqlstate);
38 typedef struct TdbcStubs {
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 */
49 extern const TdbcStubs *tdbcStubsPtr;
55 #if defined(USE_TDBC_STUBS)
58 * Inline function declarations:
62 (tdbcStubsPtr->tdbc_Init_) /* 0 */
63 #define Tdbc_TokenizeSql \
64 (tdbcStubsPtr->tdbc_TokenizeSql) /* 1 */
65 #define Tdbc_MapSqlState \
66 (tdbcStubsPtr->tdbc_MapSqlState) /* 2 */
68 #endif /* defined(USE_TDBC_STUBS) */
70 /* !END!: Do not edit above this line. */