More progress on per-profile options support
[fio.git] / profile.h
index 5268d4aec21f57bb2dda9df2b0c1cfaf5fe128cd..8ea77d9b6537a2c54897cd8ffee751ef42344bb3 100644 (file)
--- a/profile.h
+++ b/profile.h
@@ -3,16 +3,25 @@
 
 #include "flist.h"
 
-#define FIO_PROFILE_VERSION    1
-
 struct profile_ops {
        struct flist_head list;
        char name[32];
-       int version;
        int flags;
 
-       const char **def_ops;
+       /*
+        * Profile specific options
+        */
        struct fio_option *options;
+
+       /*
+        * Called after parsing options, to prepare 'cmdline'
+        */
+       void (*prep_cmd)(void);
+
+       /*
+        * The complete command line
+        */
+       const char **cmdline;
 };
 
 void register_profile(struct profile_ops *);