summaryrefslogtreecommitdiff
path: root/mh/mh_getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'mh/mh_getopt.h')
-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 2aa90b669..684ace678 100644
--- a/mh/mh_getopt.h
+++ b/mh/mh_getopt.h
@@ -20,9 +20,18 @@
20 20
21#define MH_GETOPT_DEFAULT_FOLDER 0x1 21#define MH_GETOPT_DEFAULT_FOLDER 0x1
22 22
23struct mh_optinit
24{
25 char const *opt; /* Option name */
26 char const *var; /* mh_property name */
27};
28
29void mh_getopt_ext (int *pargc, char ***pargv, struct mu_option *options,
30 int mhflags, struct mh_optinit *optinit,
31 char *argdoc, char *progdoc, char *extradoc);
32
23void mh_getopt (int *pargc, char ***pargv, struct mu_option *options, 33void mh_getopt (int *pargc, char ***pargv, struct mu_option *options,
24 int flags, 34 int flags, char *argdoc, char *progdoc, char *extradoc);
25 char *argdoc, char *progdoc, char *extradoc);
26 35
27void mh_opt_notimpl (struct mu_parseopt *po, struct mu_option *opt, 36void mh_opt_notimpl (struct mu_parseopt *po, struct mu_option *opt,
28 char const *arg); 37 char const *arg);

Return to:

Send suggestions and report system problems to the System administrator.