2
* MODULE: scroll_cursors.h
3
* DESCRIPTION: OSRI entrypoints and defines for SCROLLABLE_CURSORS
5
* The contents of this file are subject to the Interbase Public
6
* License Version 1.0 (the "License"); you may not use this file
7
* except in compliance with the License. You may obtain a copy
8
* of the License at http://www.Inprise.com/IPL.html
10
* Software distributed under the License is distributed on an
11
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
12
* or implied. See the License for the specific language governing
13
* rights and limitations under the License.
15
* The Original Code was created by Inprise Corporation
16
* and its predecessors. Portions created by Inprise Corporation are
17
* Copyright (C) Inprise Corporation.
19
* All Rights Reserved.
20
* Contributor(s): ______________________________________.
23
#ifndef JRD_SCROLL_CURSORS_H
24
#define JRD_SCROLL_CURSORS_H
26
/* ALL THE FOLLOWING DEFINITIONS HAVE BEEN TAKEN OUT OF JRD/IBASE.H
27
WHEN SCROLLABLE_CURSORS ARE TOTALLY IMPLEMENTED, THE FOLLOWING
28
DEFINITIONS NEED TO BE PUT IN THE PROPER INCLUDE FILE.
30
This was done so that IB 5.0 customers do not see any functions
31
they are not supposed to see.
32
As per Engg. team's decision on 23-Sep-1997
35
#ifdef SCROLLABLE_CURSORS
36
ISC_STATUS ISC_EXPORT isc_dsql_fetch2(ISC_STATUS *,
40
unsigned short, signed long);
43
#ifdef SCROLLABLE_CURSORS
44
ISC_STATUS ISC_EXPORT isc_dsql_fetch2_m(ISC_STATUS*,
51
unsigned short, signed long);
54
#ifdef SCROLLABLE_CURSORS
55
ISC_STATUS ISC_EXPORT isc_embed_dsql_fetch2(ISC_STATUS*,
59
unsigned short, signed long);
62
#ifdef SCROLLABLE_CURSORS
63
ISC_STATUS ISC_EXPORT isc_receive2(ISC_STATUS *,
68
short, unsigned short, unsigned long);
71
/****** Add the following commented lines in the #else part of..
72
#else __cplusplus || __STDC__
73
ISC_STATUS ISC_EXPORT isc_receive2();
76
/****************************************/
77
/* Scroll direction for isc_dsql_fetch2 */
78
/****************************************/
80
const int isc_fetch_next = 0;
81
const int isc_fetch_prior = 1;
82
const int isc_fetch_first = 2;
83
const int isc_fetch_last = 3;
84
const int isc_fetch_absolute = 4;
85
const int isc_fetch_relative = 5;
87
#endif /* JRD_SCROLL_CURSORS_H */