X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=blobdiff_plain;f=src%2Fgsint.h;h=dde63aab4f68adb97da283e2e04fdad25517274f;hp=933fabc4ae56ea900f3e4131904f2d45d6308b31;hb=5ab00b5934a3df8e8944da324730627653a9e579;hpb=e3b283efdeb7b8ffdedd520a44ec061030340670 diff --git a/src/gsint.h b/src/gsint.h index 933fabc..dde63aa 100644 --- a/src/gsint.h +++ b/src/gsint.h @@ -103,12 +103,8 @@ extern double atan2 ___P ((double, double)); #include "dummypwd.h" #endif -#if ENABLE_NLS -#include +#include "gettext.h" #define _(String) gettext (String) -#else -#define _(String) String -#endif #if HAVE_LC_MESSAGES #include @@ -134,7 +130,7 @@ extern double atan2 ___P ((double, double)); (('0' <= (ch) && (ch) <= '9') || (ch) == '.' || (ch) == '-' || (ch) == '+') /* Return the width of the character */ -#define CHAR_WIDTH(ch) (font_widths[(unsigned char) (ch)]) +#define FNT_CHAR_WIDTH(ch) (font_widths[(unsigned char) (ch)]) /* Current point y movement from line to line. */ #define LINESKIP (Fpt.h + baselineskip) @@ -180,6 +176,7 @@ typedef enum ENC_ISO_8859_7, ENC_ISO_8859_9, ENC_ISO_8859_10, + ENC_ISO_8859_15, ENC_ASCII, ENC_ASCII_FISE, ENC_ASCII_DKNO, @@ -326,8 +323,6 @@ typedef struct cached_font_info_st CachedFontInfo; extern char *program; extern FILE *ofp; -extern char *version_string; -extern char *ps_version_string; extern char *date_string; extern struct tm run_tm; extern struct tm mod_tm; @@ -699,4 +694,9 @@ FILE *printer_open ___P ((char *cmd, char *options, char *queue_param, */ void printer_close ___P ((void *context)); +/* + * Escape filenames for shell usage + */ +char *shell_escape ___P ((const char *fn)); + #endif /* not GSINT_H */