/*
* MS SQL Extension definitions
*
* Copyright (C) 1999 Xiang Li
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* 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,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef __SQLEXT_H
#define __SQLEXT_H
#include <sql.h>
#ifdef __cplusplus
extern "C" {
#endif
#if (ODBCVER < 0x0300)
#else
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0351)
#endif
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#define SQL_DTC_DONE 0L
#endif
#define SQL_CD_FALSE 0L
#if (ODBCVER >= 0x0351)
#define SQL_AA_FALSE 0L
#endif
#define SQL_QUERY_TIMEOUT 0
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#if (ODBCVER >= 0x0350)
#endif
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0350)
#endif
#if (ODBCVER >= 0x0300)
#else
#endif
#if (ODBCVER <= 0x0300)
#else
#endif
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0350)
#endif
#define SQL_TYPE_NULL 0
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#define SQL_COLUMN_COUNT 0
#if (ODBCVER < 0x0300)
#endif
#define SQL_ATTR_READONLY 0
#define SQL_UNSEARCHABLE 0
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER < 0x0300)
#endif
#define SQL_API_ALL_FUNCTIONS 0
#if (ODBCVER >= 0x0300)
#define SQL_FUNC_EXISTS(pfExists, uwAPI) ((*(((UWORD*) (pfExists)) + ((uwAPI) >> 4)) & (1 << ((uwAPI) & 0x000F)) ) ? SQL_TRUE : SQL_FALSE )
#endif
#define SQL_INFO_FIRST 0
#define SQL_ACTIVE_CONNECTIONS 0
#endif
#if (ODBCVER < 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#define SQL_CA2_MAX_ROWS_AFFECTS_ALL (SQL_CA2_MAX_ROWS_SELECT | SQL_CA2_MAX_ROWS_INSERT | SQL_CA2_MAX_ROWS_DELETE | SQL_CA2_MAX_ROWS_UPDATE | SQL_CA2_MAX_ROWS_CATALOG)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#endif
#if (ODBCVER >= 0x0300)
#define SQL_AM_NONE 0
#endif
#if (ODBCVER >= 0x0300)
#endif
#define SQL_ENTIRE_ROWSET 0
#define SQL_POSITION 0
#if (ODBCVER >= 0x0300)
#endif
#define SQL_LOCK_NO_CHANGE 0
#define SQL_QUICK 0
#define SQL_TABLE_STAT 0
#if (ODBCVER >= 0x0300)
#endif /* ODBCVER >= 0x0300 */
#define SQL_DRIVER_NOPROMPT 0
#define SQL_ROW_SUCCESS 0
#if (ODBCVER >= 0x0300)
#define SQL_ROW_PROCEED 0
#endif
#if (ODBCVER >= 0x0300)
#define SQL_PARAM_SUCCESS 0
#define SQL_PARAM_PROCEED 0
#endif
#define SQL_CASCADE 0
#if (ODBCVER >= 0x0250)
#endif
#if (ODBCVER >= 0x0300)
#endif
#define SQL_PARAM_TYPE_UNKNOWN 0
#define SQL_PT_UNKNOWN 0
#if (ODBCVER >= 0x0300)
#endif
SQLINTEGER *pfDesc);
SQLSMALLINT *pcpar);
SQLUINTEGER *pirow);
#ifdef ODBC_STD
#endif
#if (ODBCVER >= 0x0300)
#endif
#define SQL_SCROLL_FORWARD_ONLY 0L
RETCODE TraceCloseLogFile(void);
DWORD TraceVersion(void);
/*#define TRACE_ON 0x00000001L*/
typedef struct tagODBC_VS_ARGS {
union {
union {
#ifdef __cplusplus
}
#endif
#endif