aboutsummaryrefslogtreecommitdiff
path: root/opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'opts.h')
-rw-r--r--opts.h16
1 files changed, 16 insertions, 0 deletions
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 <miklos@szeredi.hu>
+
+ 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);