/**/ /***************************************************************************/ /** **/ /** © 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:27 by OpenVMS SDL EV3-3 */ /* Source: 24-MAY-1993 17:24:25 $1$DGA7274:[LIB_H.SRC]SCSDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $SCSDEF ***/ #ifndef __SCSDEF_LOADED #define __SCSDEF_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 /*+ */ /* SCS MESSAGE DEFINITIONS */ /* */ /* THIS STRUCTURE DEFINES OFFSETS AND FIELDS WITHIN THE SCS PORTION OF */ /* A CLUSTER MESSAGE. OFFSETS ARE DEFINED RELATIVE TO THE START OF THE */ /* APPLICATION DATA OR SCS CONTROL MESSAGE DATA. THE FULL MESSAGE FORMAT */ /* CONSISTS OF A PORT DRIVER LAYER HEADER (SEE STRUCTURE PPD) FOLLOWED */ /* BY THE SCS HEADER LAYER FOLLOWED BY THE APPLICATION DATA OR SCS CONTROL */ /* MESSAGE DATA. */ /*- */ #define SCS$C_OVHD 14 /* SCS LAYER OVERHEAD */ #define SCS$C_CON_REQL 66 /* CONNECT_REQ LENGTH */ #define SCS$C_CON_RSPL 22 /* (TYC 20-apr-89) CONNECT_RSP LENGTH */ #define SCS$C_ACCP_REQL 66 /* ACCEPT_REQ LENGTH */ #define SCS$C_ACCP_RSPL 18 /* ACCEPT_RSP LENGTH */ #define SCS$C_REJ_REQL 18 /* REJECT_REQ LENGTH */ #define SCS$C_REJ_RSPL 14 /* REJECT_RSP LENGTH */ #define SCS$C_DISC_REQL 18 /* DISCONNECT_REQ LENGTH */ #define SCS$C_DISC_RSPL 14 /* DISCONNECT_RSP LENGTH */ #define SCS$C_CR_REQL 14 /* CREDIT_REQ LENGTH */ #define SCS$C_CR_RSPL 14 /* CREDIT_RSP LENGHT */ #define SCS$C_CON_REQ 0 /* CONNECT_REQ */ #define SCS$C_CON_RSP 1 /* CONNECT_RSP */ #define SCS$C_ACCP_REQ 2 /* ACCEPT_REQ */ #define SCS$C_ACCP_RSP 3 /* ACCEPT_RSP */ #define SCS$C_REJ_REQ 4 /* REJECT_REQ */ #define SCS$C_REJ_RSP 5 /* REJECT_RSP */ #define SCS$C_DISC_REQ 6 /* DISCONNECT_REQ */ #define SCS$C_DISC_RSP 7 /* DISCONNECT_RSP */ #define SCS$C_CR_REQ 8 /* CREDIT_REQ */ #define SCS$C_CR_RSP 9 /* CREDIT_RSP */ #define SCS$C_APPL_MSG 10 /* APPLICATION MESSAGE */ #define SCS$C_APPL_DG 11 /* APPLICATION DATAGRAM */ #define SCS$K_APPL_BASE 0 /*BASE OF APPLICTION MESSAGE DATA */ #define SCS$C_APPL_BASE 0 /*BASE OF APPLICTION MESSAGE DATA */ #define SCS$M_UAP 0x1 #define SCS$K_STNORMAL 1 /* NORMAL, SUCCESS */ #define SCS$C_STNORMAL 1 /* */ #define SCS$K_STNOMAT 10 /* NO MATCHING LISTENER */ #define SCS$C_STNOMAT 10 /* */ #define SCS$K_STNORS 18 /* NO RESOURCES */ #define SCS$C_STNORS 18 /* */ #define SCS$K_STDISC 25 /* DISCONNECTED */ #define SCS$C_STDISC 25 /* */ #define SCS$K_STINSFCR 33 /* INSUFF CREDIT */ #define SCS$C_STINSFCR 33 /* */ #define SCS$K_STBALANCE 41 /* LOAD BALANCE */ #define SCS$C_STBALANCE 41 /* DISCONNECT */ #define SCS$K_USE_ALTERNATE_PORT 42 /* (TYC 13-Feb-89) Load Share */ #define SCS$C_USE_ALTERNATE_PORT 42 /* Status code for using alternate port */ #define SCS$K_CON_BASE 4 /*BASE OF CONNECT/ACCEPT INFO TO */ #define SCS$C_CON_BASE 4 /*BASE OF CONNECT/ACCEPT INFO TO */ /* GIVE TO SYSAP'S */ #define SCS$S_SCSDEF 84 /* Old size name - synonym */ typedef struct _scs { /* WARNING: aggregate has origin of -32 */ /* WARNING: aggregate element "scs$b_ppd" ignored */ /* WARNING: aggregate element "scs$w_length" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "scs$$_fill_1" ignored */ /* WARNING: aggregate element "scs$w_mtype" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "" ignored */ /* WARNING: aggregate element "scs$w_credit" ignored */ /* WARNING: aggregate element "scs$l_dst_conid" ignored */ /* WARNING: aggregate element "scs$l_src_conid" ignored */ unsigned short int scs$w_min_cr; /*MINIMUM SEND CREDIT */ __union { /* (TYC 20-apr-89) overlaid field */ unsigned short int scs$w_status; /*STATUS/REASON */ __struct { /* */ unsigned scs$v_uap : 1; /* USE ALTERNATE PORT is supported */ unsigned scs$v_fill_0_ : 7; } scs$r_status_bits; } scs$r_status_overlay; /*DEFINE STATUS/REASON CODES: */ /*FORMAT OF CONNECT/ACCEPT_REQ MSGS: */ __union { /* (TYC 20-apr-89) overlaid field */ char scs$t_dst_proc [16]; /* DESTINATION PROCESS NAME */ __struct { unsigned char scs$b_subnode; /* MUST BE ZERO FOR NOW */ unsigned char scs$b_pgrp; /* ALTERNATE PORT'S PPD ADDR */ unsigned short int scs$w_rsv; /* RESERVED FIELD */ } scs$r_con_rsp_flds; } scs$r_dst_overlay; char scs$t_src_proc [16]; /* SOURCE PROCESS NAME */ unsigned char scs$b_con_dat [16]; /* CONNECT DATA */ } SCS; #if !defined(__VAXC) #define scs$w_status scs$r_status_overlay.scs$w_status #define scs$v_uap scs$r_status_overlay.scs$r_status_bits.scs$v_uap #define scs$t_dst_proc scs$r_dst_overlay.scs$t_dst_proc #define scs$b_subnode scs$r_dst_overlay.scs$r_con_rsp_flds.scs$b_subnode #define scs$b_pgrp scs$r_dst_overlay.scs$r_con_rsp_flds.scs$b_pgrp #define scs$w_rsv scs$r_dst_overlay.scs$r_con_rsp_flds.scs$w_rsv #endif /* #if !defined(__VAXC) */ /* */ /* DEFINITION OF THE REQUEST/SEND DATA OFFSETS */ /* */ #define SCS$S_SCSDEF1 28 /* Old size name - synonym */ typedef struct _scs1 { /* WARNING: aggregate has origin of -16 */ /* WARNING: aggregate element "scs$l_lconid" ignored */ /* WARNING: aggregate element "scs$l_rspid" ignored */ /* WARNING: aggregate element "scs$l_xct_len" ignored */ /* WARNING: aggregate element "scs$l_snd_name" ignored */ unsigned int scs$l_snd_boff; /* AND OFFSET */ unsigned int scs$l_rec_name; /* RECEIVE BUFFER NAME */ unsigned int scs$l_rec_boff; /* AND OFFSET */ } SCS1; #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 /* __SCSDEF_LOADED */