2018-04-10 23:22:13 +02:00
|
|
|
#pragma once
|
2014-03-12 02:28:15 +01:00
|
|
|
|
2015-11-27 10:29:37 +01:00
|
|
|
#include <string>
|
2014-03-12 02:28:15 +01:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
struct fs_generator;
|
|
|
|
|
2020-11-09 17:54:13 +01:00
|
|
|
enum FS_OPTION {
|
|
|
|
FS_OPT_CASEFOLD,
|
|
|
|
FS_OPT_PROJID,
|
|
|
|
FS_OPT_COMPRESS,
|
|
|
|
};
|
|
|
|
|
2015-11-02 23:05:57 +01:00
|
|
|
const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
2017-04-19 01:23:18 +02:00
|
|
|
int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
|
2022-07-21 06:43:20 +02:00
|
|
|
unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0,
|
|
|
|
unsigned fsOptions = 0);
|