Use a squashfs attached as /dev/sdd during the C API tests.
[libguestfs.git] / fish / fish.h
index 40f1990..13a2e5c 100644 (file)
 
 #include <guestfs.h>
 
+#ifdef HAVE_GETTEXT
+#include "gettext.h"
+#define _(str) dgettext(PACKAGE, (str))
+#define N_(str) dgettext(PACKAGE, (str))
+#else
+#define _(str) str
+#define N_(str) str
+#endif
+
 /* in fish.c */
 extern guestfs_h *g;
-extern int g_launched;
 extern int quit;
 extern int verbose;
 extern void pod2text (const char *heading, const char *body);
@@ -53,4 +61,14 @@ extern int do_echo (const char *cmd, int argc, char *argv[]);
 /* in edit.c */
 extern int do_edit (const char *cmd, int argc, char *argv[]);
 
+/* 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"
+
 #endif /* FISH_H */