|
VSF Documented
|
#include <esp_vfs.h>
Data Fields | ||
| int | flags | |
| union { | ||
| ssize_t(* write )(int fd, const void *data, size_t size) | ||
| ssize_t(* write_p )(void *ctx, int fd, const void *data, size_t size) | ||
| }; | ||
| union { | ||
| off_t(* lseek )(int fd, off_t size, int mode) | ||
| off_t(* lseek_p )(void *ctx, int fd, off_t size, int mode) | ||
| }; | ||
| union { | ||
| ssize_t(* read )(int fd, void *dst, size_t size) | ||
| ssize_t(* read_p )(void *ctx, int fd, void *dst, size_t size) | ||
| }; | ||
| union { | ||
| int(* open )(const char *path, int flags, int mode) | ||
| int(* open_p )(void *ctx, const char *path, int flags, int mode) | ||
| }; | ||
| union { | ||
| int(* close )(int fd) | ||
| int(* close_p )(void *ctx, int fd) | ||
| }; | ||
| union { | ||
| int(* fstat )(int fd, struct stat *st) | ||
| int(* fstat_p )(void *ctx, int fd, struct stat *st) | ||
| }; | ||
| union { | ||
| int(* stat )(const char *path, struct stat *st) | ||
| int(* stat_p )(void *ctx, const char *path, struct stat *st) | ||
| }; | ||
| union { | ||
| int(* unlink )(const char *path) | ||
| int(* unlink_p )(void *ctx, const char *path) | ||
| }; | ||
| union { | ||
| int(* rename )(const char *src, const char *dst) | ||
| int(* rename_p )(void *ctx, const char *src, const char *dst) | ||
| }; | ||
| int esp_vfs_t::flags |
| union { ... } esp_vfs_t |
| union { ... } esp_vfs_t |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::open) (const char *path, int flags, int mode) |
| int(* esp_vfs_t::open_p) (void *ctx, const char *path, int flags, int mode) |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::close) (int fd) |
| int(* esp_vfs_t::close_p) (void *ctx, int fd) |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::fstat) (int fd, struct stat *st) |
| int(* esp_vfs_t::fstat_p) (void *ctx, int fd, struct stat *st) |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::stat) (const char *path, struct stat *st) |
| int(* esp_vfs_t::stat_p) (void *ctx, const char *path, struct stat *st) |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::unlink) (const char *path) |
| int(* esp_vfs_t::unlink_p) (void *ctx, const char *path) |
| union { ... } esp_vfs_t |
| int(* esp_vfs_t::rename) (const char *src, const char *dst) |
| int(* esp_vfs_t::rename_p) (void *ctx, const char *src, const char *dst) |
| union { ... } esp_vfs_t |