From 566134df26612d34f2a377659c55fb0f1ae9dfa4 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sat, 23 May 2015 00:40:15 +0200 Subject: reverted interrupts disabling to conservative. and starting fs layer --- fs/file.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fs') 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 -- cgit v1.2.3