odbtp.h   odbtp.h 
/* $Id: odbtp.h,v 1.36 2005/01/18 15:36:27 rtwitty Exp $ */ /* $Id: odbtp.h,v 1.39 2005/12/22 04:48:02 rtwitty Exp $ */
/* /*
odbtp - ODBTP client library odbtp - ODBTP client library
Copyright (C) 2002-2004 Robert E. Twitty <rtwitty@users.sourceforge.net > Copyright (C) 2002-2005 Robert E. Twitty <rtwitty@users.sourceforge.net >
This library is free software; you can redistribute it and/or This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version. version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details. Lesser General Public License for more details.
skipping to change at line 27 skipping to change at line 27
You should have received a copy of the GNU Lesser General Public You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 U SA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 U SA
*/ */
#ifndef _ODBTP_H_ #ifndef _ODBTP_H_
#define _ODBTP_H_ #define _ODBTP_H_
/* The below line must be uncommented for 64-bit systems, such as Tru64. */ /* The below line must be uncommented for 64-bit systems, such as Tru64. */
/* #define _C_LONG_64_ 1 */ /* #define _C_LONG_64_ 1 */
#define ODBTP_LIB_VERSION "1.1.3" #define ODBTP_LIB_VERSION "1.1.4"
#ifdef ODBTP_DLL /* Using odbtp.dll */ #ifdef ODBTP_DLL /* Using odbtp.dll */
#ifdef ODBTP_DLL_BUILD #ifdef ODBTP_DLL_BUILD
#define _odbdecl __declspec(dllexport) #define _odbdecl __declspec(dllexport)
#else #else
#define _odbdecl __declspec(dllimport) #define _odbdecl __declspec(dllimport)
#endif #endif
#else /* Not Using odbtp.dll */ #else /* Not Using odbtp.dll */
#define _odbdecl #define _odbdecl
#endif #endif
skipping to change at line 139 skipping to change at line 139
#define ODB_ATTR_TRANSACTIONS 2 #define ODB_ATTR_TRANSACTIONS 2
#define ODB_ATTR_DESCRIBEPARAMS 3 #define ODB_ATTR_DESCRIBEPARAMS 3
#define ODB_ATTR_UNICODESQL 4 #define ODB_ATTR_UNICODESQL 4
#define ODB_ATTR_FULLCOLINFO 5 #define ODB_ATTR_FULLCOLINFO 5
#define ODB_ATTR_QUERYTIMEOUT 6 #define ODB_ATTR_QUERYTIMEOUT 6
#define ODB_ATTR_OICLEVEL 7 #define ODB_ATTR_OICLEVEL 7
#define ODB_ATTR_TXNCAPABLE 8 #define ODB_ATTR_TXNCAPABLE 8
#define ODB_ATTR_MAPCHARTOWCHAR 9 #define ODB_ATTR_MAPCHARTOWCHAR 9
#define ODB_ATTR_VARDATASIZE 10 #define ODB_ATTR_VARDATASIZE 10
#define ODB_ATTR_CACHEPROCS 11 #define ODB_ATTR_CACHEPROCS 11
#define ODB_ATTR_RIGHTTRIMTEXT 12
/* ODB String Attributes */ /* ODB String Attributes */
#define ODB_ATTR_STRING 0x10000 #define ODB_ATTR_STRING 0x10000
#define ODB_ATTR_DSN (0|ODB_ATTR_STRING) #define ODB_ATTR_DSN (0|ODB_ATTR_STRING)
#define ODB_ATTR_DRIVERNAME (1|ODB_ATTR_STRING) #define ODB_ATTR_DRIVERNAME (1|ODB_ATTR_STRING)
#define ODB_ATTR_DRIVERVER (2|ODB_ATTR_STRING) #define ODB_ATTR_DRIVERVER (2|ODB_ATTR_STRING)
#define ODB_ATTR_DRIVERODBCVER (3|ODB_ATTR_STRING) #define ODB_ATTR_DRIVERODBCVER (3|ODB_ATTR_STRING)
#define ODB_ATTR_DBMSNAME (4|ODB_ATTR_STRING) #define ODB_ATTR_DBMSNAME (4|ODB_ATTR_STRING)
#define ODB_ATTR_DBMSVER (5|ODB_ATTR_STRING) #define ODB_ATTR_DBMSVER (5|ODB_ATTR_STRING)
#define ODB_ATTR_SERVERNAME (6|ODB_ATTR_STRING) #define ODB_ATTR_SERVERNAME (6|ODB_ATTR_STRING)
skipping to change at line 293 skipping to change at line 294
#define SQL_TINYINT (-6) #define SQL_TINYINT (-6)
#define SQL_SMALLINT 5 #define SQL_SMALLINT 5
#define SQL_INTEGER 4 #define SQL_INTEGER 4
#define SQL_INT 4 #define SQL_INT 4
#define SQL_BIGINT (-5) #define SQL_BIGINT (-5)
#define SQL_NUMERIC 2 #define SQL_NUMERIC 2
#define SQL_REAL 7 #define SQL_REAL 7
#define SQL_FLOAT 6 #define SQL_FLOAT 6
#define SQL_DOUBLE 8 #define SQL_DOUBLE 8
#define SQL_DECIMAL 3 #define SQL_DECIMAL 3
#define SQL_DATE 9
#define SQL_TIME 10
#define SQL_TIMESTAMP 11
#define SQL_TYPE_DATE 91
#define SQL_TYPE_TIME 92
#define SQL_TYPE_TIMESTAMP 93 #define SQL_TYPE_TIMESTAMP 93
#define SQL_DATETIME 93 #define SQL_DATETIME 93
#define SQL_CHAR 1 #define SQL_CHAR 1
#define SQL_VARCHAR 12 #define SQL_VARCHAR 12
#define SQL_LONGVARCHAR (-1) #define SQL_LONGVARCHAR (-1)
#define SQL_TEXT (-1) #define SQL_TEXT (-1)
#define SQL_WCHAR (-8) #define SQL_WCHAR (-8)
#define SQL_NCHAR (-8) #define SQL_NCHAR (-8)
#define SQL_WVARCHAR (-9) #define SQL_WVARCHAR (-9)
#define SQL_NVARCHAR (-9) #define SQL_NVARCHAR (-9)
 End of changes. 5 change blocks. 
3 lines changed or deleted 9 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/