8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 04:43:03 +01:00
firebird-mirror/src/jrd/scroll_cursors.h

88 lines
2.6 KiB
C
Raw Normal View History

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): ______________________________________.
*/
#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
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
ISC_STATUS ISC_EXPORT isc_dsql_fetch2_m(ISC_STATUS*,
isc_stmt_handle*,
2001-05-23 15:26:42 +02:00
unsigned short,
const char*,
2001-05-23 15:26:42 +02:00
unsigned short,
unsigned short,
char*,
2001-05-23 15:26:42 +02:00
unsigned short, signed long);
#endif
#ifdef SCROLLABLE_CURSORS
ISC_STATUS ISC_EXPORT isc_embed_dsql_fetch2(ISC_STATUS*,
char*,
2001-05-23 15:26:42 +02:00
unsigned short,
XSQLDA*,
2001-05-23 15:26:42 +02:00
unsigned short, signed long);
#endif
#ifdef SCROLLABLE_CURSORS
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__
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
#endif /* JRD_SCROLL_CURSORS_H */