1 #pragma once 2 3 #include <string> 4 #include <stdint.h> 5 6 struct fs_generator; 7 8 enum FS_OPTION { 9 FS_OPT_CASEFOLD, 10 FS_OPT_PROJID, 11 FS_OPT_COMPRESS, 12 }; 13 14 const struct fs_generator* fs_get_generator(const std::string& fs_type); 15 int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize, 16 const std::string& initial_dir, unsigned eraseBlkSize = 0, 17 unsigned logicalBlkSize = 0, unsigned fsOptions = 0); 18