49 lines
1.4 KiB
C
Executable File
49 lines
1.4 KiB
C
Executable File
#ifndef h_bscan
|
|
#define h_bscan
|
|
/******************************************************************************
|
|
*
|
|
* bscan.h - structure / pointer definitions
|
|
*
|
|
* Module %M% Version %I% Date %H%
|
|
*
|
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
|
* The copyright notice above does not evidence any actual or intended
|
|
* publication of such source code.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* Maintenence log - insert most recent change descriptions at top
|
|
*
|
|
* Date.... GTAR# WHO Description.........................................
|
|
* 10/14/98 23801 SAP Change copyrights.
|
|
* 09/28/98 23672 GMH Convert DBITEM to DBITEMNEW
|
|
* 09/07/93 12207 GMH Add distributed file status code
|
|
* 06/17/92 7170 GMH Initial installation
|
|
*
|
|
******************************************************************************/
|
|
struct bscanlist
|
|
{
|
|
struct bscanlist *next;
|
|
struct bscanlist *prev;
|
|
int filenum;
|
|
int slot; /* next slot */
|
|
int dir; /* 0=ascending, 1=descending */
|
|
DBITEMNEW *buffer;
|
|
DBITEMNEW *ovfbuf;
|
|
};
|
|
|
|
EXTERN struct bscanlist *Bscanhead;
|
|
|
|
#define Bad_file -1
|
|
#define Out_of_bounds 0
|
|
#define Matched_id 1
|
|
#define Unmatched_id 2
|
|
#define No_index 3
|
|
#define No_indexname 4
|
|
#define Bad_by_clause 5
|
|
#define Must_be_built 6
|
|
#define Not_supported 7
|
|
#define Internal_error 10
|
|
#endif /* end of bscan.h */
|