7 #define LEN_ZONE_OPTION_STRING 8
10 #define OPTION_VALUE_UNSIGNED(x) uint32_t(x)
11 #define OPTION_VALUE_SIGNED(x) uint32_t(x)
12 #define OPTION_VALUE_BOOL(x) bool(x)
13 #define OPTION_VALUE_STRING(...) *(ZoneOptionValue *)(const char *) #__VA_ARGS__
15 #define OPTION_VALUE_UNSIGNED(x) { .unsignedValue = (x) }
16 #define OPTION_VALUE_SIGNED(x) { .signedValue = (x) }
17 #define OPTION_VALUE_BOOL(x) { .boolValue = (x) }
18 #define OPTION_VALUE_STRING(...) { .stringValue = {__VA_ARGS__} }
28 uint32_t unsignedValue
;
31 char stringValue
[LEN_ZONE_OPTION_STRING
];
50 ZoneOptionValue deflt
;