projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs Creating a python file which will read current directories into yaffs file...
[yaffs2.git]
/
direct
/
yaffsfs.h
diff --git
a/direct/yaffsfs.h
b/direct/yaffsfs.h
index 7961dff71ced4719bea2f5ed28bd9d40a0f970dd..36b7e5a8555596dab811cbec1722d7ca672b592e 100644
(file)
--- a/
direct/yaffsfs.h
+++ b/
direct/yaffsfs.h
@@
-76,6
+76,7
@@
struct yaffs_stat{
};
int yaffs_open(const YCHAR *path, int oflag, int mode) ;
};
int yaffs_open(const YCHAR *path, int oflag, int mode) ;
+
int yaffs_close(int fd) ;
int yaffs_fsync(int fd) ;
int yaffs_fdatasync(int fd) ;
int yaffs_close(int fd) ;
int yaffs_fsync(int fd) ;
int yaffs_fdatasync(int fd) ;
@@
-158,12
+159,23
@@
loff_t yaffs_totalspace(const YCHAR *path);
int yaffs_inodecount(const YCHAR *path);
int yaffs_inodecount(const YCHAR *path);
+int yaffs_n_handles(const YCHAR *path);
+
+#define YAFFS_SHARE_READ 1
+#define YAFFS_SHARE_WRITE 2
+int yaffs_open_sharing(const YCHAR *path, int oflag, int mode, int shareMode) ;
+
struct yaffs_DeviceStruct;
void yaffs_AddDevice(struct yaffs_DeviceStruct *dev);
int yaffs_StartUp(void);
struct yaffs_DeviceStruct;
void yaffs_AddDevice(struct yaffs_DeviceStruct *dev);
int yaffs_StartUp(void);
+
+/* Function only for debugging */
+void * yaffs_getdev(const YCHAR *path);
+int yaffs_DumpDevStruct(const YCHAR *path);
+
#endif
#endif