Make sure profile options get added to long_options[]
[fio.git] / profile.h
... / ...
CommitLineData
1#ifndef FIO_PROFILE_H
2#define FIO_PROFILE_H
3
4#include "flist.h"
5
6struct profile_ops {
7 struct flist_head list;
8 char name[32];
9 int flags;
10
11 /*
12 * Profile specific options
13 */
14 struct fio_option *options;
15
16 /*
17 * Called after parsing options, to prepare 'cmdline'
18 */
19 void (*prep_cmd)(void);
20
21 /*
22 * The complete command line
23 */
24 const char **cmdline;
25};
26
27void register_profile(struct profile_ops *);
28void unregister_profile(struct profile_ops *);
29int load_profile(const char *);
30
31#endif