blob: efea3820532c5300a52e85f0af3900c80ab81fe5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _RCC_OPT_H
#define _RCC_OPT_H
struct rcc_option_defval_t {
rcc_option option;
rcc_option_value value;
};
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 */
|