Embedded TCP/IP stack
4.1.0
|
fnet_fs.h
273 fnet_return_t fnet_fs_mount( fnet_char_t *fs_name, const fnet_char_t *mount_name, const void *arg );
478 fnet_fs_file_t fnet_fs_fopen_re(const fnet_char_t *filename, const fnet_char_t *mode, fnet_fs_dir_t dir);
614 fnet_return_t fnet_fs_fseek (fnet_fs_file_t file, fnet_int32_t offset, fnet_fs_seek_origin_t origin);
fnet_fs_file_t fnet_fs_fopen(const fnet_char_t *filename, const fnet_char_t *mode)
Opens a file descriptor.
This structure is used by the fnet_fs_finfo() and the fnet_fs_readdir() function to get information a...
Definition: fnet_fs.h:195
fnet_size_t d_size
Size of the file entry. If the entry is a directory this field is set to 0.
Definition: fnet_fs.h:202
fnet_return_t fnet_fs_finfo(fnet_fs_file_t file, struct fnet_fs_dirent *dirent)
Gets a file information.
void * fnet_fs_dir_t
Directory descriptor. This is the abstract key for accessing a directory.
Definition: fnet_fs.h:143
fnet_return_t fnet_fs_mount(fnet_char_t *fs_name, const fnet_char_t *mount_name, const void *arg)
Mounts a file system.
unsigned long fnet_size_t
Unsigned integer type representing the size in bytes.
Definition: fnet_stdlib.h:56
fnet_return_t fnet_fs_fseek(fnet_fs_file_t file, fnet_int32_t offset, fnet_fs_seek_origin_t origin)
Changes the file-position indicator for the specified file.
fnet_size_t fnet_fs_fread(void *buf, fnet_size_t size, fnet_fs_file_t file)
Reads data from a file.
fnet_return_t fnet_fs_readdir(fnet_fs_dir_t dir, struct fnet_fs_dirent *dirent)
Reads a directory entry.
fnet_fs_file_t fnet_fs_fopen_re(const fnet_char_t *filename, const fnet_char_t *mode, fnet_fs_dir_t dir)
Opens a file relatively in an opened directory.
fnet_fs_dir_t fnet_fs_opendir(const fnet_char_t *dirname)
Opens a directory descriptor.
void * fnet_fs_file_t
File descriptor. This is the abstract key for accessing a file.
Definition: fnet_fs.h:149
© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net