X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=parse.h;h=fe3b6bc5f236510dc3cdbb66b5c3a6069b79df34;hp=030a18067fc04638573c5952fbcbc17b896487ed;hb=7fc35ff7f50137503236f67ca9deeca0c11a536f;hpb=e8b0e958cd219cabb1154e2b06036863a7d6dbd7 diff --git a/parse.h b/parse.h index 030a1806..fe3b6bc5 100644 --- a/parse.h +++ b/parse.h @@ -62,10 +62,13 @@ struct fio_option { struct value_pair posval[PARSE_MAX_VP];/* possible values */ const char *parent; /* parent option */ int hide; /* hide if parent isn't set */ + const char *inverse; /* if set, apply opposite action to this option */ + struct fio_option *inv_opt; /* cached lookup */ int (*verify)(struct fio_option *, void *); const char *prof_name; /* only valid for specific profile */ unsigned int category; /* what type of option */ unsigned int group; /* who to group with */ + void *gui_data; }; typedef int (str_cb_fn)(void *, char *);