X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fdev%2Fyaffs_tester.h;h=d9ddf7337796da9d630f379173aa6b7121e4c924;hp=ad68d297e5b280bf072dd8e5acef25f24976fa51;hb=baabf1227755653121fcd9e6139636ff9245e2c4;hpb=86231ed7a8ebecf2e4821f9b426262045f941591 diff --git a/direct/timothy_tests/dev/yaffs_tester.h b/direct/timothy_tests/dev/yaffs_tester.h index ad68d29..d9ddf73 100644 --- a/direct/timothy_tests/dev/yaffs_tester.h +++ b/direct/timothy_tests/dev/yaffs_tester.h @@ -18,15 +18,17 @@ #include #include - +#include +#include + #include "yaffsfs.h" /* it is in "yaffs2/direct/" link it in the Makefile */ #include "message_buffer.h" #include "error_handler.h" - +#define MAX_NUMBER_OF_OPENED_HANDLES 50 #define MAX_FILE_NAME_SIZE 51 -void init(char *yaffs_test_dir,char *yaffs_mount_dir); /*sets up yaffs and mounts yaffs */ +void init(char *yaffs_test_dir,char *yaffs_mount_dir,int argc, char *argv[]); /*sets up yaffs and mounts yaffs */ void test(char *yaffs_test_dir); /*contains the test code*/ void generate_random_string(char *ptr); /*generates a random string of letters to be used for a name*/ void join_paths(char *path1,char *path2,char *newpath );