/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:19 by OpenVMS SDL EV3-3 */ /* Source: 24-MAR-1993 16:36:04 $1$DGA7274:[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 */