/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:21 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:36 _$11$DUA933:[BUILD.SDL]LBRUSR.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $HLPDEF ***/ #ifndef __HLPDEF_LOADED #define __HLPDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #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 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) && !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) && !defined(VAXC) */ #define HLP$M_NOHLPTXT 0x1 #define HLP$M_KEYNAMLIN 0x2 #define HLP$M_OTHERINFO 0x4 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) && !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) && !defined(VAXC) */ #ifdef __cplusplus } #endif #pragma standard #endif /* __HLPDEF_LOADED */