Home | History | Annotate | Download | only in direct
      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 
     31