-- --**************************************************************************** --* * --* Copyright (c) 2001 * --* by DIGITAL Equipment Corporation, Maynard, Mass. * --* * --* This software is furnished under a license and may be used and copied * --* only in accordance with the terms of such license and with the * --* inclusion of the above copyright notice. This software or any other * --* copies thereof may not be provided or otherwise made available to any * --* other person. No title to and ownership of the software is hereby * --* transferred. * --* * --* The information in this software is subject to change without notice * --* and should not be construed as a commitment by DIGITAL Equipment * --* Corporation. * --* * --* DIGITAL assumes no responsibility for the use or reliability of its * --* software on equipment which is not supplied by DIGITAL. * --* * --**************************************************************************** --******************************************************************************************************************** -- Created: 15-MAR-2001 22:52:41 by OpenVMS SDL EV1-33 -- Source: 2-SEP-1989 10:46:08 $11$DUA933:[LIB_ADA.LIS]KFDDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package KFDDEF is -- module $KFDDEF -- -- KNOWN FILE DEVICE AND DIRECTORY BLOCK DEFINITIONS -- KFD_C_LENGTH : constant := 17; -- Length of fixed area of kfd entry type KFD_TYPE is record LINK : UNSIGNED_LONGWORD; -- Device, Directory, Extension (KFD) list link KFELIST : UNSIGNED_LONGWORD; -- Ordered Known file entry list header SIZE : UNSIGNED_WORD; -- Size of block TYP : UNSIGNED_BYTE; -- Structure type SPARE : UNSIGNED_BYTE; -- spare REFCNT : UNSIGNED_WORD; -- Number of KFE's with same KFD DEVLEN : UNSIGNED_BYTE; -- Length of Device string DIRLEN : UNSIGNED_BYTE; -- Length of Directory string DDTSTRLEN : UNSIGNED_BYTE; -- Length of Device, Directory, Type (DDT) string DDTSTR : STRING(1 .. 0); -- Offset to DDT string end record; for KFD_TYPE use record LINK at 0 range 0 .. 31; KFELIST at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; SPARE at 11 range 0 .. 7; REFCNT at 12 range 0 .. 15; DEVLEN at 14 range 0 .. 7; DIRLEN at 15 range 0 .. 7; DDTSTRLEN at 16 range 0 .. 7; DDTSTR at 17 range 0 .. -1; end record; for KFD_TYPE'SIZE use 136; KFD_TYPE_INIT : constant KFD_TYPE := (LINK => 0, KFELIST => 0, SIZE => 0, TYP => 0, SPARE => 0, REFCNT => 0, DEVLEN => 0, DIRLEN => 0, DDTSTRLEN => 0, DDTSTR => (others => ASCII.NUL)); end KFDDEF;