summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-23 00:40:15 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-23 00:40:15 +0200
commit566134df26612d34f2a377659c55fb0f1ae9dfa4 (patch)
treeac92db9a901065cb85399b100d913dce7f769a5b /fs
parent573a28a2ea7534a1e85d2e0a3aa3d06b1218e08c (diff)
reverted interrupts disabling to conservative. and starting fs layer
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