diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-09 22:26:25 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-09 22:26:25 +0100 |
commit | de27176a8164bd037b4669d1c2b8cc24a747e633 (patch) | |
tree | 56b30a6025b73edd7eb12004f1ae65f6731a035f /src/kernel/include/nullfs.h | |
parent | a1ebf864cc9f10f821413921f4aa5c75dcbe6f55 (diff) | |
download | kogata-de27176a8164bd037b4669d1c2b8cc24a747e633.tar.gz kogata-de27176a8164bd037b4669d1c2b8cc24a747e633.zip |
Add stating on open files
Diffstat (limited to 'src/kernel/include/nullfs.h')
-rw-r--r-- | src/kernel/include/nullfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/include/nullfs.h b/src/kernel/include/nullfs.h index cfca023..265d41b 100644 --- a/src/kernel/include/nullfs.h +++ b/src/kernel/include/nullfs.h @@ -11,6 +11,7 @@ typedef struct { void* (*open)(void* f, int mode, fs_handle_t *h); size_t (*read)(void* f, size_t offset, size_t len, char* buf); size_t (*write)(void* f, size_t offset, size_t len, const char* buf); + bool (*stat)(void* f, stat_t *st); void (*close)(void* f); void (*dispose)(void* f); } nullfs_node_ops_t; |