summaryrefslogtreecommitdiff
path: root/fpcsrc/utils/sim_pasc/options.h
blob: bb6fffa8d91bafefa8dfcec2eab6f5ac83300426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*	This file is part of the software similarity tester SIM.
	Written by Dick Grune, Vrije Universiteit, Amsterdam.
	$Id: options.h,v 1.3 2001/11/13 12:55:53 dick Exp $
*/

/*	Setting and consulting command line options
*/

struct option {
	char op_char;		/* char as in call */
	char *op_text;		/* elucidating text */
	char op_indicator;	/* type indicator, N = int, F = file name */
	const char **op_stringp;/* string value to be picked up */
};

extern int option_set(char ch);
extern int do_options(
	const char *progname, const struct option *optlist,
	int argc, char *argv[]
);