Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
tdbcDecls.h71 linesDownload Raw Back to include
1/*2 * tdbcDecls.h --3 *4 *	Exported Stubs declarations for Tcl DataBaseConnectivity (TDBC).5 *6 * This file is (mostly) generated automatically from tdbc.decls7 *8 * Copyright (c) 2008 by Kevin B. Kenny.9 *10 * See the file "license.terms" for information on usage and redistribution of11 * 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 020#define TDBC_STUBS_REVISION 321 22#ifdef __cplusplus23extern "C" {24#endif25 26/*27 * Exported function declarations:28 */29 30/* 0 */31TDBCAPI int		Tdbc_Init_ (Tcl_Interp* interp);32/* 1 */33TDBCAPI Tcl_Obj*	Tdbc_TokenizeSql (Tcl_Interp* interp,34				const char* statement);35/* 2 */36TDBCAPI const char*	Tdbc_MapSqlState (const char* sqlstate);37 38typedef 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 49extern const TdbcStubs *tdbcStubsPtr;50 51#ifdef __cplusplus52}53#endif54 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. */71 
codekingpro/portable-devtools · Team Ai