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-2023 The DPS8M Development Team 10 * 11 * All rights reserved. 12 * 13 * This software is made available under the terms of the ICU 14 * License, version 1.8.1 or later. For more details, see the 15 * LICENSE.md file at the top-level directory of this distribution. 16 * 17 * --------------------------------------------------------------------------- 18 */ 19 20 extern UNIT opc_unit [N_OPC_UNITS_MAX]; 21 extern DEVICE opc_dev; 22 23 void console_init(void); 24 void console_exit (void); 25 void console_attn_idx (int opc_unit_idx); 26 int add_opc_autoinput (int32 flag, const char * cptr); 27 int clear_opc_autoinput (int32 flag, const char * cptr); 28 iom_cmd_rc_t opc_iom_cmd (uint iomUnitIdx, uint chan); 29 int check_attn_key (void); 30 void consoleProcess (void); 31 void startRemoteConsole (void);