lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / include / babeltrace / ctf-ir / clock-class-internal.h
index 7f901e7e0070483f12201b918976dcc8fe12773b..cd4c6cb00f2ec80ad470cebc0ffa4052b0bee98a 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #include <babeltrace/ctf-ir/clock-class.h>
-#include <babeltrace/ctf-ir/trace-internal.h>
 #include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/compat/uuid-internal.h>
@@ -37,7 +36,7 @@
 #include <stdint.h>
 #include <glib.h>
 
-struct bt_ctf_clock_class {
+struct bt_clock_class {
        struct bt_object base;
        GString *name;
        GString *description;
@@ -56,22 +55,14 @@ 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;
-       bool ns_from_epoch_overflows;
-       int64_t ns_from_epoch;
-};
-
 BT_HIDDEN
-void bt_ctf_clock_class_freeze(struct bt_ctf_clock_class *clock_class);
+void bt_clock_class_freeze(struct bt_clock_class *clock_class);
 
 BT_HIDDEN
-void bt_ctf_clock_class_serialize(struct bt_ctf_clock_class *clock_class,
-               struct metadata_context *context);
+bt_bool bt_clock_class_is_valid(struct bt_clock_class *clock_class);
 
 BT_HIDDEN
-bt_bool bt_ctf_clock_class_is_valid(struct bt_ctf_clock_class *clock_class);
+int bt_clock_class_compare(struct bt_clock_class *clock_class_a,
+               struct bt_clock_class *clock_class_b);
 
 #endif /* BABELTRACE_CTF_IR_CLOCK_CLASS_INTERNAL_H */
This page took 0.024644 seconds and 4 git commands to generate.