aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/common/ext.h
blob: 75bea5b5517b440a7b613753ce2057a6c8bd983d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 *
 * External varibles - most are in glob.c.
 *
 */

extern char	**argv;			/* global so everyone can use them */
extern int	argc;

extern int	x_stat;			/* program exit status */
extern int	debug;			/* debug flag */
extern int	ignore;			/* what we do with FATAL errors */

extern long	lineno;			/* line number */
extern long	position;		/* byte position */
extern char	*prog_name;		/* and program name - for errors */
extern char	*temp_file;		/* temporary file - for some programs */
extern char	*fontencoding;		/* text font encoding scheme */

extern int	dobbox;			/* enable BoundingBox stuff if TRUE */
extern double	pageheight;		/* only for BoundingBox calculations! */
extern double	pagewidth;

extern int	reading;		/* input */
extern int	writing;		/* and output encoding */

#define getopt ps_getopt
int getopt(int, char**, char*);
extern char	*optarg;		/* for getopt() */
extern int	optind;

extern void	interrupt(int);
extern int	cat(char*);
extern void	concat(double*);

/*
 * extern char	*tempnam(char*,char*);
 * extern char	*malloc();
 * extern char	*calloc();
 * extern char	*strtok();
 * extern long	ftell();
 * extern double	atof();
 * extern double	sqrt();
 * extern double	atan2();
 */