X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=8daf9d6d6fcfca9fe1029131afa4800b045beafa;hb=583dbd9cc2668870cb013f051ba59f7d3e513dae;hp=6ae5bc50a7d6d91164f2f083c234011efe0dc693;hpb=de117c122a4328102305eb6dbe57ad22c1b1eba8;p=yaffs2.git diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index 6ae5bc5..8daf9d6 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -255,6 +255,14 @@ int yaffs_link_reldev(struct yaffs_dev *dev, const YCHAR *oldpath, const YCHAR *linkpath); int yaffs_mknod_reldev(struct yaffs_dev *dev, const YCHAR *pathname, mode_t mode, dev_t dev_val); +Y_LOFF_T yaffs_freespace_reldev(struct yaffs_dev *dev); +Y_LOFF_T yaffs_totalspace_reldev(struct yaffs_dev *dev); + +int yaffs_sync_reldev(struct yaffs_dev *dev); +int yaffs_unmount_reldev(struct yaffs_dev *dev); +int yaffs_unmount2_reldev(struct yaffs_dev *dev, int force); +int yaffs_remount_reldev(struct yaffs_dev *dev, int force, int read_only); + /* Some non-standard functions to use fds to access directories */ struct yaffs_dirent *yaffs_readdir_fd(int fd);