Holds information about a directory entry
#include <fsio.h> typedef struct nwdirent { uint32_t d_userspec; uint32_t d_flags; mode_t d_type; mode_t d_mode; ino_t d_ino; off64_t d_size; uint32_t d_spare[39]; timespec_t d_cdatetim; timespec_t d_adatetim; timespec_t d_bdatetim; timespec_t d_ddatetim; uid_t d_uid; uid_t d_archivedID; uid_t d_updatedID; uid_t d_deletedID; uint8_t d_pad1; uint8_t d_pad2; uint8_t d_pad3; uint8_t d_namelen; char d_name[NAME_MAX+1]; } NWDIR;
Provides a field for the caller; whatever the caller puts in this field is left untouched.
Currently unused.
Specifies the type of entry. See Directory Entry Types.
Specifies the file access mode. For a list of possible values, see File Access Modes and NetWare Attributes.
Specifies the directory entry number assigned to the entry specified by the d_name field.
Specifies the entry's size, in bytes; used for files only.
Specifies the creation date and time.
Specifies the date and time when the entry was last accessed.
Specifies the date and time when the entry was last archived.
Specifies the date and time when the entry was deleted.
Specifies the ID of the owner.
Specifies the ID of the object that last archived the entry.
Specifies the ID of the object that last modified the entry.
Specifies the ID of the object that deleted the entry.
Provides padding.
Provides padding.
Provides padding.
Specifies the length of the name in the d_name field.
Specifies the name of the entry.
The d_deletedID and d_ddatetim fields only return valid information in the scanerasedfiles function.
This structure contains NetWare extensions to the DIR structure.