blob: c6baa7f67480f08d3a2da01b0be4eabb3ed8a5ad [file] [log] [blame]
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -07001#ifndef _FS_H_
Markus Mayerc335a352014-07-08 13:41:42 -07002#define _FS_H_
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -07003
Paul Crowley8f7f56e2015-11-27 09:29:37 +00004#include <string>
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -07005#include <stdint.h>
6
7struct fs_generator;
8
Elliott Hughes8ab9a322015-11-02 14:05:57 -08009const struct fs_generator* fs_get_generator(const std::string& fs_type);
Jin Qian4a335822017-04-18 16:23:18 -070010int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize,
Connor O'Brience16a8a2017-02-06 14:39:31 -080011 const std::string& initial_dir, unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0);
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -070012
Dmitry Grinberge6f3e9b2014-03-11 18:28:15 -070013#endif