/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:51 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:22 $1$DGA7274:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $MAPPINGDEF IDENT X-2 ***/ #ifndef __MAPPINGDEF_LOADED #define __MAPPINGDEF_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 #define MAPPING$K_ADD 1 #define MAPPING$K_CREATE 2 #define MAPPING$K_DEFINE 3 #define MAPPING$K_DELETE 4 #define MAPPING$K_MODIFY 5 #define MAPPING$K_SCAN 6 #define MAPPING$K_LOOKUP 7 #define MAPPING$K_PERFORMANCE 8 #define MAPPING$K_ZERO_PERFORMANCE 9 #define MAPPING$K_STOP 10 #define MAPPING$K_START 11 #define MAPPING$K_MAX_MAPPING_CODE 12 #define MAPPING$K_END 100 #define MAPPING$K_TYPE 101 #define MAPPING$K_REMOTE_AREA 102 #define MAPPING$K_REMOTE_NAME 103 #define MAPPING$K_LOCAL_NAME 104 #define MAPPING$K_FLAGS 105 #define MAPPING$K_USER_DATA 106 #define MAPPING$K_USER_DATA_LENGTH 107 #define MAPPING$K_WILDCARD_MC 108 #define MAPPING$K_WILDCARD_SC 109 #define MAPPING$K_WILDCARD_TC 110 #define MAPPING$K_WILDCARD_TS 111 #define MAPPING$K_DEFINE_NAME 112 #define MAPPING$K_DEFINE_FLAGS 113 #define MAPPING$K_SCAN_BUFFER 114 #define MAPPING$K_PROPOSED_NAME 115 #define MAPPING$K_WC_RESOLUTION 116 #define MAPPING$K_MAX_MAPPING_ITEMS 117 #define MAPPING$K_WC_MUST_BE_UNIQUE 200 #define MAPPING$K_WC_MATCH_LONGEST 201 #define MAPPING$K_WC_MATCH_SHORTEST 202 #define MAPPING$K_WC_MATCH_MOST_TERMS 203 #define MAPPING$K_WC_MATCH_FEWEST_TERMS 204 #define MAPPING$K_WC_MATCH_LEFTMOST 205 #define MAPPING$K_WC_MATCH_RIGHTMOST 206 #define MAPPING$K_MAX_MAPPING_WC 207 #define MAPPING$K_ANY_TYPE -2147483648 #define MAPPING$K_TCP_USER -2147483391 #define MAPPING$K_TCP_GROUP -2147483390 #define MAPPING$K_TCP_PROXY -2147483389 #define MAPPING$K_DCE_MAPPING -2147483135 #define MAPPING$K_DCE_PROXY -2147483134 #define MAPPING$K_PATHWORKS_PROXY -2147482879 #define MAPPING$K_DECNET_PROXY -2147482623 #define MAPPING$K_KERBEROS_MAPPING -2147482367 #define MAPPING$K_PERFORMANCE_LENGTH 56 #ifdef __NEW_STARLET typedef struct _mapping$performance { unsigned int mapping$l_total_messages; unsigned int mapping$l_total_exceptions; unsigned int mapping$l_adds; unsigned int mapping$l_creates; unsigned int mapping$l_definess; unsigned int mapping$l_deletes; unsigned int mapping$l_modifys; unsigned int mapping$l_scans; unsigned int mapping$l_lookups; unsigned int mapping$l_performance; unsigned int mapping$l_stops; unsigned int mapping$l_starts; unsigned int mapping$l_audits; unsigned int mapping$l_invalid_messages; } MAPPING$PERFORMANCE; #else /* __OLD_STARLET */ struct mapping$performance { unsigned int mapping$l_total_messages; unsigned int mapping$l_total_exceptions; unsigned int mapping$l_adds; unsigned int mapping$l_creates; unsigned int mapping$l_definess; unsigned int mapping$l_deletes; unsigned int mapping$l_modifys; unsigned int mapping$l_scans; unsigned int mapping$l_lookups; unsigned int mapping$l_performance; unsigned int mapping$l_stops; unsigned int mapping$l_starts; unsigned int mapping$l_audits; unsigned int mapping$l_invalid_messages; } ; #endif /* #ifdef __NEW_STARLET */ #define MAPPING$M_LOCAL_UNIQUE 0x1 #define MAPPING$M_REMOTE_UNIQUE 0x2 #define MAPPING$M_DEFAULT_IN 0x4 #define MAPPING$M_DEFAULT_OUT 0x8 #define MAPPING$M_NO_DEFAULT_IN 0x10 #define MAPPING$M_NO_DEFAULT_OUT 0x20 #define MAPPING$M_MODIFY 0x40 #define MAPPING$M_DEFINITION 0x80 #define MAPPING$M_CASE_BLIND 0x100 #define MAPPING$M_WILDCARD 0x200 #define MAPPING$M_FIND_LOCAL 0x400 #define MAPPING$M_FIND_REMOTE 0x800 #define MAPPING$M_FILL_1 0xFFFFF000 #define MAPPING$K_HEADER_LENGTH 40 #ifdef __NEW_STARLET typedef struct _mapping$header { unsigned int mapping$l_length; unsigned int mapping$l_context; __union { unsigned int mapping$l_flags; __struct { unsigned mapping$v_local_unique : 1; unsigned mapping$v_remote_unique : 1; unsigned mapping$v_default_in : 1; unsigned mapping$v_default_out : 1; unsigned mapping$v_no_default_in : 1; unsigned mapping$v_no_default_out : 1; unsigned mapping$v_modify : 1; unsigned mapping$v_definition : 1; unsigned mapping$v_case_blind : 1; unsigned mapping$v_wildcard : 1; unsigned mapping$v_find_local : 1; unsigned mapping$v_find_remote : 1; unsigned mapping$v_fill_1 : 20; } mapping$r_fill_8_; } mapping$r_fill_7_; unsigned int mapping$l_type; unsigned int mapping$l_wildflags; unsigned int mapping$l_wildmulti; unsigned int mapping$l_wildsingle; unsigned int mapping$l_wildterm; unsigned int mapping$l_termsep; unsigned int mapping$l_unused; } MAPPING$HEADER; #if !defined(__VAXC) #define mapping$l_flags mapping$r_fill_7_.mapping$l_flags #define mapping$v_local_unique mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_local_unique #define mapping$v_remote_unique mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_remote_unique #define mapping$v_default_in mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_default_in #define mapping$v_default_out mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_default_out #define mapping$v_no_default_in mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_no_default_in #define mapping$v_no_default_out mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_no_default_out #define mapping$v_modify mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_modify #define mapping$v_definition mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_definition #define mapping$v_case_blind mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_case_blind #define mapping$v_wildcard mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_wildcard #define mapping$v_find_local mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_find_local #define mapping$v_find_remote mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_find_remote #define mapping$v_fill_1 mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_fill_1 #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct mapping$header { unsigned int mapping$l_length; unsigned int mapping$l_context; __union { unsigned int mapping$l_flags; __struct { unsigned mapping$v_local_unique : 1; unsigned mapping$v_remote_unique : 1; unsigned mapping$v_default_in : 1; unsigned mapping$v_default_out : 1; unsigned mapping$v_no_default_in : 1; unsigned mapping$v_no_default_out : 1; unsigned mapping$v_modify : 1; unsigned mapping$v_definition : 1; unsigned mapping$v_case_blind : 1; unsigned mapping$v_wildcard : 1; unsigned mapping$v_find_local : 1; unsigned mapping$v_find_remote : 1; unsigned mapping$v_fill_1 : 20; } mapping$r_fill_8_; } mapping$r_fill_7_; unsigned int mapping$l_type; unsigned int mapping$l_wildflags; unsigned int mapping$l_wildmulti; unsigned int mapping$l_wildsingle; unsigned int mapping$l_wildterm; unsigned int mapping$l_termsep; unsigned int mapping$l_unused; } ; #if !defined(__VAXC) #define mapping$l_flags mapping$r_fill_7_.mapping$l_flags #define mapping$v_local_unique mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_local_unique #define mapping$v_remote_unique mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_remote_unique #define mapping$v_default_in mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_default_in #define mapping$v_default_out mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_default_out #define mapping$v_no_default_in mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_no_default_in #define mapping$v_no_default_out mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_no_default_out #define mapping$v_modify mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_modify #define mapping$v_definition mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_definition #define mapping$v_case_blind mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_case_blind #define mapping$v_wildcard mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_wildcard #define mapping$v_find_local mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_find_local #define mapping$v_find_remote mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_find_remote #define mapping$v_fill_1 mapping$r_fill_7_.mapping$r_fill_8_.mapping$v_fill_1 #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _mapping$generic_desc1 { unsigned short int mapping$w_desc_length; unsigned short int mapping$w_fill1; char mapping$t_desc_data; } MAPPING$GENERIC_DESC1; #else /* __OLD_STARLET */ struct mapping$generic_desc1 { unsigned short int mapping$w_desc_length; unsigned short int mapping$w_fill1; char mapping$t_desc_data; } ; #endif /* #ifdef __NEW_STARLET */ #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 /* __MAPPINGDEF_LOADED */