Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add iodbc. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | tdbcodbc-stwo |
Files: | files | file ages | folders |
SHA1: |
ecf668745da5a182d9a5ea5025a39e22 |
User & Date: | stwo 2017-05-17 14:03:49.347 |
Context
2017-05-17
| ||
14:31 | Add intptr_t macros. check-in: 38f208cb79 user: stwo tags: tdbcodbc-stwo | |
14:03 | Add iodbc. check-in: ecf668745d user: stwo tags: tdbcodbc-stwo | |
2017-05-16
| ||
12:21 | Fix endless loop bug. In my tests, sqlreturn is first 0, then -1. check-in: 757c1c7919 user: stwo tags: tdbcodbc-stwo | |
Changes
Changes to generic/odbcStubDefs.txt.
︙ | ︙ | |||
8 9 10 11 12 13 14 | # that the material in this file is not subject to copyright, under the # doctrines of scenes a faire and of the merger of idea and expression. # Accordingly, this file is in the public domain. # #----------------------------------------------------------------------------- * STUBSTRUCT: odbcStubs | | | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # that the material in this file is not subject to copyright, under the # doctrines of scenes a faire and of the merger of idea and expression. # Accordingly, this file is in the public domain. # #----------------------------------------------------------------------------- * STUBSTRUCT: odbcStubs * LIBRARY: odbc32 odbc libodbc32 libodbc libiodbc * CONVENTION: SQL_API SQLRETURN SQLAllocHandle(SQLSMALLINT,SQLHANDLE,SQLHANDLE*); SQLRETURN SQLBindParameter(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLULEN,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*); SQLRETURN SQLCloseCursor(SQLHSTMT); SQLRETURN SQLColumnsW(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT ,SQLWCHAR*,SQLSMALLINT ); SQLRETURN SQLDataSourcesW(SQLHENV,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*); |
︙ | ︙ |
Changes to generic/odbcStubInit.c.
1 2 3 4 5 6 | /* * odbcStubInit.c -- * * Stubs tables for the foreign ODBC libraries so that * Tcl extensions can use them without the linker's knowing about them. * | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /* * odbcStubInit.c -- * * Stubs tables for the foreign ODBC libraries so that * Tcl extensions can use them without the linker's knowing about them. * * @CREATED@ 2017-05-17 13:54:37Z by genExtStubs.tcl from ../generic/odbcStubDefs.txt * * Copyright (c) 2010 by Kevin B. Kenny. * * Please refer to the file, 'license.terms' for the conditions on * redistribution of this file and for a DISCLAIMER OF ALL WARRANTIES. * *----------------------------------------------------------------------------- |
︙ | ︙ | |||
27 28 29 30 31 32 33 | /* * Names of the libraries that might contain the ODBC API */ static const char *const odbcStubLibNames[] = { /* @LIBNAMES@: DO NOT EDIT THESE NAMES */ | | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /* * Names of the libraries that might contain the ODBC API */ static const char *const odbcStubLibNames[] = { /* @LIBNAMES@: DO NOT EDIT THESE NAMES */ "odbc32", "odbc", "libodbc32", "libodbc", "libiodbc", NULL /* @END@ */ }; static const char *const odbcOptLibNames[] = { "odbccp", "odbccp32", "odbcinst", "libodbccp", "libodbccp32", "libodbcinst", "libiodbcinst", NULL }; /* * Names of the functions that we need from ODBC */ static const char *const odbcSymbolNames[] = { |
︙ | ︙ |
Changes to generic/odbcStubs.h.
1 2 3 | /* *----------------------------------------------------------------------------- * | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /* *----------------------------------------------------------------------------- * * ../generic/odbcStubs.h -- * * Stubs for procedures in odbcStubDefs.txt * * Generated by genExtStubs.tcl: DO NOT EDIT * 2017-05-17 13:54:37Z * *----------------------------------------------------------------------------- */ typedef struct odbcStubDefs { /* Functions from libraries: odbc32 odbc libodbc32 libodbc libiodbc */ SQLRETURN (SQL_API*SQLAllocHandlePtr)(SQLSMALLINT,SQLHANDLE,SQLHANDLE*); SQLRETURN (SQL_API*SQLBindParameterPtr)(SQLHSTMT,SQLUSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLSMALLINT,SQLULEN,SQLSMALLINT,SQLPOINTER,SQLLEN,SQLLEN*); SQLRETURN (SQL_API*SQLCloseCursorPtr)(SQLHSTMT); SQLRETURN (SQL_API*SQLColumnsWPtr)(SQLHSTMT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLWCHAR*,SQLSMALLINT ,SQLWCHAR*,SQLSMALLINT ); SQLRETURN (SQL_API*SQLDataSourcesWPtr)(SQLHENV,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*); SQLRETURN (SQL_API*SQLDescribeColWPtr)(SQLHSTMT,SQLUSMALLINT,SQLWCHAR*,SQLSMALLINT,SQLSMALLINT*,SQLSMALLINT*,SQLULEN*,SQLSMALLINT*,SQLSMALLINT*); |
︙ | ︙ |