X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.h;h=cf823fc62535a7158c6e5de0552dc2fb3bec67a1;hp=96c81a17c8770be00fa0f01a6a94676378b6bfd6;hb=07b3232de97ac32a873f0b5d17c8f49c18ed3ae7;hpb=e2de69dac799a1eecac1b52085f908729591ef5a diff --git a/options.h b/options.h index 96c81a17..cf823fc6 100644 --- a/options.h +++ b/options.h @@ -1,18 +1,15 @@ #ifndef FIO_OPTION_H #define FIO_OPTION_H +#define FIO_MAX_OPTS 512 + #include "parse.h" #include "flist.h" #define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var) -struct ext_option { - struct flist_head list; - const char *prof_name; - struct fio_option o; -}; - -void register_ext_option(struct ext_option *); -void prune_profile_options(const char *); +int add_option(struct fio_option *); +void invalidate_profile_options(const char *); +extern char *exec_profile; #endif