acl_register_host_request_func
status.i4.v = acl_register_host_request_func(request_func.f.v)
This routine registers a host request function for the Accelerator
Command Language (ACL). A host request function is the means for
an ACL script (through the use of the "host_request" command) to
pass a request to the program which executed the script.
request_func null terminated symbol name
(called as follows:
status.i4.v = request_func(request_string.i1a.r))
This function returns ACNET status values as follows:
CLIB_OK success
CLIB_DUPREQ a function has already been registered
This function requires the following include files:
cbslib_h, acnet_errors.h
Related functions:
intro_acl, acl_unregister_host_request_func, acl_execute_c,
acl_file_execute_c, acl_file_read_c, acl_file_write_c, acl_compile_c,
acl_free_c, acl_read_symbol_c, acl_read_symbol_info_c,
acl_read_symbol_names, acl_delete_symbol, acl_info_c,
acl_cancel_requests_c, acl_set_symbol_c, acl_default_data_source_c,
acl_log_file_c, acl_default_script_path_c, acl_script_is_executing,
acl_translate_command_string
C usage:
int status;
acl_host_request_function request_func;
status = acl_register_host_request_func(request_func);