VSF Documented
Data Fields
esp_vfs_t Struct Reference

#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) 
 
};  
 

Field Documentation

◆ flags

int esp_vfs_t::flags

◆ write

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

◆ write_p

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

◆ [union]

union { ... } esp_vfs_t

◆ lseek

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

◆ lseek_p

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

◆ [union]

union { ... } esp_vfs_t

◆ read

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

◆ read_p

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

◆ [union]

union { ... } esp_vfs_t

◆ open

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

◆ open_p

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

◆ [union]

union { ... } esp_vfs_t

◆ close

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

◆ close_p

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

◆ [union]

union { ... } esp_vfs_t

◆ fstat

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

◆ fstat_p

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

◆ [union]

union { ... } esp_vfs_t

◆ stat

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

◆ stat_p

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

◆ [union]

union { ... } esp_vfs_t

◆ unlink

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

◆ unlink_p

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

◆ [union]

union { ... } esp_vfs_t

◆ rename

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

◆ rename_p

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

◆ [union]

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