#include <fs/tool/fs_image.h>
|
| FileSystemImage () |
|
int | mount (char *buf, unsigned size) |
|
int | umount () |
|
int | chdir (const char *path) |
|
int | readlink (const char *pathname, char *buf, unsigned bufsiz) |
|
int | open (const char *pathname, bool write) |
|
int | close (int fd) |
|
int | read (int fd, void *buf, unsigned count) |
|
int | write (int fd, const void *buf, unsigned count) |
|
int | link (const char *oldpath, const char *newpath) |
|
int | symlink (const char *target, const char *linkpath) |
|
int | unlink (const char *pathname) |
|
int | rename (const char *oldpath, const char *newpath) |
|
int | mkdir (const char *pathname) |
|
int | rmdir (const char *pathname) |
|
int | truncate (const char *path) |
|
FileSystemInterface::DirHandle * | opendir (const char *name) |
|
FileSystemInterface::DirEntry | readdir (FileSystemInterface::DirHandle *dirp) |
|
void | rewinddir (FileSystemInterface::DirHandle *dirp) |
|
int | closedir (FileSystemInterface::DirHandle *dirp) |
|
FileSystemInterface::FileStats | stat (const char *path, bool followSymlink=true) |
|
int | getcwd (char *buf, unsigned bufsiz) |
|
void | sync () |
|
| FileSystemInterface () |
|
virtual | ~FileSystemInterface () |
|
◆ FileSystemImage()
FileSystemImage::FileSystemImage |
( |
| ) |
|
|
inline |
◆ mount()
int FileSystemImage::mount |
( |
char * |
buf, |
|
|
unsigned |
size |
|
) |
| |
◆ umount()
int FileSystemImage::umount |
( |
| ) |
|
◆ chdir()
int FileSystemImage::chdir |
( |
const char * |
path | ) |
|
|
virtual |
◆ readlink()
int FileSystemImage::readlink |
( |
const char * |
pathname, |
|
|
char * |
buf, |
|
|
unsigned |
bufsiz |
|
) |
| |
|
virtual |
◆ open()
int FileSystemImage::open |
( |
const char * |
pathname, |
|
|
bool |
write |
|
) |
| |
|
virtual |
◆ close()
int FileSystemImage::close |
( |
int |
fd | ) |
|
|
virtual |
◆ read()
int FileSystemImage::read |
( |
int |
fd, |
|
|
void * |
buf, |
|
|
unsigned |
count |
|
) |
| |
|
virtual |
◆ write()
int FileSystemImage::write |
( |
int |
fd, |
|
|
const void * |
buf, |
|
|
unsigned |
count |
|
) |
| |
|
virtual |
◆ link()
int FileSystemImage::link |
( |
const char * |
oldpath, |
|
|
const char * |
newpath |
|
) |
| |
|
virtual |
◆ symlink()
int FileSystemImage::symlink |
( |
const char * |
target, |
|
|
const char * |
linkpath |
|
) |
| |
|
virtual |
◆ unlink()
int FileSystemImage::unlink |
( |
const char * |
pathname | ) |
|
|
virtual |
◆ rename()
int FileSystemImage::rename |
( |
const char * |
oldpath, |
|
|
const char * |
newpath |
|
) |
| |
|
virtual |
◆ mkdir()
int FileSystemImage::mkdir |
( |
const char * |
pathname | ) |
|
|
virtual |
◆ rmdir()
int FileSystemImage::rmdir |
( |
const char * |
pathname | ) |
|
|
virtual |
◆ truncate()
int FileSystemImage::truncate |
( |
const char * |
path | ) |
|
|
virtual |
◆ opendir()
◆ readdir()
◆ rewinddir()
◆ closedir()
◆ stat()
◆ getcwd()
int FileSystemImage::getcwd |
( |
char * |
buf, |
|
|
unsigned |
bufsiz |
|
) |
| |
|
virtual |
◆ sync()
void FileSystemImage::sync |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: