/**/ /***************************************************************************/ /** **/ /** © 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:24 by OpenVMS SDL EV3-3 */ /* Source: 02-APR-1996 14:28:07 $1$DGA7274:[LIB_H.SRC]HQBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $HQBDEF ***/ #ifndef __HQBDEF_LOADED #define __HQBDEF_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 /*+ */ /* HQB (Host Queue Block) Definitions */ /* */ /* This data structure contains information pertaining */ /* to a host that has established a connection to the */ /* server. */ /*- */ #define HQB$M_VC_FAILED 0x1 #define HQB$M_DISCON_INIT 0x2 #define HQB$M_PATHMOVE 0x4 #define HQB$M_UNIT_ONLINE 0x1 #define HQB$M_V5CL 0x2 #define HQB$M_HUNN 0x4 #define HQB$K_LENGTH 72 #define HQB$S_HQBDEF 72 #ifdef __cplusplus /* Define structure prototypes */ struct _hrb; struct _cdt; struct _dsrv; struct _tsrv; #endif /* #ifdef __cplusplus */ typedef struct _hqb { struct _hqb *hqb$l_flink; /* Used to link together all */ struct _hqb *hqb$l_blink; /* host HQBs using the server */ unsigned short int hqb$w_size; /* Structure size in bytes */ unsigned char hqb$b_type; /* MSCP type structure */ unsigned char hqb$b_subtype; /* with a HQB subtype (2) */ unsigned char hqb$b_hostno; /* Assigned host number */ __union { unsigned char hqb$b_state; /* State of this host */ __struct { unsigned hqb$v_vc_failed : 1; /* The VC to this host has failed */ unsigned hqb$v_discon_init : 1; /* Disconnect being processed */ unsigned hqb$v_pathmove : 1; /* Closing connection for port load balancing */ unsigned hqb$v_fill_4_ : 5; } hqb$r_fill_1_; } hqb$r_fill_0_; unsigned short int hqb$w_cnt_flgs; /* Host settable controller flags */ unsigned short int hqb$w_htimo; /* Host access timeout interval */ __union { unsigned short int hqb$w_flags; __struct { unsigned hqb$v_unit_online : 1; /* This host had units online */ unsigned hqb$v_v5cl : 1; /* This is the V5 class driver */ unsigned hqb$v_hunn : 1; /* Class driver knows new naming */ unsigned hqb$v_fill_5_ : 5; } hqb$r_fill_3_; } hqb$r_fill_2_; /* when the link was broken */ unsigned __int64 hqb$q_time; /* Time host issued set-ctrl-chr */ unsigned short int hqb$w_num_que; /* Requests outstanding */ unsigned short int hqb$w_max_que; /* Most requests ever out */ struct _hrb *hqb$l_hrb_fl; /* HRB queue listhead for */ struct _hrb *hqb$l_hrb_bl; /* this host */ struct _cdt *hqb$l_cdt; /* Connection Desc Table addr */ struct _dsrv *hqb$l_dsrv; /* DSRV address */ unsigned char hqb$b_systemid [6]; /* SCS system ID of host */ unsigned short int hqb$w_max_hulb; /* Size of HULB vector */ void *hqb$l_hulb_vector; /* HULB vector address */ struct _tsrv *hqb$l_tsrv; /* TSRV address */ unsigned int hqb$l_ack_time; /* Time stamp form last remote request */ unsigned int hqb$l_arr_time; /* Round trip time from server to host */ } HQB; #if !defined(__VAXC) #define hqb$b_state hqb$r_fill_0_.hqb$b_state #define hqb$v_vc_failed hqb$r_fill_0_.hqb$r_fill_1_.hqb$v_vc_failed #define hqb$v_discon_init hqb$r_fill_0_.hqb$r_fill_1_.hqb$v_discon_init #define hqb$v_pathmove hqb$r_fill_0_.hqb$r_fill_1_.hqb$v_pathmove #define hqb$w_flags hqb$r_fill_2_.hqb$w_flags #define hqb$v_unit_online hqb$r_fill_2_.hqb$r_fill_3_.hqb$v_unit_online #define hqb$v_v5cl hqb$r_fill_2_.hqb$r_fill_3_.hqb$v_v5cl #define hqb$v_hunn hqb$r_fill_2_.hqb$r_fill_3_.hqb$v_hunn #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 /* __HQBDEF_LOADED */