15796c8dcSSimon Schubert /* Remote File-I/O communications 25796c8dcSSimon Schubert 3*ef5ccd6cSJohn Marino Copyright (C) 2003-2013 Free Software Foundation, Inc. 45796c8dcSSimon Schubert 55796c8dcSSimon Schubert This file is part of GDB. 65796c8dcSSimon Schubert 75796c8dcSSimon Schubert This program is free software; you can redistribute it and/or modify 85796c8dcSSimon Schubert it under the terms of the GNU General Public License as published by 95796c8dcSSimon Schubert the Free Software Foundation; either version 3 of the License, or 105796c8dcSSimon Schubert (at your option) any later version. 115796c8dcSSimon Schubert 125796c8dcSSimon Schubert This program is distributed in the hope that it will be useful, 135796c8dcSSimon Schubert but WITHOUT ANY WARRANTY; without even the implied warranty of 145796c8dcSSimon Schubert MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 155796c8dcSSimon Schubert GNU General Public License for more details. 165796c8dcSSimon Schubert 175796c8dcSSimon Schubert You should have received a copy of the GNU General Public License 185796c8dcSSimon Schubert along with this program. If not, see <http://www.gnu.org/licenses/>. */ 195796c8dcSSimon Schubert 205796c8dcSSimon Schubert /* See the GDB User Guide for details of the GDB remote protocol. */ 215796c8dcSSimon Schubert 225796c8dcSSimon Schubert #ifndef REMOTE_FILEIO_H 235796c8dcSSimon Schubert #define REMOTE_FILEIO_H 245796c8dcSSimon Schubert 255796c8dcSSimon Schubert struct cmd_list_element; 265796c8dcSSimon Schubert 275796c8dcSSimon Schubert /* Unified interface to remote fileio, called in remote.c from 28c50c785cSJohn Marino remote_wait () and remote_async_wait (). */ 29cf7f2e2dSJohn Marino extern void remote_fileio_request (char *buf, int ctrlc_pending_p); 305796c8dcSSimon Schubert 315796c8dcSSimon Schubert /* Cleanup any remote fileio state. */ 325796c8dcSSimon Schubert extern void remote_fileio_reset (void); 335796c8dcSSimon Schubert 34c50c785cSJohn Marino /* Called from _initialize_remote (). */ 355796c8dcSSimon Schubert extern void initialize_remote_fileio ( 365796c8dcSSimon Schubert struct cmd_list_element *remote_set_cmdlist, 375796c8dcSSimon Schubert struct cmd_list_element *remote_show_cmdlist); 385796c8dcSSimon Schubert 395796c8dcSSimon Schubert #endif 40