summaryrefslogtreecommitdiffstats
path: root/fish/fish.h
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-19 14:41:01 +0100
committerRichard Jones <rjones@redhat.com>2010-04-19 15:08:45 +0100
commit3119aa687d4d594b50ee9df5ff6e8d709eb7ca85 (patch)
treef950fe7f4bce7b9795442b94e35afcef34159c66 /fish/fish.h
parent819f30e332160ba05f7bf6dd068622cc07bf9ffc (diff)
downloadlibguestfs-3119aa687d4d594b50ee9df5ff6e8d709eb7ca85.tar.gz
libguestfs-3119aa687d4d594b50ee9df5ff6e8d709eb7ca85.tar.xz
libguestfs-3119aa687d4d594b50ee9df5ff6e8d709eb7ca85.zip
fish: Allow -<<END as a syntax for uploading "heredocs".
For example: ><fs> upload -<<END /foo some data some more data END ><fs> cat /foo some data some more data
Diffstat (limited to 'fish/fish.h')
-rw-r--r--fish/fish.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fish/fish.h b/fish/fish.h
index 5856b8ef..05135fba 100644
--- a/fish/fish.h
+++ b/fish/fish.h
@@ -65,6 +65,9 @@ extern int is_true (const char *str);
extern char **parse_string_list (const char *str);
extern int xwrite (int fd, const void *buf, size_t len);
extern char *resolve_win_path (const char *path);
+extern char *file_in (const char *arg);
+extern void free_file_in (char *s);
+extern char *file_out (const char *arg);
extern void extended_help_message (void);
/* in cmds.c (auto-generated) */