X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fmirror_tests%2Flib.h;h=0b33479afff2b5246e66a68279123a70e196d5f1;hb=6648cbf52d6695755941ff8607fd7a0cda542e05;hp=2e03573a2648aa7322c8ef30f7d0b2ce9ba7b153;hpb=137f935f6d622bffdef2fece0c5194e85f5174e9;p=yaffs2.git diff --git a/direct/timothy_tests/mirror_tests/lib.h b/direct/timothy_tests/mirror_tests/lib.h index 2e03573..0b33479 100644 --- a/direct/timothy_tests/mirror_tests/lib.h +++ b/direct/timothy_tests/mirror_tests/lib.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Timothy Manning @@ -19,7 +19,7 @@ #include #include #include "yaffsfs.h" - +#include typedef struct arg_temp2{ char char1; @@ -40,12 +40,14 @@ test_dir yaffs_struct,linux_struct; - +void generate_random_string(char *ptr,int length_of_str); void join_paths(char *path1,char *path2,char *new_path ); void print_message(char print_level, char *message); void set_print_level(int new_level); +int get_print_level(void); void set_exit_on_error(int num); int get_exit_on_error(void); void display_error(void); - +void get_error_yaffs(void); +void get_error_linux(void); #endif