X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=direct%2Ftimothy_tests%2Fyaffs_tester.h;h=ad68d297e5b280bf072dd8e5acef25f24976fa51;hb=f330fefa27f2c87f7dff414fe6227261327663b7;hp=712563f3c9c2eb504d9f0f9ecabaaf27489e8940;hpb=941b43d04d6684b006fbe648f150192116f11ab1;p=yaffs2.git diff --git a/direct/timothy_tests/yaffs_tester.h b/direct/timothy_tests/yaffs_tester.h index 712563f..ad68d29 100644 --- a/direct/timothy_tests/yaffs_tester.h +++ b/direct/timothy_tests/yaffs_tester.h @@ -1,4 +1,18 @@ -/*yaffs_tester.h */ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2010 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Timothy Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + #ifndef __YAFFS_TESTER_H__ #define __YAFFS_TESTER_H__ @@ -12,9 +26,9 @@ #define MAX_FILE_NAME_SIZE 51 -void init(char yaffs_test_dir[],char yaffs_mount_dir[]); /*sets up yaffs and mounts yaffs */ -void test(char yaffs_test_dir[]); /*contains the test code*/ +void init(char *yaffs_test_dir,char *yaffs_mount_dir); /*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 ); -void copy_array(char from[],char *to, unsigned int from_offset,unsigned int to_offset); +void join_paths(char *path1,char *path2,char *newpath ); +void copy_array(char *from,char *to, unsigned int from_offset,unsigned int to_offset); #endif