diff options
Diffstat (limited to 'mh/mh_getopt.h')
-rw-r--r-- | mh/mh_getopt.h | 13 |
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 @@ #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); |