OFunctions.hxx (caf5cd79) OFunctions.hxx (1600af0e)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 178 unchanged lines hidden (view full) ---

187
188 #define N3SQLGetDescRec(a,b,c,d,e,f,g,h,i,j,k) (*(T3SQLGetDescRec)getOdbcFunction(ODBC3SQLGetDescRec))(a,b,c,d,e,f,g,h,i,j,k)
189
190
191 typedef SQLRETURN (SQL_API *T3SQLSetDescRec) ( SQLHDESC DescriptorHandle,
192 SQLSMALLINT RecNumber,
193 SQLSMALLINT Type,
194 SQLSMALLINT SubType,
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 178 unchanged lines hidden (view full) ---

187
188 #define N3SQLGetDescRec(a,b,c,d,e,f,g,h,i,j,k) (*(T3SQLGetDescRec)getOdbcFunction(ODBC3SQLGetDescRec))(a,b,c,d,e,f,g,h,i,j,k)
189
190
191 typedef SQLRETURN (SQL_API *T3SQLSetDescRec) ( SQLHDESC DescriptorHandle,
192 SQLSMALLINT RecNumber,
193 SQLSMALLINT Type,
194 SQLSMALLINT SubType,
195 SQLINTEGER Length,
195 SQLLEN Length,
196 SQLSMALLINT Precision,
197 SQLSMALLINT Scale,
198 SQLPOINTER DataPtr,
199 SQLLEN * StringLengthPtr,
200 SQLLEN * IndicatorPtr);
201
202 #define N3SQLSetDescRec(a,b,c,d,e,f,g,h,i,j) (*(T3SQLSetDescRec)getOdbcFunction(ODBC3SQLSetDescRec))(a,b,c,d,e,f,g,h,i,j)
203 */

--- 38 unchanged lines hidden (view full) ---

242 #define N3SQLExecute(a) (*(T3SQLExecute)getOdbcFunction(ODBC3SQLExecute))(a)
243
244 typedef SQLRETURN (SQL_API *T3SQLExecDirect) ( SQLHSTMT StatementHandle,
245 SQLCHAR * StatementText,
246 SQLINTEGER TextLength);
247
248 #define N3SQLExecDirect(a,b,c) (*(T3SQLExecDirect)getOdbcFunction(ODBC3SQLExecDirect))(a,b,c)
249
196 SQLSMALLINT Precision,
197 SQLSMALLINT Scale,
198 SQLPOINTER DataPtr,
199 SQLLEN * StringLengthPtr,
200 SQLLEN * IndicatorPtr);
201
202 #define N3SQLSetDescRec(a,b,c,d,e,f,g,h,i,j) (*(T3SQLSetDescRec)getOdbcFunction(ODBC3SQLSetDescRec))(a,b,c,d,e,f,g,h,i,j)
203 */

--- 38 unchanged lines hidden (view full) ---

242 #define N3SQLExecute(a) (*(T3SQLExecute)getOdbcFunction(ODBC3SQLExecute))(a)
243
244 typedef SQLRETURN (SQL_API *T3SQLExecDirect) ( SQLHSTMT StatementHandle,
245 SQLCHAR * StatementText,
246 SQLINTEGER TextLength);
247
248 #define N3SQLExecDirect(a,b,c) (*(T3SQLExecDirect)getOdbcFunction(ODBC3SQLExecDirect))(a,b,c)
249
250 /*typedef SQLRETURN (SQL_API *T3SQLNativeSql) ( SQLHDBC ConnectionHandle,
251 SQLCHAR * InStatementText,
252 SQLINTEGER TextLength1,
253 SQLCHAR * utStatementText,
254 SQLINTEGER BufferLength,
255 SQLINTEGER * TextLength2Ptr);
256
257 #define N3SQLNativeSql(a,b,c,d,e,f) (*(T3SQLNativeSql)getOdbcFunction(ODBC3SQLNativeSql))(a,b,c,d,e,f)*/
258
259 typedef SQLRETURN (SQL_API *T3SQLDescribeParam) (SQLHSTMT StatementHandle,
260 SQLUSMALLINT ParameterNumber,
261 SQLSMALLINT * DataTypePtr,
262 SQLULEN * ParameterSizePtr,
263 SQLSMALLINT * DecimalDigitsPtr,
264 SQLSMALLINT * NullablePtr);
265
266 #define N3SQLDescribeParam(a,b,c,d,e,f) (*(T3SQLDescribeParam)getOdbcFunction(ODBC3SQLDescribeParam))(a,b,c,d,e,f)

--- 286 unchanged lines hidden ---
250 typedef SQLRETURN (SQL_API *T3SQLDescribeParam) (SQLHSTMT StatementHandle,
251 SQLUSMALLINT ParameterNumber,
252 SQLSMALLINT * DataTypePtr,
253 SQLULEN * ParameterSizePtr,
254 SQLSMALLINT * DecimalDigitsPtr,
255 SQLSMALLINT * NullablePtr);
256
257 #define N3SQLDescribeParam(a,b,c,d,e,f) (*(T3SQLDescribeParam)getOdbcFunction(ODBC3SQLDescribeParam))(a,b,c,d,e,f)

--- 286 unchanged lines hidden ---