/***************************************************************************/ /** **/ /** 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:47 by OpenVMS SDL V3.7 */ /* Source: 20-JAN-2004 10:45:49 $1$DGA8345:[LIB_H.SRC]CEBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $CEBDEF ***/ #ifndef __CEBDEF_LOADED #define __CEBDEF_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 /*+ */ /* COMMON EVENT BLOCK */ /*- */ #define CEB$M_NOQUOTA 0x1 #define CEB$M_PERM 0x2 #define CEB$M_RSRVD_2_31 0xFFFFFFFC #define CEB$K_LENGTH 72 /*LENGTH OF COMMON EVENT BLOCK */ #define CEB$C_LENGTH 72 /*LENGTH OF COMMON EVENT BLOCK */ #define CEB$S_CEBDEF 72 #ifdef __cplusplus /* Define structure prototypes */ struct _orb; #endif /* #ifdef __cplusplus */ typedef struct _ceb { struct _ceb *ceb$l_cebfl; /*POINTER TO NEXT COMMON EVENT BLOCK */ struct _ceb *ceb$l_cebbl; /*POINTER TO PREVIOUS COMMON EVENT BLOCK */ unsigned short int ceb$w_size; /*SIZE OF COMMON EVENT BLOCK IN BYTES */ unsigned char ceb$b_type; /*STRUCTURE TYPE CODE FOR CEB */ char ceb$b_subtype; __union { unsigned int ceb$l_sts; /*STATUS FLAGS FOR CEB */ __struct { unsigned ceb$v_noquota : 1; /*NO QUOTA UPDATE */ unsigned ceb$v_perm : 1; /*PERMANENT CLUSTER */ unsigned ceb$v_rsrvd_2_31 : 30; } ceb$r_sts_bits; } ceb$r_sts_overlay; unsigned int ceb$l_pid; /*PID OF CREATOR */ unsigned int ceb$l_efc; /*EVENT FLAGS (32 BIT VECTOR) */ void *ceb$l_wqfl; /*HEAD OF WAIT QUEUE */ void *ceb$l_wqbl; /*TAIL OF WAIT QUEUE */ unsigned int ceb$l_wqcnt; /*WAIT QUEUE COUNT(LENGTH) */ unsigned int ceb$l_state; /*CEF WAIT STATE NUMBER */ struct _orb *ceb$l_orb; /*POINTER TO THE ORB */ __union { unsigned int ceb$l_uic; /*USER IDENT OF CEB CREATOR */ __struct { char cebdef$$_fill_2 [2]; unsigned short int ceb$w_grp; /*GROUP NUMBER OF OWNER */ } ceb$r_uic_fields; } ceb$r_uic_overlay; unsigned int ceb$l_prot; /*PROTECTION MASK */ unsigned int ceb$l_refc; /*REFERENCE COUNT FOR CEB */ char ceb$t_efcnam [16]; /*EVENT CLUSTER TEXT NAME */ } CEB; #if !defined(__VAXC) #define ceb$l_sts ceb$r_sts_overlay.ceb$l_sts #define ceb$v_noquota ceb$r_sts_overlay.ceb$r_sts_bits.ceb$v_noquota #define ceb$v_perm ceb$r_sts_overlay.ceb$r_sts_bits.ceb$v_perm #define ceb$v_rsrvd_2_31 ceb$r_sts_overlay.ceb$r_sts_bits.ceb$v_rsrvd_2_31 #define ceb$l_uic ceb$r_uic_overlay.ceb$l_uic #define ceb$w_grp ceb$r_uic_overlay.ceb$r_uic_fields.ceb$w_grp #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 /* __CEBDEF_LOADED */