X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcutil%2Fsilctimer_i.h;h=1ecfdcdf7dd57293724a0a6d080ea23f88e859d9;hb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;hp=3709f4f9d7ef890a45bd4ee1c2acb05306b85abc;hpb=96a77189cdc66b655a25cbfd707a1718d203158d;p=silc.git diff --git a/lib/silcutil/silctimer_i.h b/lib/silcutil/silctimer_i.h index 3709f4f9..1ecfdcdf 100644 --- a/lib/silcutil/silctimer_i.h +++ b/lib/silcutil/silctimer_i.h @@ -24,12 +24,15 @@ #error "Do not include this header directly" #endif +/* Timer context */ struct SilcTimerObject { SilcUInt64 start_sec; /* Start seconds */ 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 */