gadget-securevault/usecfs_dev.h

14 lines
285 B
C
Raw Normal View History

2019-11-04 15:38:49 +01:00
#ifndef INC_USECFS_BLOCK
#define INC_USECFS_BLOCK
#ifndef BLOCK_SIZE
# define BLOCK_SIZE 4096
#endif
void *block_open(void *args);
int block_read(void *dev, void *_buf, uint32_t lba);
int block_write(void *dev, const void *_buf, uint32_t lba);
void block_close(void *dev);
#endif