ext.h (1204B)
1 /* 2 * 3 * External varibles - most are in glob.c. 4 * 5 */ 6 7 extern char **argv; /* global so everyone can use them */ 8 extern int argc; 9 10 extern int x_stat; /* program exit status */ 11 extern int debug; /* debug flag */ 12 extern int ignore; /* what we do with FATAL errors */ 13 14 extern long lineno; /* line number */ 15 extern long position; /* byte position */ 16 extern char *prog_name; /* and program name - for errors */ 17 extern char *temp_file; /* temporary file - for some programs */ 18 extern char *fontencoding; /* text font encoding scheme */ 19 20 extern int dobbox; /* enable BoundingBox stuff if TRUE */ 21 extern double pageheight; /* only for BoundingBox calculations! */ 22 extern double pagewidth; 23 24 extern int reading; /* input */ 25 extern int writing; /* and output encoding */ 26 27 #define getopt ps_getopt 28 int getopt(int, char**, char*); 29 extern char *optarg; /* for getopt() */ 30 extern int optind; 31 32 extern void interrupt(int); 33 extern int cat(char*); 34 extern void concat(double*); 35 36 /* 37 * extern char *tempnam(char*,char*); 38 * extern char *malloc(); 39 * extern char *calloc(); 40 * extern char *strtok(); 41 * extern long ftell(); 42 * extern double atof(); 43 * extern double sqrt(); 44 * extern double atan2(); 45 */