libfs: add support for special files not backed by a filesystem
This commit is contained in:
@@ -23,6 +23,7 @@ struct fs_file_ops {
|
||||
*f_readdir)(struct fs_file *, struct xpc_buffer *, off_t *);
|
||||
};
|
||||
|
||||
extern void fs_file_set_ops(struct fs_file *f, const struct fs_file_ops *ops);
|
||||
extern struct fs_inode *fs_file_get_inode(const struct fs_file *f);
|
||||
extern size_t fs_file_get_cursor(const struct fs_file *f);
|
||||
extern enum fs_status fs_file_read(
|
||||
|
||||
Reference in New Issue
Block a user