feat: simple device abstraction layer
[lunaix-os.git] / lunaix-os / includes / lunaix / fs / twifs.h
index 8df3ddcf61ef031f09aae295e5aed1b10e68553a..bd9dfeb63032dd4885397e28b239737df88c02a8 100644 (file)
@@ -7,6 +7,7 @@ struct twifs_node
 {
     struct v_inode* inode;
     struct hstr name;
+    void* data;
     uint32_t itype;
     struct llist_header children;
     struct llist_header siblings;
@@ -25,4 +26,7 @@ twifs_dir_node(struct twifs_node* parent, const char* name, int name_len);
 struct twifs_node*
 twifs_toplevel_node(const char* name, int name_len);
 
+void
+twifs_rm_node(struct twifs_node* node);
+
 #endif /* __LUNAIX_TWIFS_H */