1 /* 2 * vim: filetype=c:tabstop=4:ai:expandtab 3 * SPDX-License-Identifier: ICU 4 * scspell-id: 68960bb1-f62d-11ec-83fb-80ee73e9b8e7 5 * 6 * --------------------------------------------------------------------------- 7 * 8 * Copyright (c) 2013-2016 Charles Anthony 9 * Copyright (c) 2021-2024 The DPS8M Development Team 10 * 11 * This software is made available under the terms of the ICU License. 12 * See the LICENSE.md file at the top-level directory of this distribution. 13 * 14 * --------------------------------------------------------------------------- 15 */ 16 17 extern UNIT opc_unit [N_OPC_UNITS_MAX]; 18 extern DEVICE opc_dev; 19 20 void console_init(void); 21 void console_exit (void); 22 void console_attn_idx (int opc_unit_idx); 23 int add_opc_autoinput (int32 flag, const char * cptr); 24 int clear_opc_autoinput (int32 flag, const char * cptr); 25 iom_cmd_rc_t opc_iom_cmd (uint iomUnitIdx, uint chan); 26 int check_attn_key (void); 27 void consoleProcess (void); 28 void startRemoteConsole (void);