NXDirAttrNks_t

Contains generic attribute information about a directory or file and is used when the level of information is set to NX_DELEVEL_EXTENDED and the name space is NX_PNF_NKS.

Service:File and Directory

Structure

  #include <nks/dirio.h>
  
  typedef struct 
  {
     NXDeHeader_t   xdeHeader;
     NXFid_t        xdeFid;
     uint32_t       xdeEffectiveRights;
     NXOffset_t     xdeFileSize;
     uint64_t       xdeFlags;
     NXTime_t       xdeChangeTime;
     NXTime_t       xdeAccessTime;
     NXTime_t       xdeModifyTime;
     NXTime_t       xdeCreateTime;
     NXGuid_t       xdeOwnerId;
  } NXDirAttrNks_t;
  

Fields

xdeHeader

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

xdeFid

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.

xdeEffectiveRights

Specifies how the entry may be accessed. These are the caller's effective access rights on the object. For possible values in this bit mask, see Effective Rights Flags.

xdeFileSize

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

xdeFlags

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

xdeChangeTime

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

xdeAccessTime

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

xdeModifyTime

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

xdeCreateTime

Specifies in seconds since 1970 when the entry was created.

xdeOwnerId

Identifies the owner of the entry.