-- --**************************************************************************** --* * --* 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:53:58 by OpenVMS SDL EV1-33 -- Source: 18-DEC-1991 18:49:06 $11$DUA933:[LIB_ADA.LIS]RDIDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package RDIDEF is -- module $RDIDEF --++ -- Rights Database Identifier Block definitions: This structure contains the -- RMS Internal File Identifiers (IFI's) and Internal Stream Identifiers -- (ISI's) for the rights database. This structure is allocated from the -- process allocation region pool. ---- RDI_K_ISI_MAX : constant := 10; -- Maximum number of concurrent record streams RDI_M_READ_CHECK : constant := 16#00000001#; RDI_M_READ_ACCESS : constant := 16#00000002#; type RDI_FLAGS_TYPE is -- Flags longword record READ_CHECK : BOOLEAN; -- Set if read access checked READ_ACCESS : BOOLEAN; -- Set if there is read access to RDB FILLER_1 : UNSIGNED_30; end record; for RDI_FLAGS_TYPE use record READ_CHECK at 0 range 0 .. 0; READ_ACCESS at 0 range 1 .. 1; FILLER_1 at 0 range 2 .. 31; end record; for RDI_FLAGS_TYPE'SIZE use 32; RDI_FLAGS_TYPE_INIT : constant RDI_FLAGS_TYPE := (READ_CHECK => FALSE, READ_ACCESS => FALSE, FILLER_1 => 0); type RDI_TYPE is record SIZE : UNSIGNED_LONGWORD; -- Size of allocated block IFI_READ : UNSIGNED_LONGWORD; -- Internal File Identifier for read operations IFI_WRITE : UNSIGNED_LONGWORD; -- Internal File Identifier for write operations READ_CHANNEL : UNSIGNED_LONGWORD; -- Holds channel used for reading RDB. FLAGS : RDI_FLAGS_TYPE; -- Flags longword ISI_VEC : UNSIGNED_LONGWORD_ARRAY (0 .. 10); -- Internal Stream Identifier vector end record; for RDI_TYPE use record SIZE at 0 range 0 .. 31; IFI_READ at 4 range 0 .. 31; IFI_WRITE at 8 range 0 .. 31; READ_CHANNEL at 12 range 0 .. 31; FLAGS at 16 range 0 .. 31; ISI_VEC at 20 range 0 .. 351; end record; for RDI_TYPE'SIZE use 512; RDI_TYPE_INIT : constant RDI_TYPE := (SIZE => 0, IFI_READ => 0, IFI_WRITE => 0, READ_CHANNEL => 0, FLAGS => RDI_FLAGS_TYPE_INIT, ISI_VEC => (others => 0)); end RDIDEF;