diff options
author | dyniusz <dyniusz@fb.com> | 2017-05-04 12:17:34 -0700 |
---|---|---|
committer | dyniusz <dyniusz@fb.com> | 2017-05-04 12:17:34 -0700 |
commit | 966fcbd4c226d8c433b6e9f9dbd28c5efd442d82 (patch) | |
tree | aaf4d9a9512ad64f40054dfb335048f012fc2bf2 /file.h | |
parent | c55fae03f7d5c0981e55241fc9003d762f7a5fd9 (diff) | |
download | fio-966fcbd4c226d8c433b6e9f9dbd28c5efd442d82.tar.gz fio-966fcbd4c226d8c433b6e9f9dbd28c5efd442d82.tar.bz2 |
Adjustments to support C++ engines
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -187,9 +187,15 @@ extern void close_and_free_files(struct thread_data *); extern uint64_t get_start_offset(struct thread_data *, struct fio_file *); extern int __must_check setup_files(struct thread_data *); extern int __must_check file_invalidate_cache(struct thread_data *, struct fio_file *); +#ifdef __cplusplus +extern "C" { +#endif extern int __must_check generic_open_file(struct thread_data *, struct fio_file *); extern int __must_check generic_close_file(struct thread_data *, struct fio_file *); extern int __must_check generic_get_file_size(struct thread_data *, struct fio_file *); +#ifdef __cplusplus +} +#endif extern int __must_check file_lookup_open(struct fio_file *f, int flags); extern int __must_check pre_read_files(struct thread_data *); extern unsigned long long get_rand_file_size(struct thread_data *td); |