tldm-universe/Ardent/UV/gcidir/include/catalog.h

61 lines
1.5 KiB
C
Raw Normal View History

2024-09-09 21:51:08 +00:00
#ifndef h_catalog
#define h_catalog
/******************************************************************************
*
* Definitions for CATALOG programs
*
* 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.........................................
* 10/14/98 23801 SAP Change copyrights.
* 08/02/93 10978 SHK Port to DEC AXP
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
*
*****************************************************************************/
#define WHO_SIZE 8
EXTERN char *unix_to_uv();
EXTERN char *uv_to_unix();
struct Bvars /* for catalog shared memory only */
{
char type;
char spare;
UVADDR addr;
};
/*
This header block is placed at the beginning of all cataloged
BASIC programs
*/
#define CATHEAD struct cat_header
struct cat_header
{
int ref_cnt;
char who[ WHO_SIZE + 4 ];
int flags;
long shmaddr;
long spare1;
long spare2;
long spare3;
long spare4;
};
#define HEAD_SIZE sizeof(CATHEAD)
#define SHM_FLAG 0x01
#define GCI_FLAG 0x02
#endif /* end of catalog.h */