X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fclock-class-internal.h;h=2b4fdcf4b76de377003a045c064dbec70cb494e3;hb=c057dea051159b06050ab5d6b640dfb7e1654ba7;hp=c43f7712475e06eec0536e8d3e75e462889bd43a;hpb=ac0c6bddcdde51dcbb46fc73c61d4f2330774451;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/clock-class-internal.h b/include/babeltrace/ctf-ir/clock-class-internal.h index c43f7712..2b4fdcf4 100644 --- a/include/babeltrace/ctf-ir/clock-class-internal.h +++ b/include/babeltrace/ctf-ir/clock-class-internal.h @@ -31,8 +31,11 @@ #include #include #include +#include +#include +#include +#include #include -#include struct bt_ctf_clock_class { struct bt_object base; @@ -42,7 +45,7 @@ struct bt_ctf_clock_class { uint64_t precision; int64_t offset_s; /* Offset in seconds */ int64_t offset; /* Offset in ticks */ - uuid_t uuid; + unsigned char uuid[BABELTRACE_UUID_LEN]; int uuid_set; int absolute; @@ -53,12 +56,6 @@ struct bt_ctf_clock_class { int frozen; }; -struct bt_ctf_clock_value { - struct bt_object base; - struct bt_ctf_clock_class *clock_class; - uint64_t value; -}; - BT_HIDDEN void bt_ctf_clock_class_freeze(struct bt_ctf_clock_class *clock_class); @@ -67,6 +64,6 @@ void bt_ctf_clock_class_serialize(struct bt_ctf_clock_class *clock_class, struct metadata_context *context); BT_HIDDEN -bool bt_ctf_clock_class_is_valid(struct bt_ctf_clock_class *clock_class); +bt_bool bt_ctf_clock_class_is_valid(struct bt_ctf_clock_class *clock_class); #endif /* BABELTRACE_CTF_IR_CLOCK_CLASS_INTERNAL_H */