#ifndef FS_FILE_H_ #define FS_FILE_H_ #include #include struct fs_file; struct fs_file_ops { ssize_t (*f_read)(struct fs_file *, void *, size_t); ssize_t (*f_write)(struct fs_file *, const void *, size_t); off_t (*f_seek)(struct fs_file *, off_t, int); }; #endif