X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=parse.h;h=677b62b969850582c8e6419d838ec549b6b5dc5f;hb=276ca4f7db8d0102ca2412d85910b5a30258462b;hp=45462596ca4246dd6a7b4eac7600a2936c241b81;hpb=88b5a391bc2f9eb85066219e453682a746730ead;p=fio.git diff --git a/parse.h b/parse.h index 45462596..677b62b9 100644 --- a/parse.h +++ b/parse.h @@ -7,7 +7,6 @@ enum fio_opt_type { FIO_OPT_STR = 0, FIO_OPT_STR_VAL, - FIO_OPT_STR_VAL_INT, FIO_OPT_STR_VAL_TIME, FIO_OPT_STR_STORE, FIO_OPT_RANGE, @@ -49,6 +48,7 @@ struct fio_option { const char *def; /* default setting */ const struct value_pair posval[PARSE_MAX_VP];/* possible values */ const char *parent; /* parent option */ + int (*verify)(struct fio_option *, void *); }; typedef int (str_cb_fn)(void *, char *);