20#ifdef LFS2_FILEBD_YES_TRACE
21#define LFS2_FILEBD_TRACE(...) LFS2_TRACE(__VA_ARGS__)
23#define LFS2_FILEBD_TRACE(...)
42int lfs2_filebd_create(
const struct lfs2_config *cfg,
const char *path);
43int lfs2_filebd_createcfg(
const struct lfs2_config *cfg,
const char *path,
47int lfs2_filebd_destroy(
const struct lfs2_config *cfg);
50int lfs2_filebd_read(
const struct lfs2_config *cfg, lfs2_block_t block,
51 lfs2_off_t off,
void *buffer, lfs2_size_t size);
56int lfs2_filebd_prog(
const struct lfs2_config *cfg, lfs2_block_t block,
57 lfs2_off_t off,
const void *buffer, lfs2_size_t size);
63int lfs2_filebd_erase(
const struct lfs2_config *cfg, lfs2_block_t block);