Remove regcache_raw_read
[deliverable/binutils-gdb.git] / gdb / remote-fileio.h
index 84f84cab79156aaab7a27c56b57ed77da36abea7..ed553a44687cd5a29d045db0bf5b8cd0eb993d2e 100644 (file)
@@ -1,6 +1,6 @@
 /* Remote File-I/O communications
 
-   Copyright (C) 2003-2014 Free Software Foundation, Inc.
+   Copyright (C) 2003-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #ifndef REMOTE_FILEIO_H
 #define REMOTE_FILEIO_H
 
+#include "fileio.h"
+
 struct cmd_list_element;
 
 /* 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);
@@ -36,4 +39,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
This page took 0.024573 seconds and 4 git commands to generate.