Motr
M0
|
#include "lib/types.h"
Go to the source code of this file.
Data Structures | |
struct | m0_getopts_opt |
union | m0_getopts_opt::m0_getopts_union |
Macros | |
#define | __MOTR_LIB_USER_SPACE_GETOPTS_H__ |
#define | M0_GETOPTS(progname, argc, argv, ...) |
#define | M0_VOIDARG(ch, desc, func) |
#define | M0_NUMBERARG(ch, desc, func) |
#define | M0_SCALEDARG(ch, desc, func) |
#define | M0_STRINGARG(ch, desc, func) |
#define | M0_FORMATARG(ch, desc, fmt, ptr) |
#define | M0_FLAGARG(ch, desc, ptr) |
#define | M0_HELPARG(ch) |
Enumerations | |
enum | m0_getopts_opt_type { GOT_VOID, GOT_NUMBER, GOT_SCALED, GOT_STRING, GOT_FORMAT, GOT_FLAG, GOT_HELP } |
Functions | |
int | m0_getopts (const char *progname, int argc, char *const *argv, const struct m0_getopts_opt *opts, unsigned nr) |