Guestfish feature: remote control of guestfish over a pipe.
[libguestfs.git] / fish / fish.h
index d0dc7a9..f911eed 100644 (file)
@@ -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,6 +77,11 @@ 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[]);