PNUT_DIRENTRY Struct Reference
[XgPNut]


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.


Data Fields

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


Field Documentation

u_char PNUT_DIRENTRY::dir_inuse

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.

PNUT_BLKNUM PNUT_DIRENTRY::dir_node

Node block index of this entry.

This may point to a file or directory node.


Generated on Tue Jan 23 21:12:31 2007 for BTnut System Software by doxygen 1.4.7