projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs First round of name changes
[yaffs2.git]
/
direct
/
yaffsfs.h
diff --git
a/direct/yaffsfs.h
b/direct/yaffsfs.h
index 7c36dabdd7a7cf5a2bc0b89dc0781ca721fa3b74..2a450e9e32caec54bbfd2f1a69a3dd5cacf737b8 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,16
+159,22
@@
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;
struct yaffs_DeviceStruct;
-void yaffs_
AddD
evice(struct yaffs_DeviceStruct *dev);
+void yaffs_
add_d
evice(struct yaffs_DeviceStruct *dev);
-int yaffs_
StartU
p(void);
+int yaffs_
start_u
p(void);
/* Function only for debugging */
void * yaffs_getdev(const YCHAR *path);
/* Function only for debugging */
void * yaffs_getdev(const YCHAR *path);
-int yaffs_
DumpDevStruct
(const YCHAR *path);
+int yaffs_
dump_dev
(const YCHAR *path);
#endif
#endif