X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fopening_file_ENOENT%2Fyaffs_tester.h;fp=direct%2Ftimothy_tests%2Fopening_file_ENOENT%2Fyaffs_tester.h;h=0000000000000000000000000000000000000000;hb=2d7c08f638ef0b0dce832d40a1930513e7d10ce8;hp=30d5caa173b97462b3def7b621f28fb3463552a6;hpb=ebbd60a59253d7a4078222534f4b5c2509ee9e40;p=yaffs2.git diff --git a/direct/timothy_tests/opening_file_ENOENT/yaffs_tester.h b/direct/timothy_tests/opening_file_ENOENT/yaffs_tester.h deleted file mode 100644 index 30d5caa..0000000 --- a/direct/timothy_tests/opening_file_ENOENT/yaffs_tester.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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__ - -#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_FILE_NAME_SIZE 51 - -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 ); -void copy_array(char *from,char *to, unsigned int from_offset,unsigned int to_offset); -#endif