#include <string.h>
#include <stdio.h>
-
+#include <time.h>
+#include <stdlib.h>
+
#include "yaffsfs.h" /* it is in "yaffs2/direct/" link it in the Makefile */
#include "message_buffer.h"
#include "error_handler.h"
#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 );