D | parse-options.h | 107 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } argument 108 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) } argument 109 …ne OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value =… argument 110 …PT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value =… argument 111 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument 113 .value = check_vtype(v, bool *), .help = (h), \ 115 …e OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value =… argument 116 …_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = che… argument 117 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument 118 …PT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), .value =… argument [all …]
|