X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Ffish.h;h=59f2e10acf82e846ff95a65c5b318f339fced995;hp=ac8464709b0261eb9853c271bdb5828e6719d810;hb=1a5755dbbff0fa4d87984cb7d67cb8239fd71a84;hpb=19a1382fc9317ab88cdbf1dde76a8015868af51d diff --git a/fish/fish.h b/fish/fish.h index ac84647..59f2e10 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -1,4 +1,4 @@ -/* libguestfs - the guestfsd daemon +/* libguestfs - guestfish shell * Copyright (C) 2009 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify @@ -77,17 +77,33 @@ extern int do_glob (const char *cmd, int argc, char *argv[]); /* in more.c */ extern int do_more (const char *cmd, int argc, char *argv[]); +/* in rc.c (remote control) */ +extern void rc_listen (void); +extern int rc_remote (int pid, const char *cmd, int argc, char *argv[], + int exit_on_error); + +/* in reopen.c */ +extern int do_reopen (const char *cmd, int argc, char *argv[]); + +/* in time.c */ +extern int do_time (const char *cmd, int argc, char *argv[]); + +/* in tilde.c */ +extern char *try_tilde_expansion (char *path); + /* This should just list all the built-in commands so they can * be added to the generated auto-completion code. */ #define BUILTIN_COMMANDS_FOR_COMPLETION \ - "help", \ - "quit", "exit", "q", \ - "alloc", "allocate", \ - "echo", \ - "edit", "vi", "emacs", \ - "lcd", \ - "glob", \ - "more", "less" + "help", \ + "quit", "exit", "q", \ + "alloc", "allocate", \ + "echo", \ + "edit", "vi", "emacs", \ + "lcd", \ + "glob", \ + "more", "less", \ + "reopen", \ + "time" #endif /* FISH_H */