TimeStamp_T

Contains the information for the functions that manipulate eDirectory time stamps.

Service:NDS
Defined In:nwdsattr.h and nwdsattr.inc

Structure

C

  typedef struct 
  { 
     nuint32   wholeSeconds ; 
     nuint16   replicaNum ; 
     nuint16   eventID ; 
  } TimeStamp_T;
  

Pascal

  TimeStamp_T = Record 
        wholeSeconds : nuint32; 
        replicaNum : nuint16; 
        eventID : nuint16 
  End;
  

Fields

wholeSeconds

Specifies the whole number of seconds, where zero equals 12:00, midnight, January 1, 1970, UTC.

replicaNum

Specifies the number of the replica on which the event occurred.

eventID

Specifies an integer further ordering events occurring within the same whole-second interval.

Remarks

Two time stamps values are compared by using wholeSeconds first and eventID second. If wholeSeconds are unequal, the order is determined by wholeSeconds alone. If wholeSeconds are equal and eventID are unequal, the order is determined by eventID. If wholeSeconds and eventID are both equal, the time stamps are equal.

When filling out TimeStamp_T, set eventID to zero, replicaNum to zero, and wholeSeconds to the appropriate value.

This structure is used by the following functions: NWDSExtSyncList, NWDSExtSyncRead, NWDSExtSyncSearch, and NWDSGetAttrValModTime.