/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:54 by OpenVMS SDL V3.7 */ /* Source: 24-MAR-1993 16:36:04 $1$DGA8345:[LIB_H.SRC]DTNDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $DTNDEF ***/ #ifndef __DTNDEF_LOADED #define __DTNDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif #define DTN$K_BASE_LENGTH 24 /* length of fixed portion of DTN */ #define DTN$K_LENGTH 52 /* standard length of DTN */ #define DTN$K_NAMELEN_MAX 27 /* max length of name string */ #ifdef __cplusplus /* Define structure prototypes */ struct _ucb; #endif /* #ifdef __cplusplus */ typedef struct _dtn { struct _dtn *dtn$ps_flink; /* flink to next DTN */ struct _dtn *dtn$ps_blink; /* blink to previous DTN */ unsigned short int dtn$w_size; /* size of DTN in bytes */ unsigned char dtn$b_type; /* structure type of DTN */ unsigned char dtn$b_subtype; /* structure subtype */ unsigned int dtn$l_flags; /* various flag bits */ unsigned char dtn$b_devtype; /* copy of UCB$B_DEVTYPE */ unsigned char dtn$b_devclass; /* copy of UCB$B_DEVCLASS */ short int dtn$w_spare1; /* pad for longword alignment */ struct _ucb *dtn$ps_ucblist; /* pointer to list of UCBs */ __union { /* name string */ char dtn$t_dtname [28]; /* name stored in ASCIC format */ __struct { unsigned char dtn$ib_dtname_len; /* length of the device name */ char dtn$t_dtname_str [27]; /* actual string */ } dtn$r_ascic_name; } dtn$r_name_overlay; } DTN; #if !defined(__VAXC) #define dtn$t_dtname dtn$r_name_overlay.dtn$t_dtname #define dtn$ib_dtname_len dtn$r_name_overlay.dtn$r_ascic_name.dtn$ib_dtname_len #define dtn$t_dtname_str dtn$r_name_overlay.dtn$r_ascic_name.dtn$t_dtname_str #endif /* #if !defined(__VAXC) */ #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __DTNDEF_LOADED */