yaffsfs: Allocate directory searches from a table rather than via malloc.
[yaffs2.git] / direct / yaffscfg.h
index 42fd78cc9c60d90dba19987d8a868d3399262d32..c0686427a53daee290d4df214d29c5b86f88c0d0 100644 (file)
@@ -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 Charles Manning <charles@aleph1.co.uk>
@@ -25,7 +25,8 @@
 
 #include "yportenv.h"     
 
-#define YAFFSFS_N_HANDLES 100
+#define YAFFSFS_N_HANDLES      100
+#define YAFFSFS_N_DSC          20
 
 
 typedef struct yaffsfs_DeviceConfigurationStruct {
@@ -34,12 +35,5 @@ typedef struct yaffsfs_DeviceConfigurationStruct {
 } yaffsfs_DeviceConfiguration;
 
 
-void yaffsfs_Lock(void);
-void yaffsfs_Unlock(void);
-
-u32 yaffsfs_CurrentTime(void);
-
-void yaffsfs_SetError(int err);
-
 #endif