acl_command_text
status.i4.v = acl_command_text(num_commands.i4.r, command_text.i1pa.r,
argument_text.i1pa.r,
oneline_help.i1pa.r)
This routine returns command text for Accelerator Command
Language (ACL) commands. A value of NULL can be passed for
any argument which is not needed.
num_commands returned number of ACL commands
command_text returned ACL command text
(array of null terminated strings)
argument_text returned ACL argument text
(array of null terminated strings)
oneline_help returned ACL one line help text
(array of null terminated strings)
This function returns ACNET status values as follows:
CLIB_OK success
This function requires the following include files:
cbslib_h, acnet_errors.h
Related functions:
intro_acl, acl_compile_c, acl_execute_c, acl_file_execute_c,
acl_file_read_c, acl_file_write_c, acl_read_symbol_c,
acl_read_symbol_info_c, acl_read_symbol_names, acl_info_c,
acl_set_symbol_c, acl_cancel_requests_c, acl_default_data_source_c,
acl_log_file_c, acl_default_script_path_c, acl_translate_command_string,
acl_script_is_executing, acl_register_host_request_func,
acl_unregister_host_request_func
C usage:
char **command_text;
char **argument_text;
char **oneline_help;
int status;
int num_commands;
status = acl_command_text(&num_commands,&command_text,
&argument_text,&oneline_help);