blob: 331100de1a5ccf726dad01375ef6d77c6c2ab97a [file] [log] [blame]
Elliott Hughes6ebec932018-04-10 14:22:13 -07001#pragma once
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -07002
Paul Crowley8f7f56e2015-11-27 09:29:37 +00003#include <string>
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -07004#include <stdint.h>
5
6struct fs_generator;
7
Elliott Hughes8ab9a322015-11-02 14:05:57 -08008const struct fs_generator* fs_get_generator(const std::string& fs_type);
Jin Qian4a335822017-04-18 16:23:18 -07009int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
Connor O'Brience16a8a2017-02-06 14:39:31 -080010 const std::string& initial_dir, unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0);