From a464d3ec2c93e65da4ae752ac126c30e9897d63b Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 8 Feb 2005 16:15:58 +0000 Subject: option parsing --- opts.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 opts.h (limited to 'opts.h') diff --git a/opts.h b/opts.h new file mode 100644 index 0000000..b5c8729 --- /dev/null +++ b/opts.h @@ -0,0 +1,16 @@ +/* + Mount option parsing + Copyright (C) 2004 Miklos Szeredi + + This program can be distributed under the terms of the GNU GPL. + See the file COPYING. +*/ + +struct opt { + const char *optname; + int present; + char *value; +}; + +void process_options(int *argcp, char *argv[], struct opt opts[], + int case_sensitive); -- cgit v1.2.3