Split clock value API from clock class API
[babeltrace.git] / include / babeltrace / ctf-ir / clock-class-internal.h
index c43f7712475e06eec0536e8d3e75e462889bd43a..2b4fdcf4b76de377003a045c064dbec70cb494e3 100644 (file)
 #include <babeltrace/ctf-ir/trace-internal.h>
 #include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/compat/uuid-internal.h>
+#include <babeltrace/types.h>
+#include <stdbool.h>
+#include <stdint.h>
 #include <glib.h>
-#include <babeltrace/compat/uuid.h>
 
 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 */
This page took 0.024335 seconds and 4 git commands to generate.