/**/ /***************************************************************************/ /** **/ /** © 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:29 by OpenVMS SDL EV3-3 */ /* Source: 18-MAY-1993 16:08:22 $1$DGA7274:[LIB_H.SRC]NSASDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NSASDEF ***/ #ifndef __NSASDEF_LOADED #define __NSASDEF_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 structure returned by NSA$SIZE_NSAB. */ #define NSAS$M_NOALARM 0x1 #define NSAS$M_NOAUDIT 0x2 #define NSAS$M_NOPROBE 0x4 #define NSAS$M_PRIVS_SUPPLIED 0x8 #define NSAS$K_MAX_JOURNALS 1 /* maximum number of alarm or audit journals */ #define NSAS$K_LENGTH 76 /* define length of structure */ #define NSAS$S_NSASDEF 76 /* Old size name - synonym */ typedef struct _nsas { unsigned int nsas$l_size; /* size of required packet list */ unsigned int nsas$l_supplied; /* supplied packet mask */ __union { unsigned int nsas$l_event; /* event type/subtype as longword */ __struct { unsigned short int nsas$w_event_type; /* event type */ unsigned short int nsas$w_event_subtype; /* event subtype */ } nsas$r_event_overlay_2; } nsas$r_event_overlay; unsigned int nsas$l_facility; /* event facility */ __union { unsigned int nsas$l_flags; /* flags */ __struct { unsigned nsas$v_noalarm : 1; /* do not copy alarm packets */ unsigned nsas$v_noaudit : 1; /* do not copy audit packets */ unsigned nsas$v_noprobe : 1; /* do not probe item list */ unsigned nsas$v_privs_supplied : 1; /* did the caller supply a priv mask */ /* or identifier list? */ unsigned nsas$v_fill_2_ : 4; } nsas$r_fill_1_; } nsas$r_fill_0_; unsigned int nsas$l_access_desired; /* actual access desired */ __union { unsigned int nsas$l_privs_used; /* actual privs used (as longword) */ unsigned __int64 nsas$q_privs_used; /* actual privs used (as quadword) */ } nsas$r_privs_used_overlay; unsigned int nsas$l_alarm_count; /* number of alarm journals present */ unsigned int nsas$l_audit_count; /* number of audit journals present */ void *nsas$l_min_class_addr; /* address of min. class mask */ void *nsas$l_max_class_addr; /* address of max. class mask */ __union { unsigned __int64 nsas$q_object_class; /* object class name descriptor */ __struct { unsigned short int nsas$w_class_length; /* object class name length */ short int nsas$w_fill_1; void *nsas$l_class_addr; /* object class name buffer address */ } nsas$r_class_desc; } nsas$r_object_overlay; unsigned __int64 nsas$q_alarm_list [1]; /* array of alarm journals descriptors */ unsigned __int64 nsas$q_audit_list [1]; /* array of audit journals descriptors */ unsigned int nsas$l_final_status; /* actual final status */ } NSAS; #if !defined(__VAXC) #define nsas$l_event nsas$r_event_overlay.nsas$l_event #define nsas$w_event_type nsas$r_event_overlay.nsas$r_event_overlay_2.nsas$w_event_type #define nsas$w_event_subtype nsas$r_event_overlay.nsas$r_event_overlay_2.nsas$w_event_subtype #define nsas$l_flags nsas$r_fill_0_.nsas$l_flags #define nsas$v_noalarm nsas$r_fill_0_.nsas$r_fill_1_.nsas$v_noalarm #define nsas$v_noaudit nsas$r_fill_0_.nsas$r_fill_1_.nsas$v_noaudit #define nsas$v_noprobe nsas$r_fill_0_.nsas$r_fill_1_.nsas$v_noprobe #define nsas$v_privs_supplied nsas$r_fill_0_.nsas$r_fill_1_.nsas$v_privs_supplied #define nsas$l_privs_used nsas$r_privs_used_overlay.nsas$l_privs_used #define nsas$q_privs_used nsas$r_privs_used_overlay.nsas$q_privs_used #define nsas$q_object_class nsas$r_object_overlay.nsas$q_object_class #define nsas$r_class_desc nsas$r_object_overlay.nsas$r_class_desc #define nsas$w_class_length nsas$r_class_desc.nsas$w_class_length #define nsas$l_class_addr nsas$r_class_desc.nsas$l_class_addr #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 /* __NSASDEF_LOADED */