X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.h;h=91424e1e5896008216c33c893cfb27eaed5564b0;hb=ff9c8dfcd178dcd3a35ae3e368b461f3bf44b2ad;hp=c4450a7986325a6dff35ede2e48aaec87c7f9333;hpb=05712b2457a44ee0f0020eced77db03c2aa419a1;p=libguestfs.git diff --git a/fish/fish.h b/fish/fish.h index c4450a7..91424e1 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -21,9 +21,17 @@ #include +#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); @@ -47,6 +55,9 @@ extern char **do_completion (const char *text, int start, int end); /* in alloc.c */ extern int do_alloc (const char *cmd, int argc, char *argv[]); +/* in echo.c */ +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[]);