/***************************************************************************/ /** **/ /** 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:42 by OpenVMS SDL V3.7 */ /* Source: 14-JUN-1995 08:01:06 $1$DGA8345:[LIB_H.SRC]SBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $SBDEF ***/ #ifndef __SBDEF_LOADED #define __SBDEF_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 /*+ */ /* SB - SCS SYSTEM BLOCK */ /* */ /* THE SB HAS INFORMATION ABOUT KNOWN SYSTEMS IN A CPU CLUSTER. */ /*- */ #define SB$M_LOCAL 0x1 #define SB$M_LOCAL_DIRECTORY 0x2 #ifdef __cplusplus /* Define structure prototypes */ struct _pb; struct _ddb; struct _csb; #endif /* #ifdef __cplusplus */ #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 _sb { #pragma __nomember_alignment void *sb$l_flink; /*FWD LINK TO NEXT SB */ void *sb$l_blink; /*BACK LINK TO PREVIOUS SB */ unsigned short int sb$w_size; /*STRUCTURE SIZE IN BYTES */ unsigned char sb$b_type; /*SCS STRUCTURE TYPE */ unsigned char sb$b_subtyp; /*SCS STRUCT SUBTYPE FOR SB */ struct _pb *sb$l_pbfl; /*LINK TO NEXT PATH BLOCK */ struct _pb *sb$l_pbbl; /*LINK TO PREVIOUS PATH BLOCK */ struct _pb *sb$l_pbconnx; /*ADDR OF NEXT PB TO USE FOR */ /* A CONNECTION */ int sb$$_fill_2; /*PRESERVE QUADWORD ALIGNMENT */ unsigned char sb$b_systemid [6]; /*SYSTEM ID */ short int sb$$_fill_1; /*RESERVED WORD */ unsigned short int sb$w_maxdg; /*MAXIMUM DATAGRAM SIZE */ unsigned short int sb$w_maxmsg; /*MAXIMUM MESSAGE SIZE */ char sb$t_swtype [4]; /*SOFTWARE TYPE, 1-4 CHAR */ char sb$t_swvers [4]; /*SOFTWARE VERSION, 1-4 CHAR */ unsigned __int64 sb$q_swincarn; /*SOFTWARE INCARNATION # */ char sb$t_hwtype [4]; /*HW TYPE; 1-4 CHAR, BLANK FILL */ unsigned char sb$b_hwvers [12]; /*HW VERSION # */ char sb$t_nodename [16]; /*SCS NODENAME, COUNTED ASCII STRING */ struct _ddb *sb$l_ddb; /*DDB LIST HEAD */ short int sb$w_timeout; /*SCA PROCESS POLLER, WAITING TIME REMAINING */ unsigned char sb$b_enbmsk [2]; /*SCA PROCESS POLLER, PROCESS ENABLE MASK */ struct _csb *sb$l_csb; /*LINK TO NEWEST CLUSTER SYSTEM BLOCK */ unsigned int sb$l_port_map; /* (TYC 13-Feb-89) LOAD SHARING PORT BIT MAP */ __union { unsigned int sb$l_status; /* System block Status */ __struct { unsigned sb$v_local : 1; /* System is a Local port, (A BVP or PU port) */ unsigned sb$v_local_directory : 1; /* System is a local port and supports local directory lookups. */ unsigned sb$v_fill_0_ : 6; } sb$r_status_bits; } sb$r_status_overlay; void *sb$ps_proc_names; /* Pointer to list of SYSAP process names supported by a local port. */ unsigned int sb$l_mount_lkid; /* Reserved */ void *sb$ps_allocls_list; /* Reserved */ } SB; #if !defined(__VAXC) #define sb$l_status sb$r_status_overlay.sb$l_status #define sb$v_local sb$r_status_overlay.sb$r_status_bits.sb$v_local #define sb$v_local_directory sb$r_status_overlay.sb$r_status_bits.sb$v_local_directory #endif /* #if !defined(__VAXC) */ #define SB$K_LENGTH 120 /*LENGTH OF SB */ #define SB$C_LENGTH 120 /*LENGTH OF SB */ #define SB$S_SBDEF 120 /* Old size name - synonym */ #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 /* __SBDEF_LOADED */