yaffs removed direct/timothy_tests from git and added a convert error_code_str()...
[yaffs2.git] / direct / python / yaffs_error_converter.h
diff --git a/direct/python/yaffs_error_converter.h b/direct/python/yaffs_error_converter.h
new file mode 100644 (file)
index 0000000..8ff76d2
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * 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 <timothy@yaffs.net>
+ *
+ * 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 __error_handler_h__
+#define __error_handler_h__
+#include <stdio.h>
+
+#include "yaffsfs.h"
+#include "yportenv.h"
+
+const char * yaffs_error_to_str(int err);
+#endif