ack/util/ack/data.h

54 lines
1.7 KiB
C
Raw Normal View History

1987-03-09 19:15:41 +00:00
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
2019-02-10 12:11:03 +00:00
#ifndef DATA_H
#define DATA_H
1984-08-17 14:44:24 +00:00
2019-02-10 12:11:03 +00:00
extern char* stopsuffix; /* Suffix to stop at */
extern char* machine; /* The machine id */
extern char* callname; /* argv[0] */
extern char* rts; /* The runtime-system */
extern char* rtsuf; /* The runtime-system module suffix */
extern char* Optlist; /* Which optimizers */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern list_head arguments; /* List of arguments */
extern list_head flags; /* List of flags */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern list_head tr_list; /* List of transformations */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern list_head R_list; /* List of -R flags */
extern list_head head_list; /* List of suffices for headers */
extern list_head tail_list; /* List of suffices for tails */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern int k_flag; /* Like -k of lint */
extern int t_flag; /* Preserve intermediate files */
extern int v_flag; /* Verbose */
extern int w_flag; /* Don't print warnings */
extern int nill_flag; /* Don't print file names */
extern int Optlevel; /* Optimizing */
1984-06-21 10:57:59 +00:00
#ifdef DEBUG
2019-02-10 12:11:03 +00:00
extern int debug; /* Debugging control */
1984-06-21 10:57:59 +00:00
#endif
2019-02-10 12:11:03 +00:00
extern int n_error; /* Number of errors encountered */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern char* progname; /* The program call name */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern char* outfile; /* The result file e.g. a.out */
extern char template[20]; /* The template for temporary file
names */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern trf* linker; /* Pointer to the Loader/Linker */
extern trf* cpp_trafo; /* Pointer to C-preprocessor */
1984-06-21 10:57:59 +00:00
2019-02-10 12:11:03 +00:00
extern path in; /* The current single input pathname */
extern path out; /* The current output pathname */
extern path orig; /* The original input path */
extern char* p_basename; /* The current basename */
extern const char* p_suffix; /* The current input suffix */
#endif