X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fhandle_tests%2Fhandle_test.h;fp=direct%2Ftimothy_tests%2Fhandle_tests%2Fhandle_test.h;h=3ab251072bbbe5b98e1633cfd6e4ecca2479fa5e;hb=137f935f6d622bffdef2fece0c5194e85f5174e9;hp=0000000000000000000000000000000000000000;hpb=d223baa0fa5644b48c2626f8d42b05ac45b1daf6;p=yaffs2.git diff --git a/direct/timothy_tests/handle_tests/handle_test.h b/direct/timothy_tests/handle_tests/handle_test.h new file mode 100644 index 0000000..3ab2510 --- /dev/null +++ b/direct/timothy_tests/handle_tests/handle_test.h @@ -0,0 +1,27 @@ +/* + * 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 __handle_test_h__ +#define __handle_test_h__ + +#include +#include "yaffsfs.h" + +#define FILE_PATH "/yaffs2/foo" + +int open_close_handle_test(int num_of_tests); +int open_handle(void); +void get_error(void); +#endif