diff options
Diffstat (limited to 'unittest/mysys/test_file.h')
-rw-r--r-- | unittest/mysys/test_file.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/unittest/mysys/test_file.h b/unittest/mysys/test_file.h new file mode 100644 index 00000000000..bfc660b13d0 --- /dev/null +++ b/unittest/mysys/test_file.h @@ -0,0 +1,14 @@ +#include <m_string.h> +#include <pagecache.h> + +/* + File content descriptor +*/ +struct file_desc +{ + unsigned int length; + unsigned char content; +}; + +int test_file(PAGECACHE_FILE file, char *file_name, + off_t size, size_t buff_size, struct file_desc *desc); |