Added silc_timer_tick and silc_timer_synchronize.
[crypto.git] / lib / silcutil / silctimer_i.h
index 3709f4f9d7ef890a45bd4ee1c2acb05306b85abc..cefaac0413e99332dc635de04773ab05b1f14aa5 100644 (file)
@@ -29,7 +29,9 @@ struct SilcTimerObject {
   SilcUInt64 timer_sec;                /* Timer seconds */
   SilcUInt32 start_usec;       /* Start microseconds */
   SilcUInt32 timer_usec;       /* Timer microseconds */
-  unsigned int running  : 1;   /* Set when timer is running */
+  unsigned int running    : 1; /* Set when timer is running */
+  unsigned int sync_diff  : 15;        /* Synchronization delta */
+  unsigned int sync_tdiff : 16;        /* Synchronization tick delta */
 };
 
 #endif /* SILCTIMER_I_H */