46 lines
1.3 KiB
C
Executable File
46 lines
1.3 KiB
C
Executable File
#ifndef h_DEVICE
|
|
#define h_DEVICE
|
|
/******************************************************************************
|
|
*
|
|
* Definition of a DEVICE control block
|
|
*
|
|
* 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.
|
|
* 11/17/95 17720 JJV Added NT support of Tape handling
|
|
* 02/22/95 15740 JC Addition of the NLS mapname for a device.
|
|
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
|
|
*
|
|
*****************************************************************************/
|
|
|
|
#include "MFILE.h"
|
|
|
|
struct device
|
|
{
|
|
MFILE file;
|
|
#ifdef MSWIN /* NT Tape Handling */
|
|
HANDLE hDev;
|
|
#endif
|
|
STRING dev;
|
|
STRING lock;
|
|
char *filname;
|
|
int unit;
|
|
STRING mapname; /* to hold the device mapname */
|
|
int mode;
|
|
DEVICE *next;
|
|
};
|
|
|
|
EXTERN DEVICE *DEVhead;
|
|
|
|
#endif /* end of DEVICE.h */
|