#ifndef UNS_VFS_H #define UNS_VFS_H #include enum vfs_entry_type { vfs_file = 1, vfs_dir = 2, }; typedef struct vfs_entry { char name[64]; struct vfs_entry *parent; enum vfs_entry_type type; uint16_t driver; // dir only struct vfs_entry *childs; struct vfs_entry *next; } vfs_entry_t; void vfs_init(void); // const vfs_entry_t *vfs_get_root(void); #endif // #ifndef UNS_VFS_H