Cleanup profile support
[fio.git] / options.h
index 96c81a17c8770be00fa0f01a6a94676378b6bfd6..cf823fc62535a7158c6e5de0552dc2fb3bec67a1 100644 (file)
--- 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