X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Fsync%2Fdata_structures.h;h=627286cc77ac4656b23dda6f0012bdd5dc4f6041;hb=ab6edc6a1a55aefe52cfd9e610b5f21ee2029544;hp=c4b0ff1f23a1016a4d759685517738694b90f776;hpb=b2da0724a95cdb911c07640268b65bd9c5b92010;p=lttv.git diff --git a/lttv/lttv/sync/data_structures.h b/lttv/lttv/sync/data_structures.h index c4b0ff1f..627286cc 100644 --- a/lttv/lttv/sync/data_structures.h +++ b/lttv/lttv/sync/data_structures.h @@ -162,8 +162,8 @@ typedef enum * even no communication at all). approx and accuracy are NULL. */ - SCREWED, - /* The algorithms are screwed. All fields may be NULL. + FAIL, + /* The algorithms are defective. All fields may be NULL. */ APPROX_NB, // This must be the last member @@ -185,6 +185,14 @@ typedef struct } AllFactors; +// This structure is used to return a corrected time value with accuracy +// bounds +typedef struct +{ + uint64_t time, min, max; +} CorrectedTime; + + // ConnectionKey-related functions guint ghfConnectionKeyHash(gconstpointer key);