summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/file.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/file.h b/fs/file.h
index 1f214a9..5455925 100644
--- a/fs/file.h
+++ b/fs/file.h
@@ -6,11 +6,13 @@
typedef struct
{
+ void(* tell)();
void(* seek)(int offset, int whence);
+
void(* read)(char *buf, int len);
void(* wrtie)(char *buf, int len);
+
void(* close)();
- void(* tell)();
int(* stat)(struct stat *buf);
void *data; //opaque