diff options
author | Richard Jones <rjones@redhat.com> | 2010-04-19 14:41:01 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-04-19 15:08:45 +0100 |
commit | 3119aa687d4d594b50ee9df5ff6e8d709eb7ca85 (patch) | |
tree | f950fe7f4bce7b9795442b94e35afcef34159c66 /fish/fish.h | |
parent | 819f30e332160ba05f7bf6dd068622cc07bf9ffc (diff) | |
download | libguestfs-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.h | 3 |
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) */ |