[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v3 18/23] lib/vfscore: add necessary internal prototypes



Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx>
---
 lib/vfscore/vfs.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/lib/vfscore/vfs.h b/lib/vfscore/vfs.h
index 94fe89a5..4a1cfa9f 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.19.2


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.