GNU Dico Manual (split by section):   Section:   Chapter:FastBack: Libdico   Up: Libdico   FastForward: Copying This Manual   Contents: Table of ContentsIndex: Concept Index

D.7 parseopt

Editor’s note:

The information in this node may be obsolete or otherwise inaccurate. This message will disappear, once this node revised.

DICO_PARSEOPT_PARSE_ARGV0
DICO_PARSEOPT_PERMUTE
Enumeration: dico_opt_type
dico_opt_null
dico_opt_bool
dico_opt_bitmask
dico_opt_bitmask_rev
dico_opt_long
dico_opt_string
dico_opt_enum
dico_opt_const
dico_opt_const_string
struct: dico_option
struct dico_option {
    const char *name;
    size_t len;
    enum dico_opt_type type;
    void *data;
    union {
        long value;
        const char **enumstr;
    } v;
    int (*func) (struct dico_option *, const char *);
};
Macro: DICO_OPTSTR name
Function: int dico_parseopt (struct dico_option *opt, int argc, char **argv, int flags, int *index)

GNU Dico Manual (split by section):   Section:   Chapter:FastBack: Libdico   Up: Libdico   FastForward: Copying This Manual   Contents: Table of ContentsIndex: Concept Index