/***************************************************************************/ /** **/ /** 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: 24-OCT-1995 10:19:15 $1$DGA8345:[LIB_H.SRC]PKBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PKBDEF ***/ #ifndef __PKBDEF_LOADED #define __PKBDEF_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 /*+ */ /* PKBDEF */ /*- */ #define PKB$K_LENGTH 80 #define PKB$C_LENGTH 80 #if !defined(__NOBASEALIGN_SUPPORT) && !defined(__cplusplus) /* If using pre DECC V4.0 or C++ */ #pragma __nomember_alignment __quadword #else #pragma __nomember_alignment #endif typedef struct _pkb { /* The fork block */ #pragma __nomember_alignment void *pkb$ps_fqfl; /* Fork queue forward link */ void *pkb$ps_fqbl; /* Fork queue backward link */ unsigned short int pkb$w_size; /* Size of PKB in bytes */ unsigned char pkb$b_type; /* Structure type (use DYN$C_FKB here */ /* and use SIZE field to see if PKB). */ unsigned char pkb$b_flck; /* Fork lock number */ void (*pkb$ps_fpc)(); /* Fork PC */ __int64 pkb$q_fr3; /* Fork R3 */ __int64 pkb$q_fr4; /* Fork R4 */ /* The LKSB or IOSB */ unsigned short int pkb$w_status; /* Status */ unsigned short int pkb$w_count; /* Unused (if IOSB, byte count) */ unsigned int pkb$l_lockid; /* Lock ID (if IOSB, DEVDEPEND bits) */ /* The resource descriptor */ __union { int pkb$l_resnam_d; /* Descriptor */ __struct { unsigned short int pkb$w_resnam_length; /* Length */ unsigned char pkb$b_resnam_type; /* Type */ unsigned char pkb$b_resnam_subtype; /* Subtype */ } pkb$r_fill_1_; } pkb$r_fill_0_; void *pkb$ps_resnam_p; /* Pointer to resource */ /* The resource name */ __union { char pkb$t_resnam [32]; /* Resource name text */ __struct { char pkb$t_resnam_text; /* First character of text */ char pkb$t_filler [31]; /* Pad */ } pkb$r_fill_3_; } pkb$r_fill_2_; } PKB; #if !defined(__VAXC) #define pkb$l_resnam_d pkb$r_fill_0_.pkb$l_resnam_d #define pkb$w_resnam_length pkb$r_fill_0_.pkb$r_fill_1_.pkb$w_resnam_length #define pkb$b_resnam_type pkb$r_fill_0_.pkb$r_fill_1_.pkb$b_resnam_type #define pkb$b_resnam_subtype pkb$r_fill_0_.pkb$r_fill_1_.pkb$b_resnam_subtype #define pkb$t_resnam pkb$r_fill_2_.pkb$t_resnam #define pkb$t_resnam_text pkb$r_fill_2_.pkb$r_fill_3_.pkb$t_resnam_text #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 /* __PKBDEF_LOADED */