zNW_metadata_s

Contains the extended file metadata.

Defined In:public/zXattr.h

Syntax

typedef struct zNW_metadata_s {
   WORD            nwm_byteorder;
   WORD            nwm_version;
   LONG            nwm_reserved_1;
   QUAD            nwm_modify_mask;
   QUAD            nwm_file_attributes;
   QUAD            nwm_file_attributes_mask;

   QUAD            nwm_time_created;
   QUAD            nwm_time_archived;
   QUAD            nwm_time_modified;
   QUAD            nwm_time_accessed;

   QUAD            nwm_time_meta_data_modified;
   QUAD            nwm_reserved_2;
   GUID_t          nwm_id_owner;

   GUID_t          nwm_id_archiver;
   GUID_t          nwm_id_modifier;

   GUID_t          nwm_id_metadata_modifier;
   SQUAD           nwm_quota_limit;
   LONG            nwm_inherited_rights_mask;
   LONG            nwm_trustee_num;

   zNW_trstuee_s   nwm_trustee[zMAX_TRUSTEES];
} zNW_metadata_s;

Fields

nwm_byteorder

Specifies the byte order of the structure.

nwm_version

Specifies the version of the structure.

nwm_reserved_1

Is reserved. Set to 0.

nwm_modify_mask

Specifies the attributes (and corresponding fields in this structure) to modify. For possible values, see Section 4.2, Modify Mask Values.

nwm_file_attributes

Specifies the NSS file attributes. For possible values, see Section 4.1, File Attribute Values.

nwm_file_attributes_mask

Specifies the NSS file attributes to modify.

nwm_time_created

Specifies the UTC time when the file was created.

nwm_time_archived

Specifies the UTC time when the file was last archived.

nwm_time_modified

Specifies the UTC time when the file was last modified.

nwm_time_accessed

Is no longer used. Currently, it is set to zero and nwm_modify_mask clears the zMOD_ACCESSED_TIME bit.

nwm_time_meta_data_modified

Specifies the UTC time when the file’s metadata was last modified.

nwm_reserved_2

Is reserved. Set to 0.

nwm_id_owner

Specifies the ID of the person who currently owns the file.

nwm_id_archiver

Specifies the ID of the person who last archived the file.

nwm_id_modifier

Specifies the ID of the person who last modified the file.

nwm_id_metadata_modifier

Specifies the ID of the person who last modified the file’s metadata.

nwm_quota_limit

Specifies the quota limit that is currently assigned to the file.

nwm_inherited_rights_mask

Specifies the inherited rights to return for the file.

nwm_trustee_num

Specifies the number of the file’s trustee.

nwm_trustee

Points to the zNW_trustee_s structure, which contains trustee rights and ID information.