X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffscfg.h;h=1ffaae95cc0b7bb25f3e269724c91fdae85d9871;hp=29417c2028672112f9ba07fcad849f442e49860d;hb=597a9ecaee1fbcad4be10382dca705522a2d5a82;hpb=4a96d43bb566f00596a31a41c535cabbf52d4f20 diff --git a/direct/yaffscfg.h b/direct/yaffscfg.h index 29417c2..1ffaae9 100644 --- a/direct/yaffscfg.h +++ b/direct/yaffscfg.h @@ -1,7 +1,7 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * 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 @@ -25,21 +25,15 @@ #include "yportenv.h" -#define YAFFSFS_N_HANDLES 100 +#define YAFFSFS_N_HANDLES 100 +#define YAFFSFS_N_DSC 20 -typedef struct yaffsfs_DeviceConfigurationStruct { +struct yaffsfs_DeviceConfiguration { const YCHAR *prefix; - struct yaffs_DeviceStruct *dev; -} yaffsfs_DeviceConfiguration; + struct yaffs_dev *dev; +}; -void yaffsfs_Lock(void); -void yaffsfs_Unlock(void); - -__u32 yaffsfs_CurrentTime(void); - -void yaffsfs_SetError(int err); - #endif