/**/ /***************************************************************************/ /** **/ /** © 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:56 by OpenVMS SDL EV3-3 */ /* Source: 28-AUG-2001 11:37:35 $1$DGA7274:[LIB_H.SRC]TQEIDXDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $TQEIDXDEF ***/ #ifndef __TQEIDXDEF_LOADED #define __TQEIDXDEF_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 /*+ */ /* TQEIDX - Timer queue entry index */ /* */ /* Timer queue entries are maintained in an index structure. */ /*- */ #define TQEIDX$K_MAP_WIDTH 6 /* Width */ #define TQEIDX$C_MAP_WIDTH 6 /* of bitmap */ #define TQEIDX$K_MAX_WIDTH 6 /* Maximum width allowed by structure */ #define TQEIDX$C_MAX_WIDTH 6 /* Maximum width allowed by structure */ #define TQEIDX$K_MAXIDX 64 /* Number of pointers in one */ #define TQEIDX$C_MAXIDX 64 /* index bucket (= bits in bitmap) */ #define TQEIDX$C_LENGTH 800 /* Size */ #define TQEIDX$K_LENGTH 800 /* Size */ #define TQEIDX$S_TQEDEF 800 /* Size (synonym) */ #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 _tqeidx { #pragma __nomember_alignment struct _tqeidx *tqeidx$l_flink; /* Forward link to next bucket (zero terminated) */ struct _tqeidx *tqeidx$l_blink; /* Back link to previous bucket (zero terminated) */ unsigned short int tqeidx$w_size; /* Size of this structure */ unsigned char tqeidx$b_type; /* (misc) */ unsigned char tqeidx$b_subtype; /* (tqeidx) */ int tqeidx$l_level; /* Index level */ int tqeidx$l_freecnt; /* Number of free array entries */ struct _tqeidx *tqeidx$l_parent; /* Pointer to parent bucket */ unsigned __int64 tqeidx$q_bitmap; /* Free space bitmap; */ /* Min: 2 (1@2 - 1 = 3 entries per bucket) */ /* Max: 6 (1@6 - 1 = 63 entries per bucket) */ /* Cannot exceed 64 (size of bitmap = 1 quad) */ unsigned __int64 tqeidx$q_key [64]; /* Array of ordered keys */ void *tqeidx$ps_ptr [64]; /* Array of pointers to target element */ /* or next level bucket */ } TQEIDX; #ifdef TQEIDX$C_DEBUG #undef TQEIDX$C_MAP_WIDTH; #undef TQEIDX$C_MAXIDX; #endif #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 /* __TQEIDXDEF_LOADED */