picox
0.1
|
マクロ定義 | |
#define | SPIFFS_FH_OFFS(fs, fh) (fh) |
#define | SPIFFS_FH_UNOFFS(fs, fh) (fh) |
#define | X__ASSERT_TAG(p) (X_ASSERT_TAG(((const XSpiFFs*)p)->m_tag == X_SPIFFS_TAG)) |
#define | X__GET_DIR_HANDLE(dir) (&(((X__Dir*)dir)->m_dirhandle)) |
#define | X__GET_ERR() X__ToXError(SPIFFS_errno(fs->m_spiffs)) |
#define | X__GET_FILE_HANDLE(fp) ((((X__File*)fp)->m_filehandle)) |
#define | X__VPOS_INVALID (0xFFFFFFFF) |
型定義 | |
typedef spiffs_DIR * | X__DirHandle |
typedef spiffs_file | X__FileHandle |
関数 | |
static XError | X__ToXError (int32_t spiffserrno) |
XError | xspiffs_close (XFile *fp) |
XError | xspiffs_closedir (XDir *dir) |
void | xspiffs_deinit (XSpiFFs *fs) |
ファイルシステムの終了処理を行います [詳解] | |
XError | xspiffs_flush (XFile *fp) |
XError | xspiffs_getcwd (XSpiFFs *fs, char *buf, size_t size) |
void | xspiffs_init (XSpiFFs *fs, spiffs *src) |
ファイルシステムを初期化します [詳解] | |
XStream * | xspiffs_init_stream (XStream *stream, XFile *fp) |
void | xspiffs_init_vfs (XSpiFFs *fs, XVirtualFs *vfs) |
仮想ファイルシステムを初期化します [詳解] | |
XError | xspiffs_open (XSpiFFs *fs, const char *path, XOpenMode mode, XFile **o_fp) |
XError | xspiffs_opendir (XSpiFFs *fs, const char *path, XDir **o_dir) |
XError | xspiffs_read (XFile *fp, void *dst, size_t size, size_t *nread) |
XError | xspiffs_readdir (XDir *dir, XDirEnt *dirent, XDirEnt **result) |
XError | xspiffs_remove (XSpiFFs *fs, const char *path) |
XError | xspiffs_rename (XSpiFFs *fs, const char *oldpath, const char *newpath) |
XError | xspiffs_seek (XFile *fp, XOffset pos, XSeekMode whence) |
XError | xspiffs_stat (XSpiFFs *fs, const char *path, XStat *statbuf) |
XError | xspiffs_tell (XFile *fp, XSize *pos) |
XError | xspiffs_write (XFile *fp, const void *src, size_t size, size_t *nwritten) |
変数 | |
static const uint8_t | X__FFARRAY [128] |
|
static |