/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:01 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:00 $1$DGA8085:[STARLET_H.SRC]CLI$ROUTINES.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE CLI$ROUTINES IDENT X-2 ***/ #ifndef __CLI_ROUTINES_LOADED #define __CLI_ROUTINES_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 /* */ /* Command Language Interpreter (CLI) Routines */ /* */ /* */ /* CLI$DCL_PARSE - Parse DCL command string */ /* */ /* status = CLI$DCL_PARSE ([command_string], table [,param_routine] */ /* [,prompt_routine] [,prompt_string]) */ /* */ /* command_string - Command string to parse */ /* table - Command table */ /* param_routine - Routine to obtain omitted parameters */ /* prompt_routine - Routine to prompt for input */ /* prompt_string - Prompt string for display */ /* */ #define cli$dcl_parse CLI$DCL_PARSE #ifdef __NEW_STARLET unsigned int cli$dcl_parse( __optional_params ); #else /* __OLD_STARLET */ unsigned int cli$dcl_parse(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* */ /* CLI$DISPATCH - Dispatch to action routine */ /* */ /* status = CLI$DISPATCH ([userarg]) */ /* */ /* userarg - User argument */ /* */ #define cli$dispatch CLI$DISPATCH #ifdef __NEW_STARLET unsigned int cli$dispatch( __optional_params); #else /* __OLD_STARLET */ unsigned int cli$dispatch(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* */ /* CLI$GET_VALUE - Get value of entity in command string */ /* */ /* status = CLI$GET_VALUE (entity_desc, retdesc [, retlength]) */ /* */ /* entity_desc - Entity to retrieve */ /* retdesc - Returned value string */ /* retlength - Length of returned value */ /* */ #define cli$get_value CLI$GET_VALUE #ifdef __NEW_STARLET unsigned int cli$get_value( void *entity_desc, void *retdesc, __optional_params); #else /* __OLD_STARLET */ unsigned int cli$get_value(__unknown_params); #endif /* #ifdef __NEW_STARLET */ /* */ /* CLI$PRESENT - Determine presence of entity in command string */ /* */ /* status = CLI$PRESENT (entity_desc) */ /* */ /* entity_desc - Entity to retrieve */ /* */ #define cli$present CLI$PRESENT #ifdef __NEW_STARLET unsigned int cli$present( void *entity_desc); #else /* __OLD_STARLET */ unsigned int cli$present(__unknown_params); #endif /* #ifdef __NEW_STARLET */ #define CLI$K_TOKEN_SIZE_TRADITIONAL 255 #define CLI$C_TOKEN_SIZE_TRADITIONAL 255 #define CLI$K_TOKEN_SIZE_EXTENDED 4000 #define CLI$C_TOKEN_SIZE_EXTENDED 4000 #define CLI$K_COMMAND_SIZE_TRADITIONAL 255 /* command size with no continuation character */ #define CLI$C_COMMAND_SIZE_TRADITIONAL 255 #define CLI$K_COMMAND_SIZE_EXTENDED 4096 /* command size with no continuation character */ #define CLI$C_COMMAND_SIZE_EXTENDED 4096 #define CLI$K_BUFFER_SIZE_TRADITIONAL 1024 /* command size with continuation character(s) */ #define CLI$C_BUFFER_SIZE_TRADITIONAL 1024 /* or from input file */ #define CLI$K_BUFFER_SIZE_EXTENDED 8192 /* command size with continuation character(s) */ #define CLI$C_BUFFER_SIZE_EXTENDED 8192 /* or from input file */ #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 /* __CLI_ROUTINES_LOADED */