Add parser support for out-of-td option storage
[fio.git] / options.h
1 #ifndef FIO_OPTION_H
2 #define FIO_OPTION_H
3
4 #include "parse.h"
5 #include "flist.h"
6
7 #define td_var_offset(var)      ((size_t) &((struct thread_options *)0)->var)
8
9 struct ext_option {
10         struct flist_head list;
11         struct fio_option o;
12 };
13
14 void register_option(struct ext_option *);
15
16 #endif