/**/ /***************************************************************************/ /** **/ /** © 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:22 by OpenVMS SDL EV3-3 */ /* Source: 14-JUN-1995 08:01:06 $1$DGA7274:[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 */