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
16typedef struct {
17	const char *prefix;
18	struct yaffs_DeviceStruct *dev;
19} yaffsfs_DeviceConfiguration;
20
21
22void yaffsfs_Lock(void);
23void yaffsfs_Unlock(void);
24
25__u32 yaffsfs_CurrentTime(void);
26
27void yaffsfs_SetError(int err);
28
29#endif
30
31