2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* MODULE: scroll_cursors.h
|
|
|
|
* DESCRIPTION: OSRI entrypoints and defines for SCROLLABLE_CURSORS
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
|
|
|
*/
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#ifndef JRD_SCROLL_CURSORS_H
|
|
|
|
#define JRD_SCROLL_CURSORS_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2008-12-05 01:56:15 +01:00
|
|
|
/* ALL THE FOLLOWING DEFINITIONS HAVE BEEN TAKEN OUT OF JRD/IBASE.H
|
|
|
|
WHEN SCROLLABLE_CURSORS ARE TOTALLY IMPLEMENTED, THE FOLLOWING
|
2001-05-23 15:26:42 +02:00
|
|
|
DEFINITIONS NEED TO BE PUT IN THE PROPER INCLUDE FILE.
|
|
|
|
|
|
|
|
This was done so that IB 5.0 customers do not see any functions
|
|
|
|
they are not supposed to see.
|
2008-12-05 01:56:15 +01:00
|
|
|
As per Engg. team's decision on 23-Sep-1997
|
2001-05-23 15:26:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef SCROLLABLE_CURSORS
|
2003-06-05 12:12:45 +02:00
|
|
|
ISC_STATUS ISC_EXPORT isc_dsql_fetch2(ISC_STATUS *,
|
2003-02-28 14:10:12 +01:00
|
|
|
isc_stmt_handle *,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short,
|
2003-02-28 14:10:12 +01:00
|
|
|
XSQLDA *,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short, signed long);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCROLLABLE_CURSORS
|
2003-11-28 07:48:34 +01:00
|
|
|
ISC_STATUS ISC_EXPORT isc_dsql_fetch2_m(ISC_STATUS*,
|
|
|
|
isc_stmt_handle*,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short,
|
2003-11-28 07:48:34 +01:00
|
|
|
const char*,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short,
|
|
|
|
unsigned short,
|
2003-11-28 07:48:34 +01:00
|
|
|
char*,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short, signed long);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCROLLABLE_CURSORS
|
2003-11-28 07:48:34 +01:00
|
|
|
ISC_STATUS ISC_EXPORT isc_embed_dsql_fetch2(ISC_STATUS*,
|
|
|
|
char*,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short,
|
2003-11-28 07:48:34 +01:00
|
|
|
XSQLDA*,
|
2001-05-23 15:26:42 +02:00
|
|
|
unsigned short, signed long);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCROLLABLE_CURSORS
|
2003-06-05 12:12:45 +02:00
|
|
|
ISC_STATUS ISC_EXPORT isc_receive2(ISC_STATUS *,
|
2003-02-28 14:10:12 +01:00
|
|
|
isc_req_handle *,
|
2001-05-23 15:26:42 +02:00
|
|
|
short,
|
|
|
|
short,
|
2003-02-28 14:10:12 +01:00
|
|
|
void *,
|
2001-05-23 15:26:42 +02:00
|
|
|
short, unsigned short, unsigned long);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/****** Add the following commented lines in the #else part of..
|
2008-12-05 01:56:15 +01:00
|
|
|
#else __cplusplus || __STDC__
|
2003-06-05 12:12:45 +02:00
|
|
|
ISC_STATUS ISC_EXPORT isc_receive2();
|
2001-05-23 15:26:42 +02:00
|
|
|
******/
|
|
|
|
|
|
|
|
/****************************************/
|
|
|
|
/* Scroll direction for isc_dsql_fetch2 */
|
|
|
|
/****************************************/
|
|
|
|
|
2004-05-03 23:43:56 +02:00
|
|
|
const int isc_fetch_next = 0;
|
|
|
|
const int isc_fetch_prior = 1;
|
|
|
|
const int isc_fetch_first = 2;
|
|
|
|
const int isc_fetch_last = 3;
|
|
|
|
const int isc_fetch_absolute = 4;
|
|
|
|
const int isc_fetch_relative = 5;
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#endif /* JRD_SCROLL_CURSORS_H */
|