summaryrefslogtreecommitdiffabout
path: root/mh/mh_getopt.h
Side-by-side diff
Diffstat (limited to 'mh/mh_getopt.h') (more/less context) (ignore whitespace changes)
-rw-r--r--mh/mh_getopt.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/mh/mh_getopt.h b/mh/mh_getopt.h
index 2aa90b6..684ace6 100644
--- a/mh/mh_getopt.h
+++ b/mh/mh_getopt.h
@@ -20,9 +20,18 @@
#define MH_GETOPT_DEFAULT_FOLDER 0x1
+struct mh_optinit
+{
+ char const *opt; /* Option name */
+ char const *var; /* mh_property name */
+};
+
+void mh_getopt_ext (int *pargc, char ***pargv, struct mu_option *options,
+ int mhflags, struct mh_optinit *optinit,
+ char *argdoc, char *progdoc, char *extradoc);
+
void mh_getopt (int *pargc, char ***pargv, struct mu_option *options,
- int flags,
- char *argdoc, char *progdoc, char *extradoc);
+ int flags, char *argdoc, char *progdoc, char *extradoc);
void mh_opt_notimpl (struct mu_parseopt *po, struct mu_option *opt,
char const *arg);

Return to:

Send suggestions and report system problems to the System administrator.