/**/ /***************************************************************************/ /** **/ /** © 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:41 by OpenVMS SDL EV3-3 */ /* Source: 20-JAN-2004 10:45:49 $1$DGA7274:[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 */