diff options
Diffstat (limited to 'bench/wtperf/config_opt.h')
-rw-r--r-- | bench/wtperf/config_opt.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bench/wtperf/config_opt.h b/bench/wtperf/config_opt.h index b7eff8e143f..3f1ab642227 100644 --- a/bench/wtperf/config_opt.h +++ b/bench/wtperf/config_opt.h @@ -37,3 +37,17 @@ typedef struct { CONFIG_OPT_TYPE type; size_t offset; } CONFIG_OPT; + +typedef struct __config_queue_entry { + char *string; + TAILQ_ENTRY(__config_queue_entry) q; +} CONFIG_QUEUE_ENTRY; + +typedef struct { /* Option structure */ +#define OPT_DECLARE_STRUCT +#include "wtperf_opt.i" +#undef OPT_DECLARE_STRUCT + + /* Queue head to save a copy of the config to be output */ + TAILQ_HEAD(__config_qh, __config_queue_entry) config_head; +} CONFIG_OPTS; |