#pragma once struct flash_dev; struct mufs_tree { uint32_t file_size; uint32_t root; uint8_t depth; }; struct mufs { struct mufs_tree root; struct flash_dev *dev; uint32_t nblocks; uint8_t log2_nentries; }; int mufs_mount(struct mufs *fs, struct flash_dev *dev); int mufs_format(struct flash_dev *dev);