diff options
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index 427ad40..c6e5433 100644 --- a/src/config.h +++ b/src/config.h @@ -28,14 +28,21 @@ typedef enum { CHECK_NONE, CHECK_POSITIVE, CHECK_IN_RANGE, + CHECK_GT_OTHER, + CHECK_EQ_OTHER, } config_check_type_t; typedef struct { config_check_type_t type; union { struct { - int min, max; + double min; + double max; } range; + struct { + size_t offset; + config_type_t type; + } compare; }; } config_check_t; |
