diff options
Diffstat (limited to 'src/options.h')
-rw-r--r-- | src/options.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h index 4be4cb6..e8419b1 100644 --- a/src/options.h +++ b/src/options.h @@ -1,6 +1,16 @@ #ifndef OPTIONS_H #define OPTIONS_H OPTIONS_H +typedef struct FieldRange { + int start; + int end; +} FieldRange; + +typedef struct FieldSelector { + FieldRange *ranges; + size_t nb_ranges; +} FieldSelector; + typedef struct { int benchmark; const char *filter; @@ -13,9 +23,15 @@ typedef struct { unsigned int workers; char input_delimiter; int show_info; + + const char *delimiters; + + FieldSelector search_fields; + FieldSelector output_fields; } options_t; void options_init(options_t *options); void options_parse(options_t *options, int argc, char *argv[]); +void options_uninit(options_t *options); #endif |