*** empty log message ***
[yaffs/.git] / direct / yaffscfg.h
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
12 #include "yaffs_guts.h"
13
14 #define YAFFSFS_N_HANDLES 200
15
16
17 typedef struct {
18         const char *prefix;
19         yaffs_Device *dev;
20 } yaffsfs_DeviceConfiguration;
21
22
23 void yaffsfs_Lock(void);
24 void yaffsfs_Unlock(void);
25
26 __u32 yaffsfs_CurrentTime(void);
27
28 void yaffsfs_SetError(int err);
29
30 #endif
31