#ifndef INC_USECFS #define INC_USECFS #define MAX_FILENAME 256 #define MAX_OPEN_FILES 16 #define UUID_LEN 64 #include int usecfs_init(const char *password, int format, uint8_t *uuid); int usecfs_format(const uint8_t *uuid); int usecfs_mount(uint8_t *uuid); int usecfs_open(const char *name); int usecfs_creat(const char *name); int usecfs_read(int fd, void *data, uint32_t len); int usecfs_write(int fd, const void *data, uint32_t len); int usecfs_seek(int fd, int offset, int whence); int usecfs_truncate(int fd, uint32_t newsize); int usecfs_unlink(const char *filename); int usecfs_close(int fd); #endif