Dmitry Grinberg | e6f3e9b | 2014-03-11 18:28:15 -0700 | [diff] [blame] | 1 | #ifndef _FS_H_ |
Markus Mayer | c335a35 | 2014-07-08 13:41:42 -0700 | [diff] [blame] | 2 | #define _FS_H_ |
Dmitry Grinberg | e6f3e9b | 2014-03-11 18:28:15 -0700 | [diff] [blame] | 3 | |
Paul Crowley | 8f7f56e | 2015-11-27 09:29:37 +0000 | [diff] [blame] | 4 | #include <string> |
Dmitry Grinberg | e6f3e9b | 2014-03-11 18:28:15 -0700 | [diff] [blame] | 5 | #include <stdint.h> |
| 6 | |
| 7 | struct fs_generator; |
| 8 | |
Elliott Hughes | 8ab9a32 | 2015-11-02 14:05:57 -0800 | [diff] [blame] | 9 | const struct fs_generator* fs_get_generator(const std::string& fs_type); |
Jin Qian | 4a33582 | 2017-04-18 16:23:18 -0700 | [diff] [blame] | 10 | int fs_generator_generate(const struct fs_generator* gen, const char* fileName, long long partSize, |
Connor O'Brien | ce16a8a | 2017-02-06 14:39:31 -0800 | [diff] [blame] | 11 | const std::string& initial_dir, unsigned eraseBlkSize = 0, unsigned logicalBlkSize = 0); |
Dmitry Grinberg | e6f3e9b | 2014-03-11 18:28:15 -0700 | [diff] [blame] | 12 | |
Dmitry Grinberg | e6f3e9b | 2014-03-11 18:28:15 -0700 | [diff] [blame] | 13 | #endif |