68 lines
1.6 KiB
C
68 lines
1.6 KiB
C
|
#ifndef TRINLIST_H
|
||
|
#define TRINLIST_H
|
||
|
/******************************************************************************
|
||
|
*
|
||
|
* Inlist structures, a bayer tree (for TRANS function)
|
||
|
*
|
||
|
* 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.
|
||
|
*
|
||
|
* (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 intented
|
||
|
* 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.
|
||
|
* 01/04/95 15442 MJK Minor changes to clean up warnings under Windows NT
|
||
|
* 08/26/94 14778 SPR Port FiiRESTORM trans cache changes to release 8.
|
||
|
*
|
||
|
*****************************************************************************/
|
||
|
|
||
|
/* inlist structures. These are the components of an inlist. */
|
||
|
#define RPGN 2
|
||
|
|
||
|
struct ritem
|
||
|
{
|
||
|
STRING key,
|
||
|
recd;
|
||
|
int amc;
|
||
|
struct rpage *p;
|
||
|
int count;
|
||
|
};
|
||
|
typedef struct ritem RITEM;
|
||
|
|
||
|
struct rpage
|
||
|
{
|
||
|
int m;
|
||
|
struct rpage *p0;
|
||
|
RITEM *e[RPGN*2];
|
||
|
};
|
||
|
typedef struct rpage RPAGE;
|
||
|
|
||
|
struct rinlist
|
||
|
{
|
||
|
int memuse;
|
||
|
int count;
|
||
|
RPAGE *root;
|
||
|
};
|
||
|
typedef struct rinlist RINLIST;
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
int Vinode;
|
||
|
uUVLONG Vdev;
|
||
|
int active;
|
||
|
DBFILE tfile;
|
||
|
STRING file;
|
||
|
RINLIST *rtree;
|
||
|
} F_CACHE;
|
||
|
|
||
|
#endif
|