1 /* $Id: options.h,v 1.5 2003/03/09 07:45:38 landrito Exp $
2 
3 	Declarations of things shared between ftnchek.c and options.c
4 
5 Copyright (c) 2001 by Robert K. Moniot.
6 
7 Permission is hereby granted, free of charge, to any person
8 obtaining a copy of this software and associated documentation
9 files (the "Software"), to deal in the Software without
10 restriction, including without limitation the rights to use,
11 copy, modify, merge, publish, distribute, sublicense, and/or
12 sell copies of the Software, and to permit persons to whom the
13 Software is furnished to do so, subject to the following
14 conditions:
15 
16 The above copyright notice and this permission notice shall be
17 included in all copies or substantial portions of the
18 Software.
19 
20 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
21 KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
22 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
23 PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
24 COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
26 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
27 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 
29 Acknowledgement: the above permission notice is what is known
30 as the "MIT License."
31 */
32 
33 
34 PROTO(void get_env_options,( void ));
35 
36 PROTO(void get_rc_options,( void ));
37 
38 PROTO(void list_options,( FILE *fd ));
39 
40 PROTO(void set_option,( char *s, const char *where ));
41 
42 PROTO(void turn_off_checks,( void ));
43 
44 		/* The following variables are not for options, but the
45 		   OPT macro does what is needed, namely give them a home
46 		   and proper initialization.
47 		 */
48 OPT(int,actioncount,0);	/* Incremented when file read or -help printed */
49 OPT(int,must_open_outfile,FALSE); /* Flag set to TRUE when out=name given */
50