summaryrefslogtreecommitdiffstats
path: root/src/opt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.h')
-rw-r--r--src/opt.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/opt.h b/src/opt.h
index c10a53d..efea382 100644
--- a/src/opt.h
+++ b/src/opt.h
@@ -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 */