1130803Smarcel/* Remote File-I/O communications
2130803Smarcel
3130803Smarcel   Copyright 2003 Free Software Foundation, Inc.
4130803Smarcel
5130803Smarcel   This file is part of GDB.
6130803Smarcel
7130803Smarcel   This program is free software; you can redistribute it and/or modify
8130803Smarcel   it under the terms of the GNU General Public License as published by
9130803Smarcel   the Free Software Foundation; either version 2 of the License, or
10130803Smarcel   (at your option) any later version.
11130803Smarcel
12130803Smarcel   This program is distributed in the hope that it will be useful,
13130803Smarcel   but WITHOUT ANY WARRANTY; without even the implied warranty of
14130803Smarcel   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15130803Smarcel   GNU General Public License for more details.
16130803Smarcel
17130803Smarcel   You should have received a copy of the GNU General Public License
18130803Smarcel   along with this program; if not, write to the Free Software
19130803Smarcel   Foundation, Inc., 59 Temple Place - Suite 330,
20130803Smarcel   Boston, MA 02111-1307, USA.  */
21130803Smarcel
22130803Smarcel/* See the GDB User Guide for details of the GDB remote protocol. */
23130803Smarcel
24130803Smarcel#ifndef REMOTE_FILEIO_H
25130803Smarcel#define REMOTE_FILEIO_H
26130803Smarcel
27130803Smarcelstruct cmd_list_element;
28130803Smarcel
29130803Smarcel/* Unified interface to remote fileio, called in remote.c from
30130803Smarcel   remote_wait () and remote_async_wait () */
31130803Smarcelextern void remote_fileio_request (char *buf);
32130803Smarcel
33130803Smarcel/* Called from _initialize_remote () */
34130803Smarcelextern void initialize_remote_fileio (
35130803Smarcel  struct cmd_list_element *remote_set_cmdlist,
36130803Smarcel  struct cmd_list_element *remote_show_cmdlist);
37130803Smarcel
38130803Smarcel#endif
39