Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Drop iodbc until we can deal with its different SQLCHAR size. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9daa1f819f278548ca0ab1429f714ea6 |
User & Date: | stu 2017-06-05 16:22:14.589 |
Context
2017-06-05
| ||
18:54 | Use tdbc_SRC_DIR from tdbcConfig.sh to locate genstubs tool, instead of hardcoded path. check-in: 32b8054ab7 user: stu tags: trunk, tdbcodbc-1-0-5 | |
16:22 | Drop iodbc until we can deal with its different SQLCHAR size. check-in: 9daa1f819f user: stu tags: trunk | |
2017-05-29
| ||
22:49 | Finish INT2PTR/PTR2INT work for tdbc-odbc:remove a cast, clean out a commented cast. check-in: e0f3c0cef0 user: stu tags: trunk | |
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 * 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-06-05 16:16: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. * *----------------------------------------------------------------------------- |
︙ | ︙ | |||
36 37 38 39 40 41 42 | #ifdef TDBC_NEW_LOADER #include <stdlib.h> /* Sorted by name asc. */ static const char *const odbcStubLibNames[] = { | | | | | | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | #ifdef TDBC_NEW_LOADER #include <stdlib.h> /* Sorted by name asc. */ static const char *const odbcStubLibNames[] = { "odbc", "odbc32", NULL }; /* Sorted by num desc. No leading dots. Empty first. */ static const char *const odbcStubLibNumbers[] = { "", "1.2", "0.1", NULL }; /* Sorted by name asc. */ static const char *const odbcOptLibNames[] = { "odbccp", "odbccp32", "odbcinst", NULL }; /* Sorted by num desc. No leading dots. Empty first. */ static const char *const odbcOptLibNumbers[] = { "", "2.6", "0.0", NULL }; #else static const char *const odbcStubLibNames[] = { /* @LIBNAMES@: DO NOT EDIT THESE NAMES */ "odbc32", "odbc", "libodbc32", "libodbc", NULL /* @END@ */ }; static const char *const odbcOptLibNames[] = { "odbccp", "odbccp32", "odbcinst", "libodbccp", "libodbccp32", "libodbcinst", NULL }; #endif /* * Names of the functions that we need from ODBC |
︙ | ︙ |
Changes to generic/odbcStubs.h.
1 2 3 4 5 6 7 8 | /* *----------------------------------------------------------------------------- * * ../generic/odbcStubs.h -- * * Stubs for procedures in odbcStubDefs.txt * * Generated by genExtStubs.tcl: DO NOT EDIT | | | | 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-06-05 16:16:37Z * *----------------------------------------------------------------------------- */ typedef struct odbcStubDefs { /* Functions from libraries: odbc32 odbc libodbc32 libodbc */ 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*); |
︙ | ︙ |