X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=parse.h;h=83cb5b162931183bb104fb2b98823a430c235ec1;hb=753e9e642f1cf7aa6e46a31aeebc65da26c8bf2e;hp=030a18067fc04638573c5952fbcbc17b896487ed;hpb=e8b0e958cd219cabb1154e2b06036863a7d6dbd7;p=fio.git diff --git a/parse.h b/parse.h index 030a1806..83cb5b16 100644 --- a/parse.h +++ b/parse.h @@ -62,10 +62,14 @@ 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 */ + int hide_on_set; /* hide on set, not on unset */ + 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 *);