/**/ /***************************************************************************/ /** **/ /** © 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:24:40 by OpenVMS SDL EV3-3 */ /* Source: 02-APR-1998 16:28:12 $1$DGA7274:[LIB_H.SRC]MBR_INFODEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $mbr_infodef ***/ #ifndef __MBR_INFODEF_LOADED #define __MBR_INFODEF_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 /* */ /* Ident X-5 */ /* */ /* MEM_INFODEF.SDL -- Membership info return structure and membership */ /* callback mask bits. */ /* */ /* Copyright © Digital Equipment Corporation, 1998. */ /* All rights reserved. */ /* */ /* The software contained on this media is proprietary to and */ /* embodies the confidential technology of Digital Equipment */ /* Corporation. Possession, use, duplication, or dissemination */ /* of the software and media is authorized only pursuant to a */ /* valid written license from Digital Equipment Corporation. */ /* */ /* RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure */ /* by the U.S. Government is subject to restrictions as set */ /* forth in Subparagraph (c) (1) (ii) of DFARS 252.227-7013, */ /* or in FAR 52.227-19, as applicable. */ /* */ /* -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */ /* */ /* */ /* Description: This file contains the definition of the values and */ /* structures needed for the Galaxy get_member_info call */ /* and the membership callback call. */ /* */ /* Environment: OpenVMS Operating System, privileged kernel-mode */ /* */ /* Author: Paul Harter */ /* */ /* Modifications: */ /* */ /* X-5 PKH-G027 Paul K. Harter, Jr. 2-Apr-1998 */ /* Add constants for membership status values. */ /* */ /* X-4 AHM039 Drew Mason 16-Feb-1998 */ /* Add mask bits for join/leave parameter to membership */ /* callbacks. */ /* */ /* X-3 PKH-G012 Paul K. Harter, Jr. 13-Feb-1998 */ /* Add node state to return structure. Define constant */ /* MIREQ$_ALL_NODES for "*" node_id. */ /* */ /* X-2 PKH-G009 Paul K. Harter, Jr. 2-Feb-1998 */ /* Fix alignment of name field. */ /* */ /* X-1 PKH-G008 Paul K. Harter, Jr. 2-Feb-1998 */ /* Initial entry. */ /* */ /* Get member information requests */ #define MIREQ$_ALL 0 #define MIREQ$_NAME 1 #define MIREQ$_STATE 2 #define MIREQ$_GXY_MEMBER 3 #define MIREQ$_INCARNATION 4 #define MIREQ$_HEARTBEAT 5 #define MIREQ$_TIME 6 #define MIREQ$_TOO_BIG 7 /* galaxy membership status values */ #define MIGMS$_NOT_MEMBER 0 #define MIGMS$_MEMBER 1 #define MIGMS$_BEING_REMOVED 2 #define MIGMS$_TOO_BIG 3 #define MIREQ$_ALL_NODES -1 /* request for info on all nodes */ #define MINFO$C_LENGTH 48 /* length of mbr_info struct */ #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 _mbr_info { #pragma __nomember_alignment unsigned int minfo$l_node_id; /* node_id of node described */ unsigned int minfo$l_state; /* current node state from node block */ unsigned int minfo$l_gxy_member; /* galaxy membership status (see above) */ char minfo$b_fill_0_ [4]; unsigned __int64 minfo$q_name; /* node's SCS node name */ unsigned __int64 minfo$q_incarnation; /* incarnation at last join */ unsigned __int64 minfo$q_heartbeat; /* node's current heartbeat value */ unsigned __int64 minfo$q_time; /* time of last join (systime) */ } MBR_INFO; /* Mask bits for join/leave parameter to membership callbacks. */ #define GLXCBK$M_NODE_LEFT 1 /* some node left the Galaxy */ #define GLXCBK$M_NODE_JOINED 2 /* some node joined */ /* the Galaxy */ #ifdef __INITIAL_POINTER_SIZE #pragma __required_pointer_size __save /* Save current pointer size */ #pragma __required_pointer_size __long /* Pointers are 64-bit */ typedef MBR_INFO *MBR_INFO_PQ; /* Long ptr to a MBR_INFO */ typedef MBR_INFO **MBR_INFO_PPQ; /* Long ptr to a long ptr to */ /* MBR_INFO structure. */ #pragma __required_pointer_size __restore /* Restore prev. pointer size*/ #else typedef unsigned __int64 MBR_INFO_PQ; typedef unsigned __int64 MBR_INFO_PPQ; #endif /* __INITIAL_POINTER_SIZE */ #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 /* __MBR_INFODEF_LOADED */