16 lines
297 B
C
16 lines
297 B
C
#ifndef FS_FILE_H_
|
|
#define FS_FILE_H_
|
|
|
|
#include <mango/types.h>
|
|
#include <stddef.h>
|
|
|
|
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
|