summaryrefslogtreecommitdiff
path: root/profile.h
blob: 5268d4aec21f57bb2dda9df2b0c1cfaf5fe128cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef FIO_PROFILE_H
#define FIO_PROFILE_H

#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;
	struct fio_option *options;
};

void register_profile(struct profile_ops *);
void unregister_profile(struct profile_ops *);
int load_profile(const char *);

#endif