yaffs direct: Clean up and handle names that are to long
[yaffs2.git] / direct / yaffscfg.h
index fc7add69a8dfd42b7b3b4b7d65c3b7eae4ad8d6a..42fd78cc9c60d90dba19987d8a868d3399262d32 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
  *
- * Copyright (C) 2002-2007 Aleph One Ltd.
+ * Copyright (C) 2002-2010 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Charles Manning <charles@aleph1.co.uk>
 #define __YAFFSCFG_H__
 
 
-#include "yportenv.h"
+#include "yportenv.h"     
 
-#define YAFFSFS_N_HANDLES 200
+#define YAFFSFS_N_HANDLES 100
 
 
-typedef struct {
+typedef struct yaffsfs_DeviceConfigurationStruct {
        const YCHAR *prefix;
-       struct yaffs_DeviceStruct *dev;
+       struct yaffs_dev *dev;
 } yaffsfs_DeviceConfiguration;
 
 
 void yaffsfs_Lock(void);
 void yaffsfs_Unlock(void);
 
-__u32 yaffsfs_CurrentTime(void);
+u32 yaffsfs_CurrentTime(void);
 
 void yaffsfs_SetError(int err);