NXDirAttr_t

Contains meta data about the object and is used when the level of information is set to NX_DELEVEL_BASIC.

Service:File and Directory

Structure

  #include <nks/dirio.h>
  
  typedef struct 
  {
     NXDeHeader_t   deHeader;
     NXFid_t        deFid;
     uint32_t       deEffectiveRights
     NXOffset_t     deFileSize;
     uint64_t       deFlags;
     NXTime_t       deAttrChangeTime;
     NXTime_t       deAccessTime;
     NXTime_t       deModifyTime;
     size_t         deIoBlockSize;
  } NXDirAttr_t;
  

Fields

deHeader

Specifies an embedded structure of type NXDeHeader_t, which specifies the pathname format and the object's type.

deFid

Specifies a globally/locally-scoped unique identifier for the object that is named in this entry. You should not try to interpret the fields of this structure but you can use it to pass to other NKS interfaces. This field is not currently supported on NetWare file systems.

deEffectiveRights

Specifies how the entry may be accessed. These are the caller's effective access rights on the object. This is a bit mask. See Effective Rights Flags.

deFileSize

Identifies the length in bytes of the data contained in the file. This field is only valid for file objects.

deFlags

Specifies information about the entry such as whether it is compressed or encrypted. See File State Flags.

deAttrChangeTime

Specifies in seconds since 1970 when the entry attributes were last modified.

deAccessTime

Specifies in seconds since 1970 when the entry data and attributes were last accessed.

deModifyTime

Specifies in seconds since 1970 when the data contents of the entry were last modified.

deIoBlockSize

Specifies the block size.