78 lines
1.8 KiB
C
Executable File
78 lines
1.8 KiB
C
Executable File
#ifndef h_scanglob
|
|
#define h_scanglob
|
|
/******************************************************************************
|
|
*
|
|
* Declarations for UniVerse Database scan globals
|
|
*
|
|
* 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 intented
|
|
* publication of such source code.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* Maintenence log - insert most recent change descriptions at top
|
|
*
|
|
* Date.... GTAR# WHO Description.........................................
|
|
* 04/12/99 24742 GMH Update structure for 64bit T25 files
|
|
* 10/14/98 23801 SAP Change copyrights.
|
|
* 07/17/98 22910 JBG Add current latched group
|
|
* 03/13/96 18131 PNV Inverted includes for (dirent.h and SY_DIR_H)
|
|
* 12/06/95 17538 TMC fix last_to_free
|
|
* 11/16/95 17538 TMC remove globals-- these are scandir/scant25 globals
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#if DIR_SV3
|
|
#include <dirent.h>
|
|
#endif
|
|
#include SY_DIR_H
|
|
#include "btree.h"
|
|
|
|
struct st_t25sav
|
|
{
|
|
int t25curkey;
|
|
DBFILE *t25fdesc;
|
|
int t25net;
|
|
INTERNAL_NODE *t25inodeptr;
|
|
TERMINAL_NODE *t25lnodeptr;
|
|
OVERSIZE_NODE *t25onodeptr;
|
|
char *t25buf;
|
|
char *t25ovbuf;
|
|
DBDADDR t25group;
|
|
};
|
|
|
|
struct dirlst
|
|
{
|
|
char *name;
|
|
struct dirlst *next;
|
|
};
|
|
|
|
struct st_t1sav
|
|
{
|
|
int dbdirstrip;
|
|
struct dirlst *dbscdirhead;
|
|
struct dirlst *dbsclastdir;
|
|
#if DIR_ucb || DIR_SV3
|
|
DIR *dbscdptr;
|
|
struct Direct *dp;
|
|
#else
|
|
int dbscdirdesc;
|
|
struct direct rb;
|
|
char rbname[DIRSIZ+1];
|
|
#endif
|
|
int nodeid;
|
|
int dbscnet;
|
|
};
|
|
|
|
union scanvar
|
|
{
|
|
struct st_t25sav scant25;
|
|
struct SHdata scanhash;
|
|
struct st_t1sav scandir;
|
|
};
|
|
|
|
#endif
|