gadget-securevault/usecfs_dev.h
Daniele Lacamera c958c4becb Added USB-MSC
2019-11-04 15:38:49 +01:00

13 lines
285 B
C

#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