Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

PNUT_DIRENTRY Struct Reference
[Peanut File System]


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

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


Field Documentation

PNUT_BLKNUM PNUT_DIRENTRY::dir_node
 

Node block index of this entry.

This may point to a file or directory node.

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.


© 2000-2006 by egnite Software GmbH - visit http://www.ethernut.de/