/***************************************************************************/ /** **/ /** 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:45 by OpenVMS SDL V3.7 */ /* Source: 20-APR-1993 14:21:57 $1$DGA8345:[LIB_H.SRC]NSAFAIDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NSAFAIDEF ***/ #ifndef __NSAFAIDEF_LOADED #define __NSAFAIDEF_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 the security auditing failure mode vectors. */ /* */ #define NSA$M_FAIL_WAIT 0x1 #define NSA$M_FAIL_CRASH 0x2 #define NSA$M_FAIL_IGNORE 0x4 #define NSA$M_MSG_LOST 0x1 #define NSA$C_FAI_LENGTH 12 #define NSA$K_FAI_LENGTH 12 #define NSA$S_NSAFAIDEF 12 typedef struct _nsafai { __union { unsigned short int nsa$w_failure_mode; __struct { unsigned nsa$v_fail_wait : 1; /* Wait for resources */ unsigned nsa$v_fail_crash : 1; /* Crash the system */ unsigned nsa$v_fail_ignore : 1; /* Drop failed audits */ unsigned nsa$v_fill_4_ : 5; } nsa$r_fill_1_; } nsa$r_fill_0_; __union { unsigned short int nsa$w_failure_flags; __struct { unsigned nsa$v_msg_lost : 1; /* Alarms lost message written? */ unsigned nsa$v_fill_5_ : 7; } nsa$r_fill_3_; } nsa$r_fill_2_; unsigned int nsa$l_lost_count; /* Failure count */ unsigned short int nsa$w_size; /* Stucture size */ unsigned char nsa$b_type; /* Structure type (DYN$C_NSA) */ unsigned char nsa$b_subtype; /* Structure subtype (DYN$C_NSA_FAILURE) */ } NSAFAI; #if !defined(__VAXC) #define nsa$w_failure_mode nsa$r_fill_0_.nsa$w_failure_mode #define nsa$v_fail_wait nsa$r_fill_0_.nsa$r_fill_1_.nsa$v_fail_wait #define nsa$v_fail_crash nsa$r_fill_0_.nsa$r_fill_1_.nsa$v_fail_crash #define nsa$v_fail_ignore nsa$r_fill_0_.nsa$r_fill_1_.nsa$v_fail_ignore #define nsa$w_failure_flags nsa$r_fill_2_.nsa$w_failure_flags #define nsa$v_msg_lost nsa$r_fill_2_.nsa$r_fill_3_.nsa$v_msg_lost #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 /* __NSAFAIDEF_LOADED */