blob: 5ae473be53cc5dd0ee51c849664e364bb596e3d6 [file] [log] [blame]
#pragma once
#include <string>
#include <stdint.h>
struct fs_generator;
enum FS_OPTION {
FS_OPT_CASEFOLD,
FS_OPT_PROJID,
FS_OPT_COMPRESS,
};
const struct fs_generator* fs_get_generator(const std::string& fs_type);
int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0,
unsigned fsOptions = 0);