diff options
Diffstat (limited to 'src/opt.h')
-rw-r--r-- | src/opt.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -7,4 +7,23 @@ struct rcc_option_defval_t { }; typedef struct rcc_option_defval_t rcc_option_defval; +enum rcc_option_type_t { + RCC_OPTION_TYPE_BOOLEAN = 0, + RCC_OPTION_TYPE_RANGE, + RCC_OPTION_TYPE_FLAGS, + RCC_OPTION_TYPE_MENU +}; +typedef enum rcc_option_type_t rcc_option_type; + +struct rcc_option_description_t { + rcc_option option; + const char *sn; + rcc_option_type; + rcc_option_value min; + rcc_option_value max; + +}; +typedef struct rcc_option_description_t rcc_option_description; + + #endif /* _RCC_OPT_H */ |