From fdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 8 Jul 2005 14:45:55 +0000 Subject: 08.07.2005 --- src/opt.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/opt.h') 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 */ -- cgit v1.2.3