ext.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * External varibles - most are in glob.c.
  3. */
  4. extern char **argv; /* global so everyone can use them */
  5. extern int argc;
  6. extern int x_stat; /* program exit status */
  7. extern int debug; /* debug flag */
  8. extern int ignore; /* what we do with FATAL errors */
  9. extern long lineno; /* line number */
  10. extern long position; /* byte position */
  11. extern char *prog_name; /* and program name - for errors */
  12. extern char *temp_file; /* temporary file - for some programs */
  13. extern char *fontencoding; /* text font encoding scheme */
  14. extern int dobbox; /* enable BoundingBox stuff if TRUE */
  15. extern double pageheight; /* only for BoundingBox calculations! */
  16. extern double pagewidth;
  17. extern int reading; /* input */
  18. extern int writing; /* and output encoding */
  19. extern char *optarg; /* for getopt() */
  20. extern int optind;
  21. extern int cat(char *);
  22. extern void error(int, char *, ...);
  23. extern int in_olist(int);
  24. extern void interrupt(int);
  25. extern int out_list(char *);
  26. extern int setencoding(char *);
  27. extern char *tempnam(char*,char*);