Mercurial > yaffs-ecoscentric-gpl
annotate direct/yaffscfg.h @ 1:2822f1d7ce92
*** empty log message ***
| author | charles <charles> |
|---|---|
| date | Wed, 03 Nov 2004 08:29:28 +0000 |
| parents | |
| children | 582d5458b4c6 |
| rev | line source |
|---|---|
| 1 | 1 /* |
| 2 * Header file for using yaffs in an application via | |
| 3 * a direct interface. | |
| 4 */ | |
| 5 | |
| 6 | |
| 7 #ifndef __YAFFSCFG_H__ | |
| 8 #define __YAFFSCFG_H__ | |
| 9 | |
| 10 | |
| 11 #include "devextras.h" | |
| 12 | |
| 13 #define YAFFSFS_N_HANDLES 200 | |
| 14 | |
| 15 | |
| 16 typedef struct { | |
| 17 const char *prefix; | |
| 18 struct yaffs_DeviceStruct *dev; | |
| 19 } yaffsfs_DeviceConfiguration; | |
| 20 | |
| 21 | |
| 22 void yaffsfs_Lock(void); | |
| 23 void yaffsfs_Unlock(void); | |
| 24 | |
| 25 __u32 yaffsfs_CurrentTime(void); | |
| 26 | |
| 27 void yaffsfs_SetError(int err); | |
| 28 | |
| 29 #endif | |
| 30 |
