X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fremote-fileio.h;h=779b63ee291a68181dd4d70b906273a88033e029;hb=13c9c48599ebc8ad2f3a1fb9f672740219cd3841;hp=2f9558968ee69865daae92dde1cca1d4d499b75e;hpb=0df8b4180acb4890d058c92753dafcd4ff0a87d1;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/remote-fileio.h b/gdb/remote-fileio.h index 2f9558968e..779b63ee29 100644 --- a/gdb/remote-fileio.h +++ b/gdb/remote-fileio.h @@ -1,7 +1,6 @@ /* Remote File-I/O communications - Copyright (C) 2003, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright (C) 2003-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -23,11 +22,15 @@ #ifndef REMOTE_FILEIO_H #define REMOTE_FILEIO_H +#include "gdbsupport/fileio.h" + struct cmd_list_element; +struct remote_target; /* Unified interface to remote fileio, called in remote.c from remote_wait () and remote_async_wait (). */ -extern void remote_fileio_request (char *buf, int ctrlc_pending_p); +extern void remote_fileio_request (remote_target *remote, + char *buf, int ctrlc_pending_p); /* Cleanup any remote fileio state. */ extern void remote_fileio_reset (void); @@ -37,4 +40,8 @@ extern void initialize_remote_fileio ( struct cmd_list_element *remote_set_cmdlist, struct cmd_list_element *remote_show_cmdlist); +/* Unpack a struct fio_stat. */ +extern void remote_fileio_to_host_stat (struct fio_stat *fst, + struct stat *st); + #endif