Loading...
Searching...
No Matches
vfs_DIR Struct Reference

Internal representation of a file system directory entry. More...

Detailed Description

Internal representation of a file system directory entry.

Used by opendir, readdir, closedir

Attention
This structure should be treated as an opaque blob and must not be modified by user code. The contents should only be used by file system drivers.

Definition at line 416 of file vfs.h.

#include <vfs.h>

Data Fields

const vfs_dir_ops_td_op
 Directory operations table.
 
vfs_mount_tmp
 Pointer to mount table entry.
 
union { 
 
   void *   ptr 
 pointer to private data More...
 
   int   value 
 alternatively, you can use private_data as an int More...
 
   uint8_t   buffer [VFS_DIR_BUFFER_SIZE
 Buffer space, in case a single pointer is not enough. More...
 
private_data 
 File system driver private data, implementation defined.
 

Field Documentation

◆ buffer

uint8_t vfs_DIR::buffer[VFS_DIR_BUFFER_SIZE]

Buffer space, in case a single pointer is not enough.

Definition at line 422 of file vfs.h.

◆ d_op

const vfs_dir_ops_t* vfs_DIR::d_op

Directory operations table.

Definition at line 417 of file vfs.h.

◆ mp

vfs_mount_t* vfs_DIR::mp

Pointer to mount table entry.

Definition at line 418 of file vfs.h.

◆ ptr

void* vfs_DIR::ptr

pointer to private data

Definition at line 420 of file vfs.h.

◆ value

int vfs_DIR::value

alternatively, you can use private_data as an int

Definition at line 421 of file vfs.h.


The documentation for this struct was generated from the following file: