2014-03-12 02:28:15 +01:00
|
|
|
#ifndef _FS_H_
|
2014-07-08 22:41:42 +02:00
|
|
|
#define _FS_H_
|
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;
|
|
|
|
|
2015-11-02 23:05:57 +01:00
|
|
|
const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
2015-11-27 10:29:37 +01:00
|
|
|
int fs_generator_generate(const struct fs_generator* gen, int tmpFileNo, long long partSize,
|
2017-02-06 23:39:31 +01:00
|
|
|
const std::string& initial_dir, unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0);
|
2014-03-12 02:28:15 +01:00
|
|
|
|
|
|
|
#endif
|