/**/ /***************************************************************************/ /** **/ /** © 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:26:27 by OpenVMS SDL EV3-3 */ /* Source: 20-APR-1993 14:21:57 $1$DGA7274:[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 */