xref: /netbsd-src/external/gpl3/gdb/dist/gdbserver/hostio.h (revision 64f917f5a88990e32dd65fcd4348042fa7f852b9)
18dffb485Schristos /* Host file transfer support for gdbserver.
2*64f917f5Schristos    Copyright (C) 1993-2024 Free Software Foundation, Inc.
38dffb485Schristos 
48dffb485Schristos    This file is part of GDB.
58dffb485Schristos 
68dffb485Schristos    This program is free software; you can redistribute it and/or modify
78dffb485Schristos    it under the terms of the GNU General Public License as published by
88dffb485Schristos    the Free Software Foundation; either version 3 of the License, or
98dffb485Schristos    (at your option) any later version.
108dffb485Schristos 
118dffb485Schristos    This program is distributed in the hope that it will be useful,
128dffb485Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
138dffb485Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
148dffb485Schristos    GNU General Public License for more details.
158dffb485Schristos 
168dffb485Schristos    You should have received a copy of the GNU General Public License
178dffb485Schristos    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
188dffb485Schristos 
198dffb485Schristos #ifndef GDBSERVER_HOSTIO_H
208dffb485Schristos #define GDBSERVER_HOSTIO_H
218dffb485Schristos 
228dffb485Schristos /* Per-connection setup.  */
238dffb485Schristos extern void hostio_handle_new_gdb_connection (void);
248dffb485Schristos 
258dffb485Schristos extern int handle_vFile (char *, int, int *);
268dffb485Schristos 
278dffb485Schristos #endif /* GDBSERVER_HOSTIO_H */
28