Nut/OS  5.0.5
API Reference
PNUT_DIRENTRY Struct Reference

Directory entry structure. More...

Collaboration diagram for PNUT_DIRENTRY:
[legend]

Data Fields

PNUT_BLKNUM dir_node
 Node block index of this entry.
uint8_t dir_inuse
 Allocation flag.
char dir_name [PNUT_MAX_NAMELEN+1]
 Name of this entry.

Detailed Description

Directory entry structure.

Each directory node contains a list of data blocks. Each of these data blocks contains a number of directory entries. Each directory entry points to a node block, which may be a file node or a directory node.


Field Documentation

Node block index of this entry.

This may point to a file or directory node.

Allocation flag.

Set to one if this entry is in use.

char PNUT_DIRENTRY::dir_name[PNUT_MAX_NAMELEN+1]

Name of this entry.

Contains the name ot the file or directory.


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