odbtp.h   odbtp.h 
/* $Id: odbtp.h,v 1.21 2003/12/07 04:40:52 rtwitty Exp $ */ /* $Id: odbtp.h,v 1.29 2004/06/02 20:11:58 rtwitty Exp $ */
/* /*
odbtp - ODBTP client library odbtp - ODBTP client library
Copyright (C) 2002 Robert E. Twitty <rtwitty@users.sourceforge.net> Copyright (C) 2002-2004 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.
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_
#define ODBTP_LIB_VERSION "1.1" #define ODBTP_LIB_VERSION "1.1.1"
/* ODBTP Connection Level Request Codes */ /* ODBTP Connection Level Request Codes */
#define ODBTP_LOGIN 0x01 #define ODBTP_LOGIN 0x01
#define ODBTP_LOGOUT 0x02 #define ODBTP_LOGOUT 0x02
#define ODBTP_GETCONNID 0x03 #define ODBTP_GETCONNID 0x03
#define ODBTP_GETATTR 0x04 #define ODBTP_GETATTR 0x04
#define ODBTP_SETATTR 0x05 #define ODBTP_SETATTR 0x05
#define ODBTP_COMMIT 0x06 #define ODBTP_COMMIT 0x06
#define ODBTP_ROLLBACK 0x07 #define ODBTP_ROLLBACK 0x07
#define ODBTP_CANCELREQ 0x1F #define ODBTP_CANCELREQ 0x1F
skipping to change at line 123 skipping to change at line 123
/* ODB Numeric Attributes */ /* ODB Numeric Attributes */
#define ODB_ATTR_DRIVER 0 #define ODB_ATTR_DRIVER 0
#define ODB_ATTR_FETCHROWCOUNT 1 #define ODB_ATTR_FETCHROWCOUNT 1
#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_VARDATASIZE 10
/* 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 174 skipping to change at line 176
/* ODB Param Types */ /* ODB Param Types */
#define ODB_PARAM_NONE 0x0000 #define ODB_PARAM_NONE 0x0000
#define ODB_PARAM_INPUT 0x0001 #define ODB_PARAM_INPUT 0x0001
#define ODB_PARAM_OUTPUT 0x0002 #define ODB_PARAM_OUTPUT 0x0002
#define ODB_PARAM_INOUT (ODB_PARAM_INPUT | ODB_PARAM_OUTPUT) #define ODB_PARAM_INOUT (ODB_PARAM_INPUT | ODB_PARAM_OUTPUT)
#define ODB_PARAM_RETURNVAL (0x0004 | ODB_PARAM_OUTPUT) #define ODB_PARAM_RETURNVAL (0x0004 | ODB_PARAM_OUTPUT)
#define ODB_PARAM_RESULTCOL 0x0008 #define ODB_PARAM_RESULTCOL 0x0008
#define ODB_PARAM_DESCRIBED 0x8000 #define ODB_PARAM_DESCRIBED 0x8000
/* ODB Length Indicators */ /* ODB Length Indicators */
#define ODB_NULL (-1) #define ODB_NULL (-1)
#define ODB_DEFAULT (-5) #define ODB_DEFAULT (-5)
#define ODB_IGNORE (-6) #define ODB_IGNORE (-6)
#define ODB_TRUNCATION 0xE0000001
#define ODB_SENTSYNC 0xF000000F
/* ODB Cursor Types */ /* ODB Cursor Types */
#define ODB_CURSOR_FORWARD 0 #define ODB_CURSOR_FORWARD 0
#define ODB_CURSOR_STATIC 1 #define ODB_CURSOR_STATIC 1
#define ODB_CURSOR_KEYSET 2 #define ODB_CURSOR_KEYSET 2
#define ODB_CURSOR_DYNAMIC 3 #define ODB_CURSOR_DYNAMIC 3
/* ODB Cursor Concurrency Types */ /* ODB Cursor Concurrency Types */
#define ODB_CONCUR_DEFAULT 0 #define ODB_CONCUR_DEFAULT 0
#define ODB_CONCUR_READONLY 1 #define ODB_CONCUR_READONLY 1
skipping to change at line 250 skipping to change at line 254
#define ODBTPERR_PARAMNUMBER 18 #define ODBTPERR_PARAMNUMBER 18
#define ODBTPERR_PARAMNAME 19 #define ODBTPERR_PARAMNAME 19
#define ODBTPERR_PARAMBIND 20 #define ODBTPERR_PARAMBIND 20
#define ODBTPERR_PARAMGET 21 #define ODBTPERR_PARAMGET 21
#define ODBTPERR_ATTRTYPE 22 #define ODBTPERR_ATTRTYPE 22
#define ODBTPERR_GETQUERY 23 #define ODBTPERR_GETQUERY 23
#define ODBTPERR_INTERFFILE 24 #define ODBTPERR_INTERFFILE 24
#define ODBTPERR_INTERFSYN 25 #define ODBTPERR_INTERFSYN 25
#define ODBTPERR_INTERFTYPE 26 #define ODBTPERR_INTERFTYPE 26
#define ODBTPERR_CONNSTRLEN 27 #define ODBTPERR_CONNSTRLEN 27
#define ODBTPERR_NOROWCACHE 28 #define ODBTPERR_NOSEEKCURSOR 28
#define ODBTPERR_SEEKROWPOS 29 #define ODBTPERR_SEEKROWPOS 29
#define ODBTPERR_DETACHED 30 #define ODBTPERR_DETACHED 30
#define ODBTPERR_GETTYPEINFO 31 #define ODBTPERR_GETTYPEINFO 31
#define ODBTPERR_LOADTYPES 32 #define ODBTPERR_LOADTYPES 32
#define ODBTPERR_NOREQUEST 33 #define ODBTPERR_NOREQUEST 33
#define ODBTPERR_FETCHEDROWS 34 #define ODBTPERR_FETCHEDROWS 34
#define ODBTPERR_DISCONNECTED 35 #define ODBTPERR_DISCONNECTED 35
#define ODBTPERR_HOSTRESOLVE 36
#define ODBTPERR_SERVER 100 #define ODBTPERR_SERVER 100
/* SQL Data Types */ /* SQL Data Types */
#define SQL_BIT (-7) #define SQL_BIT (-7)
#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
skipping to change at line 380 skipping to change at line 385
odbUSHORT usParam, odbSHORT sDataType, odbUSHORT usParam, odbSHORT sDataType,
odbLONG lDataLen, odbBOOL bFinal ); odbLONG lDataLen, odbBOOL bFinal );
odbBOOL odbBindParam( odbHANDLE hQry, odbUSHORT usParam, odbBOOL odbBindParam( odbHANDLE hQry, odbUSHORT usParam,
odbUSHORT usType, odbSHORT sDataType, odbUSHORT usType, odbSHORT sDataType,
odbLONG lDataLen, odbBOOL bFinal ); odbLONG lDataLen, odbBOOL bFinal );
odbBOOL odbBindParamEx( odbHANDLE hQry, odbUSHORT usParam, odbBOOL odbBindParamEx( odbHANDLE hQry, odbUSHORT usParam,
odbUSHORT usType, odbSHORT sDataType, odbUSHORT usType, odbSHORT sDataType,
odbLONG lDataLen, odbSHORT sSqlType, odbLONG lDataLen, odbSHORT sSqlType,
odbULONG ulColSize, odbSHORT sDecDigits, odbULONG ulColSize, odbSHORT sDecDigits,
odbBOOL bFinal ); odbBOOL bFinal );
odbLONG odbColActualLen( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColBaseName( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColBaseName( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColBaseTable( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColBaseTable( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColCatalog( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColCatalog( odbHANDLE hQry, odbUSHORT usCol );
odbPVOID odbColData( odbHANDLE hQry, odbUSHORT usCol ); odbPVOID odbColData( odbHANDLE hQry, odbUSHORT usCol );
odbBYTE odbColDataByte( odbHANDLE hQry, odbUSHORT usCol ); odbBYTE odbColDataByte( odbHANDLE hQry, odbUSHORT usCol );
odbDOUBLE odbColDataDouble( odbHANDLE hQry, odbUSHORT usCol ); odbDOUBLE odbColDataDouble( odbHANDLE hQry, odbUSHORT usCol );
odbFLOAT odbColDataFloat( odbHANDLE hQry, odbUSHORT usCol ); odbFLOAT odbColDataFloat( odbHANDLE hQry, odbUSHORT usCol );
odbLONG odbColDataLen( odbHANDLE hQry, odbUSHORT usCol ); odbLONG odbColDataLen( odbHANDLE hQry, odbUSHORT usCol );
odbULONG odbColDataLong( odbHANDLE hQry, odbUSHORT usCol ); odbULONG odbColDataLong( odbHANDLE hQry, odbUSHORT usCol );
odbULONGLONG odbColDataLongLong( odbHANDLE hQry, odbUSHORT usCol ); odbULONGLONG odbColDataLongLong( odbHANDLE hQry, odbUSHORT usCol );
skipping to change at line 404 skipping to change at line 410
odbSHORT odbColDecDigits( odbHANDLE hQry, odbUSHORT usCol ); odbSHORT odbColDecDigits( odbHANDLE hQry, odbUSHORT usCol );
odbSHORT odbColDefaultDataType( odbHANDLE hQry, odbUSHORT usCol ); odbSHORT odbColDefaultDataType( odbHANDLE hQry, odbUSHORT usCol );
odbULONG odbColFlags( odbHANDLE hQry, odbUSHORT usCol ); odbULONG odbColFlags( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColName( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColName( odbHANDLE hQry, odbUSHORT usCol );
odbUSHORT odbColNum( odbHANDLE hQry, odbPCSTR pszName ); odbUSHORT odbColNum( odbHANDLE hQry, odbPCSTR pszName );
odbPCSTR odbColSchema( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColSchema( odbHANDLE hQry, odbUSHORT usCol );
odbULONG odbColSize( odbHANDLE hQry, odbUSHORT usCol ); odbULONG odbColSize( odbHANDLE hQry, odbUSHORT usCol );
odbSHORT odbColSqlType( odbHANDLE hQry, odbUSHORT usCol ); odbSHORT odbColSqlType( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColSqlTypeName( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColSqlTypeName( odbHANDLE hQry, odbUSHORT usCol );
odbPCSTR odbColTable( odbHANDLE hQry, odbUSHORT usCol ); odbPCSTR odbColTable( odbHANDLE hQry, odbUSHORT usCol );
odbBOOL odbColTruncated( odbHANDLE hQry, odbUSHORT usCol );
odbPVOID odbColUserData( odbHANDLE hQry, odbUSHORT usCol ); odbPVOID odbColUserData( odbHANDLE hQry, odbUSHORT usCol );
odbBOOL odbCommit( odbHANDLE hCon ); odbBOOL odbCommit( odbHANDLE hCon );
odbBOOL odbConvertAll( odbHANDLE hCon, odbBOOL bConvert ); odbBOOL odbConvertAll( odbHANDLE hCon, odbBOOL bConvert );
odbBOOL odbConvertDatetime( odbHANDLE hCon, odbBOOL bConvert ); odbBOOL odbConvertDatetime( odbHANDLE hCon, odbBOOL bConvert );
void odbCTimeToTimestamp( odbPTIMESTAMP ptsTime, odbLONG lTime ); void odbCTimeToTimestamp( odbPTIMESTAMP ptsTime, odbLONG lTime );
odbBOOL odbDescribeSqlType( odbHANDLE hCon, odbBOOL odbDescribeSqlType( odbHANDLE hCon,
odbPCSTR pszSqlTypeName, odbPSHORT psSqlT ype, odbPCSTR pszSqlTypeName, odbPSHORT psSqlT ype,
odbPULONG pulColSize, odbPSHORT psDecDigi ts ); odbPULONG pulColSize, odbPSHORT psDecDigi ts );
odbBOOL odbDetachQry( odbHANDLE hQry ); odbBOOL odbDetachQry( odbHANDLE hQry );
odbBOOL odbDoRowOperation( odbHANDLE hQry, odbUSHORT usRowOp ); odbBOOL odbDoRowOperation( odbHANDLE hQry, odbUSHORT usRowOp );
skipping to change at line 443 skipping to change at line 450
odbBOOL odbGetOutputParams( odbHANDLE hQry ); odbBOOL odbGetOutputParams( odbHANDLE hQry );
odbBOOL odbGetParam( odbHANDLE hQry, odbUSHORT usParam, odbBOOL bFina l ); odbBOOL odbGetParam( odbHANDLE hQry, odbUSHORT usParam, odbBOOL bFina l );
odbHANDLE odbGetQuery( odbHANDLE hCon, odbULONG ulQryId ); odbHANDLE odbGetQuery( odbHANDLE hCon, odbULONG ulQryId );
odbULONG odbGetQueryId( odbHANDLE hQry ); odbULONG odbGetQueryId( odbHANDLE hQry );
odbPVOID odbGetResponse( odbHANDLE hOdb ); odbPVOID odbGetResponse( odbHANDLE hOdb );
odbULONG odbGetResponseCode( odbHANDLE hOdb ); odbULONG odbGetResponseCode( odbHANDLE hOdb );
odbULONG odbGetResponseSize( odbHANDLE hOdb ); odbULONG odbGetResponseSize( odbHANDLE hOdb );
odbULONG odbGetRowCacheSize( odbHANDLE hCon ); odbULONG odbGetRowCacheSize( odbHANDLE hCon );
odbLONG odbGetRowCount( odbHANDLE hQry ); odbLONG odbGetRowCount( odbHANDLE hQry );
odbULONG odbGetRowStatus( odbHANDLE hQry ); odbULONG odbGetRowStatus( odbHANDLE hQry );
odbLONG odbGetSockError( odbHANDLE hOdb );
odbPCSTR odbGetSockErrorText( odbHANDLE hOdb );
odbUSHORT odbGetTotalCols( odbHANDLE hQry ); odbUSHORT odbGetTotalCols( odbHANDLE hQry );
odbUSHORT odbGetTotalParams( odbHANDLE hQry ); odbUSHORT odbGetTotalParams( odbHANDLE hQry );
odbLONG odbGetTotalRows( odbHANDLE hQry ); odbLONG odbGetTotalRows( odbHANDLE hQry );
odbPVOID odbGetUserData( odbHANDLE hOdb ); odbPVOID odbGetUserData( odbHANDLE hOdb );
odbULONG odbGetUserDataLong( odbHANDLE hOdb ); odbULONG odbGetUserDataLong( odbHANDLE hOdb );
odbPCSTR odbGetVersion( odbHANDLE hCon );
odbBOOL odbGotParam( odbHANDLE hQry, odbUSHORT usParam ); odbBOOL odbGotParam( odbHANDLE hQry, odbUSHORT usParam );
odbBOOL odbIsConnected( odbHANDLE hOdb ); odbBOOL odbIsConnected( odbHANDLE hOdb );
odbBOOL odbIsConnection( odbHANDLE hOdb ); odbBOOL odbIsConnection( odbHANDLE hOdb );
odbBOOL odbIsTextAttr( odbLONG lAttr ); odbBOOL odbIsTextAttr( odbLONG lAttr );
odbBOOL odbIsUsingRowCache( odbHANDLE hCon ); odbBOOL odbIsUsingRowCache( odbHANDLE hCon );
odbBOOL odbLoadDataTypes( odbHANDLE hCon ); odbBOOL odbLoadDataTypes( odbHANDLE hCon );
odbBOOL odbLogin( odbHANDLE hCon, odbPCSTR pszServer, odbUSHORT usPor t, odbBOOL odbLogin( odbHANDLE hCon, odbPCSTR pszServer, odbUSHORT usPor t,
odbUSHORT usType, odbPCSTR pszDBConnect ); odbUSHORT usType, odbPCSTR pszDBConnect );
odbBOOL odbLoginInterface( odbHANDLE hCon, odbPCSTR pszFile, odbBOOL odbLoginInterface( odbHANDLE hCon, odbPCSTR pszFile,
odbPCSTR pszInterface, odbPCSTR pszUsername , odbPCSTR pszInterface, odbPCSTR pszUsername ,
odbPCSTR pszPassword, odbPCSTR pszDatabase, odbPCSTR pszPassword, odbPCSTR pszDatabase,
odbUSHORT usType ); odbUSHORT usType );
odbBOOL odbLogout( odbHANDLE hCon, odbBOOL bDisconnectDb ); odbBOOL odbLogout( odbHANDLE hCon, odbBOOL bDisconnectDb );
odbPSTR odbLongLongToStr( odbLONGLONG llVal, odbPSTR pszStrEnd ); odbPSTR odbLongLongToStr( odbLONGLONG llVal, odbPSTR pszStrEnd );
odbBOOL odbNoData( odbHANDLE hQry ); odbBOOL odbNoData( odbHANDLE hQry );
odbLONG odbParamActualLen( odbHANDLE hQry, odbUSHORT usParam );
odbPVOID odbParamData( odbHANDLE hQry, odbUSHORT usParam ); odbPVOID odbParamData( odbHANDLE hQry, odbUSHORT usParam );
odbBYTE odbParamDataByte( odbHANDLE hQry, odbUSHORT usParam ); odbBYTE odbParamDataByte( odbHANDLE hQry, odbUSHORT usParam );
odbDOUBLE odbParamDataDouble( odbHANDLE hQry, odbUSHORT usCol ); odbDOUBLE odbParamDataDouble( odbHANDLE hQry, odbUSHORT usCol );
odbFLOAT odbParamDataFloat( odbHANDLE hQry, odbUSHORT usCol ); odbFLOAT odbParamDataFloat( odbHANDLE hQry, odbUSHORT usCol );
odbLONG odbParamDataLen( odbHANDLE hQry, odbUSHORT usParam ); odbLONG odbParamDataLen( odbHANDLE hQry, odbUSHORT usParam );
odbULONG odbParamDataLong( odbHANDLE hQry, odbUSHORT usParam ); odbULONG odbParamDataLong( odbHANDLE hQry, odbUSHORT usParam );
odbULONGLONG odbParamDataLongLong( odbHANDLE hQry, odbUSHORT usParam ); odbULONGLONG odbParamDataLongLong( odbHANDLE hQry, odbUSHORT usParam );
odbUSHORT odbParamDataShort( odbHANDLE hQry, odbUSHORT usParam ); odbUSHORT odbParamDataShort( odbHANDLE hQry, odbUSHORT usParam );
odbPSTR odbParamDataText( odbHANDLE hQry, odbUSHORT usParam ); odbPSTR odbParamDataText( odbHANDLE hQry, odbUSHORT usParam );
odbPTIMESTAMP odbParamDataTimestamp( odbHANDLE hQry, odbUSHORT usCol ); odbPTIMESTAMP odbParamDataTimestamp( odbHANDLE hQry, odbUSHORT usCol );
odbSHORT odbParamDataType( odbHANDLE hQry, odbUSHORT usParam ); odbSHORT odbParamDataType( odbHANDLE hQry, odbUSHORT usParam );
odbSHORT odbParamDecDigits( odbHANDLE hQry, odbUSHORT usParam ); odbSHORT odbParamDecDigits( odbHANDLE hQry, odbUSHORT usParam );
odbSHORT odbParamDefaultDataType( odbHANDLE hQry, odbUSHORT usParam ); odbSHORT odbParamDefaultDataType( odbHANDLE hQry, odbUSHORT usParam );
odbPCSTR odbParamName( odbHANDLE hQry, odbUSHORT usParam ); odbPCSTR odbParamName( odbHANDLE hQry, odbUSHORT usParam );
odbUSHORT odbParamNum( odbHANDLE hQry, odbPCSTR pszName ); odbUSHORT odbParamNum( odbHANDLE hQry, odbPCSTR pszName );
odbULONG odbParamSize( odbHANDLE hQry, odbUSHORT usParam ); odbULONG odbParamSize( odbHANDLE hQry, odbUSHORT usParam );
odbSHORT odbParamSqlType( odbHANDLE hQry, odbUSHORT usParam ); odbSHORT odbParamSqlType( odbHANDLE hQry, odbUSHORT usParam );
odbPCSTR odbParamSqlTypeName( odbHANDLE hQry, odbUSHORT usParam ); odbPCSTR odbParamSqlTypeName( odbHANDLE hQry, odbUSHORT usParam );
odbBOOL odbParamTruncated( odbHANDLE hQry, odbUSHORT usParam );
odbUSHORT odbParamType( odbHANDLE hQry, odbUSHORT usParam ); odbUSHORT odbParamType( odbHANDLE hQry, odbUSHORT usParam );
odbPVOID odbParamUserData( odbHANDLE hQry, odbUSHORT usParam ); odbPVOID odbParamUserData( odbHANDLE hQry, odbUSHORT usParam );
odbBOOL odbPrepare( odbHANDLE hQry, odbPCSTR pszSQL ); odbBOOL odbPrepare( odbHANDLE hQry, odbPCSTR pszSQL );
odbBOOL odbPrepareProc( odbHANDLE hQry, odbPCSTR pszProcedure ); odbBOOL odbPrepareProc( odbHANDLE hQry, odbPCSTR pszProcedure );
odbBOOL odbRollback( odbHANDLE hCon ); odbBOOL odbRollback( odbHANDLE hCon );
odbBOOL odbSeekRow( odbHANDLE hQry, odbLONG lRow ); odbBOOL odbSeekRow( odbHANDLE hQry, odbLONG lRow );
odbBOOL odbSetAttrLong( odbHANDLE hCon, odbLONG lAttr, odbBOOL odbSetAttrLong( odbHANDLE hCon, odbLONG lAttr,
odbULONG ulVal ); odbULONG ulVal );
odbBOOL odbSetAttrText( odbHANDLE hCon, odbLONG lAttr, odbBOOL odbSetAttrText( odbHANDLE hCon, odbLONG lAttr,
odbPCSTR pszVal ); odbPCSTR pszVal );
skipping to change at line 555 skipping to change at line 567
odbPVOID pVal ); odbPVOID pVal );
odbULONG odbSetReadTimeout( odbHANDLE hOdb, odbULONG ulTimeout ); odbULONG odbSetReadTimeout( odbHANDLE hOdb, odbULONG ulTimeout );
odbULONG odbSetSendTimeout( odbHANDLE hOdb, odbULONG ulTimeout ); odbULONG odbSetSendTimeout( odbHANDLE hOdb, odbULONG ulTimeout );
void odbSetUserData( odbHANDLE hOdb, odbPVOID pVal ); void odbSetUserData( odbHANDLE hOdb, odbPVOID pVal );
void odbSetUserDataLong( odbHANDLE hOdb, odbULONG ulVal ); void odbSetUserDataLong( odbHANDLE hOdb, odbULONG ulVal );
odbLONGLONG odbStrToLongLong( odbPCSTR pszStr ); odbLONGLONG odbStrToLongLong( odbPCSTR pszStr );
odbULONGLONG odbStrToULongLong( odbPCSTR pszStr ); odbULONGLONG odbStrToULongLong( odbPCSTR pszStr );
odbLONG odbTimestampToCTime( odbPTIMESTAMP ptsTime ); odbLONG odbTimestampToCTime( odbPTIMESTAMP ptsTime );
odbPSTR odbULongLongToStr( odbULONGLONG ullVal, odbPSTR pszStrEnd ); odbPSTR odbULongLongToStr( odbULONGLONG ullVal, odbPSTR pszStrEnd );
odbBOOL odbUseRowCache( odbHANDLE hCon, odbBOOL bUse, odbULONG ulSize ); odbBOOL odbUseRowCache( odbHANDLE hCon, odbBOOL bUse, odbULONG ulSize );
void odbWinsockCleanup(); void odbWinsockCleanup(void);
odbBOOL odbWinsockStartup(); odbBOOL odbWinsockStartup(void);
#define odbFetchRowAbs( hQry, lRow ) odbFetchRowEx( (hQry), ODB_FETCH_ABS, (lRow) ) #define odbFetchRowAbs( hQry, lRow ) odbFetchRowEx( (hQry), ODB_FETCH_ABS, (lRow) )
#define odbFetchRowBookmark( hQry, lRowOffset ) odbFetchRowEx( (hQry), ODB_ FETCH_BOOKMARK, (lRowOffset) ) #define odbFetchRowBookmark( hQry, lRowOffset ) odbFetchRowEx( (hQry), ODB_ FETCH_BOOKMARK, (lRowOffset) )
#define odbFetchRowFirst( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_FIRST, 0 ) #define odbFetchRowFirst( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_FIRST, 0 )
#define odbFetchRowLaxt( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_LAST, 0 ) #define odbFetchRowLaxt( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_LAST, 0 )
#define odbFetchRowNext( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_NEXT, 0 ) #define odbFetchRowNext( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_NEXT, 0 )
#define odbFetchRowPrev( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_PREV, 0 ) #define odbFetchRowPrev( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_PREV, 0 )
#define odbFetchRowRel( hQry, lRowOffset ) odbFetchRowEx( (hQry), ODB_FETCH _REL, (lRowOffset) ) #define odbFetchRowRel( hQry, lRowOffset ) odbFetchRowEx( (hQry), ODB_FETCH _REL, (lRowOffset) )
#define odbFetchRowReread( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_REREAD, 0 ) #define odbFetchRowReread( hQry ) odbFetchRowEx( (hQry), ODB_FETCH_REREAD, 0 )
 End of changes. 14 change blocks. 
9 lines changed or deleted 21 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/