home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (c) 1987 Shrier and Deihl. Licensed to Mix Software, Inc.
-
- btree.h - include file for btree.c module
-
- Note: ctlrec.h must be included before this file.
- */
-
- /*
- The internal structure of a Cbtree object.
-
- When curblock == NONE, the curindex is meaningless.
- When mrkblock == NONE, the mrkindex is meaningless.
- */
-
- typedef struct cbtree {
- struct cbtree *next; /* next in list of valid trees */
- Ctlrec *ctl; /* pointer to control record */
- int (*keycmp) (); /* pointer to key compare function */
- int pos_stat; /* position status (BOI, OK, or EOI) */
- Blk_Nbr curblock; /* filecursor - block number, current leaf */
- int curindex; /* filecursor - index of current l_pair */
- int mrk_stat; /* mark status (BOI, OK, or EOI) */
- Blk_Nbr mrkblock; /* filecursor - block number, marked leaf */
- int mrkindex; /* filecursor - index of marked l_pair */
- } Cbtree;
-
- /* end btree.h */
-