VSF Documented
Data Fields
esp_vfs_t Struct Reference

#include <esp_vfs.h>

Data Fields

int flags
 
union { 
 
   ssize_t(*   write_p )(void *ctx, int fd, const
      void *data, size_t size
 
   ssize_t(*   write )(int fd, const void *data,
       size_t size
 
};  
 
union { 
 
   off_t(*   lseek_p )(void *ctx, int fd, off_t
      size, int mode) 
 
   off_t(*   lseek )(int fd, off_t size, int mode) 
 
};  
 
union { 
 
   ssize_t(*   read_p )(void *ctx, int fd, void *dst,
       size_t size
 
   ssize_t(*   read )(int fd, void *dst, size_t size
 
};  
 
union { 
 
   ssize_t(*   pread_p )(void *ctx, int fd, void *dst,
       size_t size, off_t offset
 
   ssize_t(*   pread )(int fd, void *dst, size_t
      size, off_t offset
 
};  
 
union { 
 
   ssize_t(*   pwrite_p )(void *ctx, int fd, const
      void *src, size_t size, off_t
      offset
 
   ssize_t(*   pwrite )(int fd, const void *src,
       size_t size, off_t offset
 
};  
 
union { 
 
   int(*   open_p )(void *ctx, const char *path,
       int flags, int mode) 
 
   int(*   open )(const char *path, int flags,
       int mode) 
 
};  
 
union { 
 
   int(*   close_p )(void *ctx, int fd) 
 
   int(*   close )(int fd) 
 
};  
 
union { 
 
   int(*   fstat_p )(void *ctx, int fd, struct
      stat *st) 
 
   int(*   fstat )(int fd, struct stat *st) 
 
};  
 
union { 
 
   int(*   stat_p )(void *ctx, const char *path,
       struct stat *st) 
 
   int(*   stat )(const char *path, struct
      stat *st) 
 
};  
 
union { 
 
   int(*   link_p )(void *ctx, const char *n1,
       const char *n2) 
 
   int(*   link )(const char *n1, const char *n2) 
 
};  
 
union { 
 
   int(*   unlink_p )(void *ctx, const char *path) 
 
   int(*   unlink )(const char *path) 
 
};  
 
union { 
 
   int(*   rename_p )(void *ctx, const char *src,
       const char *dst) 
 
   int(*   rename )(const char *src, const char *dst) 
 
};  
 
union { 
 
   DIR *(*   opendir_p )(void *ctx, const char *name) 
 
   DIR *(*   opendir )(const char *name) 
 
};  
 
union { 
 
   struct dirent *(*   readdir_p )(void *ctx, DIR *pdir) 
 
   struct dirent *(*   readdir )(DIR *pdir) 
 
};  
 
union { 
 
   int(*   readdir_r_p )(void *ctx, DIR *pdir, struct
      dirent *entry, struct dirent
      **out) 
 
   int(*   readdir_r )(DIR *pdir, struct dirent
      *entry, struct dirent **out) 
 
};  
 
union { 
 
   long(*   telldir_p )(void *ctx, DIR *pdir) 
 
   long(*   telldir )(DIR *pdir) 
 
};  
 
union { 
 
   void(*   seekdir_p )(void *ctx, DIR *pdir, long
      offset
 
   void(*   seekdir )(DIR *pdir, long offset
 
};  
 
union { 
 
   int(*   closedir_p )(void *ctx, DIR *pdir) 
 
   int(*   closedir )(DIR *pdir) 
 
};  
 
union { 
 
   int(*   mkdir_p )(void *ctx, const char *name,
       mode_t mode) 
 
   int(*   mkdir )(const char *name, mode_t mode) 
 
};  
 
union { 
 
   int(*   rmdir_p )(void *ctx, const char *name) 
 
   int(*   rmdir )(const char *name) 
 
};  
 
union { 
 
   int(*   fcntl_p )(void *ctx, int fd, int cmd,
       int arg) 
 
   int(*   fcntl )(int fd, int cmd, int arg) 
 
};  
 
union { 
 
   int(*   ioctl_p )(void *ctx, int fd, int cmd,
       va_list args) 
 
   int(*   ioctl )(int fd, int cmd, va_list args) 
 
};  
 
union { 
 
   int(*   fsync_p )(void *ctx, int fd) 
 
   int(*   fsync )(int fd) 
 
};  
 
union { 
 
   int(*   access_p )(void *ctx, const char *path,
       int amode) 
 
   int(*   access )(const char *path, int amode) 
 
};  
 
union { 
 
   int(*   truncate_p )(void *ctx, const char *path,
       off_t length
 
   int(*   truncate )(const char *path, off_t length
 
};  
 
union { 
 
   int(*   ftruncate_p )(void *ctx, int fd, off_t length
 
   int(*   ftruncate )(int fd, off_t length
 
};  
 
union { 
 
   int(*   utime_p )(void *ctx, const char *path,
       const struct utimbuf *times
 
   int(*   utime )(const char *path, const
      struct utimbuf *times
 
};  
 

Field Documentation

◆ flags

int esp_vfs_t::flags

◆ write_p

ssize_t(* esp_vfs_t::write_p) (void *ctx, int fd, const void *data, size_t size)

◆ write

ssize_t(* esp_vfs_t::write) (int fd, const void *data, size_t size)

◆ [union]

union { ... } esp_vfs_t

◆ lseek_p

off_t(* esp_vfs_t::lseek_p) (void *ctx, int fd, off_t size, int mode)

◆ lseek

off_t(* esp_vfs_t::lseek) (int fd, off_t size, int mode)

◆ [union]

union { ... } esp_vfs_t

◆ read_p

ssize_t(* esp_vfs_t::read_p) (void *ctx, int fd, void *dst, size_t size)

◆ read

ssize_t(* esp_vfs_t::read) (int fd, void *dst, size_t size)

◆ [union]

union { ... } esp_vfs_t

◆ pread_p

ssize_t(* esp_vfs_t::pread_p) (void *ctx, int fd, void *dst, size_t size, off_t offset)

◆ pread

ssize_t(* esp_vfs_t::pread) (int fd, void *dst, size_t size, off_t offset)

◆ [union]

union { ... } esp_vfs_t

◆ pwrite_p

ssize_t(* esp_vfs_t::pwrite_p) (void *ctx, int fd, const void *src, size_t size, off_t offset)

◆ pwrite

ssize_t(* esp_vfs_t::pwrite) (int fd, const void *src, size_t size, off_t offset)

◆ [union]

union { ... } esp_vfs_t

◆ open_p

int(* esp_vfs_t::open_p) (void *ctx, const char *path, int flags, int mode)

◆ open

int(* esp_vfs_t::open) (const char *path, int flags, int mode)

◆ [union]

union { ... } esp_vfs_t

◆ close_p

int(* esp_vfs_t::close_p) (void *ctx, int fd)

◆ close

int(* esp_vfs_t::close) (int fd)

◆ [union]

union { ... } esp_vfs_t

◆ fstat_p

int(* esp_vfs_t::fstat_p) (void *ctx, int fd, struct stat *st)

◆ fstat

int(* esp_vfs_t::fstat) (int fd, struct stat *st)

◆ [union]

union { ... } esp_vfs_t

◆ stat_p

int(* esp_vfs_t::stat_p) (void *ctx, const char *path, struct stat *st)

◆ stat

int(* esp_vfs_t::stat) (const char *path, struct stat *st)

◆ [union]

union { ... } esp_vfs_t

◆ link_p

int(* esp_vfs_t::link_p) (void *ctx, const char *n1, const char *n2)

◆ link

int(* esp_vfs_t::link) (const char *n1, const char *n2)

◆ [union]

union { ... } esp_vfs_t

◆ unlink_p

int(* esp_vfs_t::unlink_p) (void *ctx, const char *path)

◆ unlink

int(* esp_vfs_t::unlink) (const char *path)

◆ [union]

union { ... } esp_vfs_t

◆ rename_p

int(* esp_vfs_t::rename_p) (void *ctx, const char *src, const char *dst)

◆ rename

int(* esp_vfs_t::rename) (const char *src, const char *dst)

◆ [union]

union { ... } esp_vfs_t

◆ opendir_p

DIR *(* esp_vfs_t::opendir_p) (void *ctx, const char *name)

◆ opendir

DIR *(* esp_vfs_t::opendir) (const char *name)

◆ [union]

union { ... } esp_vfs_t

◆ readdir_p

struct dirent *(* esp_vfs_t::readdir_p) (void *ctx, DIR *pdir)

◆ readdir

struct dirent *(* esp_vfs_t::readdir) (DIR *pdir)

◆ [union]

union { ... } esp_vfs_t

◆ readdir_r_p

int(* esp_vfs_t::readdir_r_p) (void *ctx, DIR *pdir, struct dirent *entry, struct dirent **out)

◆ readdir_r

int(* esp_vfs_t::readdir_r) (DIR *pdir, struct dirent *entry, struct dirent **out)

◆ [union]

union { ... } esp_vfs_t

◆ telldir_p

long(* esp_vfs_t::telldir_p) (void *ctx, DIR *pdir)

◆ telldir

long(* esp_vfs_t::telldir) (DIR *pdir)

◆ [union]

union { ... } esp_vfs_t

◆ seekdir_p

void(* esp_vfs_t::seekdir_p) (void *ctx, DIR *pdir, long offset)

◆ seekdir

void(* esp_vfs_t::seekdir) (DIR *pdir, long offset)

◆ [union]

union { ... } esp_vfs_t

◆ closedir_p

int(* esp_vfs_t::closedir_p) (void *ctx, DIR *pdir)

◆ closedir

int(* esp_vfs_t::closedir) (DIR *pdir)

◆ [union]

union { ... } esp_vfs_t

◆ mkdir_p

int(* esp_vfs_t::mkdir_p) (void *ctx, const char *name, mode_t mode)

◆ mkdir

int(* esp_vfs_t::mkdir) (const char *name, mode_t mode)

◆ [union]

union { ... } esp_vfs_t

◆ rmdir_p

int(* esp_vfs_t::rmdir_p) (void *ctx, const char *name)

◆ rmdir

int(* esp_vfs_t::rmdir) (const char *name)

◆ [union]

union { ... } esp_vfs_t

◆ fcntl_p

int(* esp_vfs_t::fcntl_p) (void *ctx, int fd, int cmd, int arg)

◆ fcntl

int(* esp_vfs_t::fcntl) (int fd, int cmd, int arg)

◆ [union]

union { ... } esp_vfs_t

◆ ioctl_p

int(* esp_vfs_t::ioctl_p) (void *ctx, int fd, int cmd, va_list args)

◆ ioctl

int(* esp_vfs_t::ioctl) (int fd, int cmd, va_list args)

◆ [union]

union { ... } esp_vfs_t

◆ fsync_p

int(* esp_vfs_t::fsync_p) (void *ctx, int fd)

◆ fsync

int(* esp_vfs_t::fsync) (int fd)

◆ [union]

union { ... } esp_vfs_t

◆ access_p

int(* esp_vfs_t::access_p) (void *ctx, const char *path, int amode)

◆ access

int(* esp_vfs_t::access) (const char *path, int amode)

◆ [union]

union { ... } esp_vfs_t

◆ truncate_p

int(* esp_vfs_t::truncate_p) (void *ctx, const char *path, off_t length)

◆ truncate

int(* esp_vfs_t::truncate) (const char *path, off_t length)

◆ [union]

union { ... } esp_vfs_t

◆ ftruncate_p

int(* esp_vfs_t::ftruncate_p) (void *ctx, int fd, off_t length)

◆ ftruncate

int(* esp_vfs_t::ftruncate) (int fd, off_t length)

◆ [union]

union { ... } esp_vfs_t

◆ utime_p

int(* esp_vfs_t::utime_p) (void *ctx, const char *path, const struct utimbuf *times)

◆ utime

int(* esp_vfs_t::utime) (const char *path, const struct utimbuf *times)

◆ [union]

union { ... } esp_vfs_t
Generated from commit: vsfteam/vsf@c3767bf