From 7a3ba4f8c3cadef5f4bf913e6825fd2ba1d67e4c Mon Sep 17 00:00:00 2001 From: Yuri Volchkov Date: Mon, 18 Feb 2019 15:54:35 +0100 Subject: [PATCH] lib/vfscore: add necessary internal prototypes Signed-off-by: Yuri Volchkov Reviewed-by: Simon Kuenzer --- lib/vfscore/vfs.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/vfscore/vfs.h b/lib/vfscore/vfs.h index 94fe89a5b..4a1cfa9f1 100644 --- a/lib/vfscore/vfs.h +++ b/lib/vfscore/vfs.h @@ -146,6 +146,15 @@ void dref(struct dentry *dp); void drele(struct dentry *dp); void dentry_init(void); +int vfs_close(struct vfscore_file *fp); +int vfs_read(struct vfscore_file *fp, struct uio *uio, int flags); +int vfs_write(struct vfscore_file *fp, struct uio *uio, int flags); +int vfs_ioctl(struct vfscore_file *fp, unsigned long com, void *data); +int vfs_stat(struct vfscore_file *fp, struct stat *st); + +int fget(int fd, struct vfscore_file **out_fp); +int fdalloc(struct vfscore_file *fp, int *newfd); + #ifdef DEBUG_VFS void vnode_dump(void); void vfscore_mount_dump(void); -- 2.39.5