You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
495 B

#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,
const std::string& initial_dir, unsigned eraseBlkSize = 0,
unsigned logicalBlkSize = 0, unsigned fsOptions = 0);