#ifndef FIO_FILE_H
#define FIO_FILE_H
+#include <string.h>
+#include "compiler/compiler.h"
#include "io_ddir.h"
+#include "flist.h"
/*
* The type of object we are working on
struct flist_head hash_list;
enum fio_filetype filetype;
- /*
- * A file may not be a file descriptor, let the io engine decide
- */
- unsigned long file_data;
+ void *file_data;
int fd;
+#ifdef __CYGWIN__
+ HANDLE hFile;
+ HANDLE ioCP;
+#endif
/*
* filename and possible memory mapping