From 4a06bc7bcb9b88e4975fef6bb619ddc9b4f5bc80 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sat, 23 May 2015 01:36:12 +0200 Subject: working on mount/file --- fs/file.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'fs/file.h') diff --git a/fs/file.h b/fs/file.h index 5455925..f8445a2 100644 --- a/fs/file.h +++ b/fs/file.h @@ -5,14 +5,12 @@ typedef struct { + int(* seek)(int offset, int whence); - void(* tell)(); - void(* seek)(int offset, int whence); + int(* read)(char *buf, int len); + int(* wrtie)(char *buf, int len); - void(* read)(char *buf, int len); - void(* wrtie)(char *buf, int len); - - void(* close)(); + int(* close)(); int(* stat)(struct stat *buf); void *data; //opaque -- cgit v1.2.3