/***************************************************************************/ /** **/ /** 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:44 by OpenVMS SDL V3.7 */ /* Source: 24-FEB-1997 09:42:02 $1$DGA8345:[LIB_H.SRC]NSABDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NSABDEF ***/ #ifndef __NSABDEF_LOADED #define __NSABDEF_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 layout of the Non-discretionary Security Audit Block. */ /* */ /* The NSAB is the structure which is passed to the internal auditing entry */ /* point (NSA$AUDIT_EVENT) and contains a list of audit packets along with */ /* a couple of flags. */ /* */ #define NSAB$M_NONPAGED 0x1 #define NSAB$M_NUKENSAB 0x2 #define NSAB$C_HDR_LENGTH 72 #define NSAB$K_HDR_LENGTH 72 #define NSAB$S_NSABDEF 72 typedef struct _nsab { struct _nsab *nsab$l_flink; /* FLINK */ struct _nsab *nsab$l_blink; /* BLINK */ unsigned short int nsab$w_size; /* size of NSAB buffer */ unsigned char nsab$b_type; /* type of structure (DYN$C_NSAB) */ unsigned char nsab$b_subtype; /* subtype field (not used) */ int nsab$l_fill_1; /* Keep offsets compatible with previous */ /* incarnations */ __union { unsigned int nsab$l_flags; /* miscellaneous flags */ __struct { unsigned nsab$v_nonpaged : 1; /* message entry is non-paged pool */ unsigned nsab$v_nukensab : 1; /* force NSAB deallocation */ unsigned nsab$v_fill_2_ : 6; } nsab$r_fill_1_; } nsab$r_fill_0_; unsigned int nsab$l_supplied; /* supplied packet mask */ struct _nsab *nsab$l_baseaddr; /* address of NSAB to deallocate */ void *nsab$l_audit_block; /* address of audit buffer */ unsigned char nsab$b_acb [36]; /* ACB used to wake audit server */ unsigned int nsab$l_sender_epid; /* sender's EPID */ } NSAB; #if !defined(__VAXC) #define nsab$l_flags nsab$r_fill_0_.nsab$l_flags #define nsab$v_nonpaged nsab$r_fill_0_.nsab$r_fill_1_.nsab$v_nonpaged #define nsab$v_nukensab nsab$r_fill_0_.nsab$r_fill_1_.nsab$v_nukensab #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 /* __NSABDEF_LOADED */