/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:32 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:19 $1$DGA7274:[STARLET_H.SRC]LBRUSR.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $HLPDEF ***/ #ifndef __HLPDEF_LOADED #define __HLPDEF_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 /* */ /* Data structures for help processing */ /* */ #define HLP$M_PROMPT 0x1 #define HLP$M_PROCESS 0x2 #define HLP$M_GROUP 0x4 #define HLP$M_SYSTEM 0x8 #define HLP$M_LIBLIST 0x10 #define HLP$M_HELP 0x20 #define HLP$M_SPARE1 0x40 #define HLP$M_PAGE_SAVE 0x80 #define HLP$M_PAGE 0x100 #define HLP$M_OUTPUT 0x200 #define HLP$M_LIBRARY 0x400 #define HLP$M_ALL 0x800 #define HLP$M_PAGEDEF 0x1000 #define HLP$M_PMPTDEF 0x2000 #define HLP$M_NOTTERM 0x4000 #ifdef __NEW_STARLET typedef union _hlpdef { __struct { unsigned hlp$v_prompt : 1; /* Prompting enabled */ unsigned hlp$v_process : 1; /* Process logical name table searches enabled */ unsigned hlp$v_group : 1; /* Group logical name table searches enabled */ unsigned hlp$v_system : 1; /* System logical name table searched enabled */ unsigned hlp$v_liblist : 1; /* Output list of default libraries */ unsigned hlp$v_help : 1; /* Display help on help before list of topics */ unsigned hlp$v_spare1 : 1; unsigned hlp$v_page_save : 1; /* Page=Save enabled */ unsigned hlp$v_page : 1; /* Page breaks enabled */ unsigned hlp$v_output : 1; /* Output listing file enabled */ unsigned hlp$v_library : 1; /* Main library specified by user */ unsigned hlp$v_all : 1; /* Some logical name table searches enabled */ unsigned hlp$v_pagedef : 1; /* Page flag defaulting disabled */ unsigned hlp$v_pmptdef : 1; /* Prompt flag defaulting disabled */ unsigned hlp$v_notterm : 1; /* Input device is not a terminal */ unsigned hlp$v_fill_2_ : 1; } hlp$r_hlpdef_bits; } HLPDEF; #if !defined(__VAXC) #define hlp$v_prompt hlp$r_hlpdef_bits.hlp$v_prompt #define hlp$v_process hlp$r_hlpdef_bits.hlp$v_process #define hlp$v_group hlp$r_hlpdef_bits.hlp$v_group #define hlp$v_system hlp$r_hlpdef_bits.hlp$v_system #define hlp$v_liblist hlp$r_hlpdef_bits.hlp$v_liblist #define hlp$v_help hlp$r_hlpdef_bits.hlp$v_help #define hlp$v_spare1 hlp$r_hlpdef_bits.hlp$v_spare1 #define hlp$v_page_save hlp$r_hlpdef_bits.hlp$v_page_save #define hlp$v_page hlp$r_hlpdef_bits.hlp$v_page #define hlp$v_output hlp$r_hlpdef_bits.hlp$v_output #define hlp$v_library hlp$r_hlpdef_bits.hlp$v_library #define hlp$v_all hlp$r_hlpdef_bits.hlp$v_all #define hlp$v_pagedef hlp$r_hlpdef_bits.hlp$v_pagedef #define hlp$v_pmptdef hlp$r_hlpdef_bits.hlp$v_pmptdef #define hlp$v_notterm hlp$r_hlpdef_bits.hlp$v_notterm #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union hlpdef { __struct { unsigned hlp$v_prompt : 1; /* Prompting enabled */ unsigned hlp$v_process : 1; /* Process logical name table searches enabled */ unsigned hlp$v_group : 1; /* Group logical name table searches enabled */ unsigned hlp$v_system : 1; /* System logical name table searched enabled */ unsigned hlp$v_liblist : 1; /* Output list of default libraries */ unsigned hlp$v_help : 1; /* Display help on help before list of topics */ unsigned hlp$v_spare1 : 1; unsigned hlp$v_page_save : 1; /* Page=Save enabled */ unsigned hlp$v_page : 1; /* Page breaks enabled */ unsigned hlp$v_output : 1; /* Output listing file enabled */ unsigned hlp$v_library : 1; /* Main library specified by user */ unsigned hlp$v_all : 1; /* Some logical name table searches enabled */ unsigned hlp$v_pagedef : 1; /* Page flag defaulting disabled */ unsigned hlp$v_pmptdef : 1; /* Prompt flag defaulting disabled */ unsigned hlp$v_notterm : 1; /* Input device is not a terminal */ unsigned hlp$v_fill_2_ : 1; } hlp$r_hlpdef_bits; } ; #if !defined(__VAXC) #define hlp$v_prompt hlp$r_hlpdef_bits.hlp$v_prompt #define hlp$v_process hlp$r_hlpdef_bits.hlp$v_process #define hlp$v_group hlp$r_hlpdef_bits.hlp$v_group #define hlp$v_system hlp$r_hlpdef_bits.hlp$v_system #define hlp$v_liblist hlp$r_hlpdef_bits.hlp$v_liblist #define hlp$v_help hlp$r_hlpdef_bits.hlp$v_help #define hlp$v_spare1 hlp$r_hlpdef_bits.hlp$v_spare1 #define hlp$v_page_save hlp$r_hlpdef_bits.hlp$v_page_save #define hlp$v_page hlp$r_hlpdef_bits.hlp$v_page #define hlp$v_output hlp$r_hlpdef_bits.hlp$v_output #define hlp$v_library hlp$r_hlpdef_bits.hlp$v_library #define hlp$v_all hlp$r_hlpdef_bits.hlp$v_all #define hlp$v_pagedef hlp$r_hlpdef_bits.hlp$v_pagedef #define hlp$v_pmptdef hlp$r_hlpdef_bits.hlp$v_pmptdef #define hlp$v_notterm hlp$r_hlpdef_bits.hlp$v_notterm #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define HLP$M_NOHLPTXT 0x1 #define HLP$M_KEYNAMLIN 0x2 #define HLP$M_OTHERINFO 0x4 #ifdef __NEW_STARLET typedef struct _hlpdef1 { unsigned int hlp$l_desc; /* Address of string descriptor for line */ __union { unsigned int hlp$l_flags; /* Flags */ __struct { unsigned hlp$v_nohlptxt : 1; /* Line is part of text due to no help found */ unsigned hlp$v_keynamlin : 1; /* Line contains keynames to be printed */ unsigned hlp$v_otherinfo : 1; /* Line is part of "other info available" */ unsigned hlp$v_fill_3_ : 5; } hlp$r_flags_bits; } hlp$r_flags_overlay; unsigned int hlp$l_data; /* Address of user data passed to GET_HELP */ unsigned int hlp$l_level; /* Level of this help */ } HLPDEF1; #if !defined(__VAXC) #define hlp$l_flags hlp$r_flags_overlay.hlp$l_flags #define hlp$r_flags_bits hlp$r_flags_overlay.hlp$r_flags_bits #define hlp$v_nohlptxt hlp$r_flags_bits.hlp$v_nohlptxt #define hlp$v_keynamlin hlp$r_flags_bits.hlp$v_keynamlin #define hlp$v_otherinfo hlp$r_flags_bits.hlp$v_otherinfo #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct hlpdef1 { unsigned int hlp$l_desc; /* Address of string descriptor for line */ __union { unsigned int hlp$l_flags; /* Flags */ __struct { unsigned hlp$v_nohlptxt : 1; /* Line is part of text due to no help found */ unsigned hlp$v_keynamlin : 1; /* Line contains keynames to be printed */ unsigned hlp$v_otherinfo : 1; /* Line is part of "other info available" */ unsigned hlp$v_fill_3_ : 5; } hlp$r_flags_bits; } hlp$r_flags_overlay; unsigned int hlp$l_data; /* Address of user data passed to GET_HELP */ unsigned int hlp$l_level; /* Level of this help */ } ; #if !defined(__VAXC) #define hlp$l_flags hlp$r_flags_overlay.hlp$l_flags #define hlp$v_nohlptxt hlp$r_flags_overlay.hlp$r_flags_bits.hlp$v_nohlptxt #define hlp$v_keynamlin hlp$r_flags_overlay.hlp$r_flags_bits.hlp$v_keynamlin #define hlp$v_otherinfo hlp$r_flags_overlay.hlp$r_flags_bits.hlp$v_otherinfo #endif /* #if !defined(__VAXC) */ #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 /* __HLPDEF_LOADED */