lib: fully detach CTF IR and CTF writer implementations
[babeltrace.git] / include / babeltrace / ctf-writer / clock-internal.h
index 031cf8dedcad79d7cb6031b6d70dff199566ea46..0a3811d6c4d6ffdd026a94c71da93ed39a384dce 100644 (file)
@@ -26,8 +26,8 @@
  */
 
 #include <babeltrace/ctf-writer/clock.h>
-#include <babeltrace/ctf-ir/clock-class.h>
-#include <babeltrace/ctf-ir/trace-internal.h>
+#include <babeltrace/ctf-writer/clock-class-internal.h>
+#include <babeltrace/ctf-writer/trace-internal.h>
 #include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <glib.h>
 
 struct bt_ctf_clock {
        struct bt_object base;
-       struct bt_clock_class *clock_class;
+       struct bt_ctf_clock_class *clock_class;
        uint64_t value;         /* Current clock value */
 };
 
+struct metadata_context;
+
 BT_HIDDEN
 int bt_ctf_clock_get_value(struct bt_ctf_clock *clock, uint64_t *value);
 
+BT_HIDDEN
+void bt_ctf_clock_class_serialize(struct bt_ctf_clock_class *clock_class,
+               struct metadata_context *context);
+
 #endif /* BABELTRACE_CTF_WRITER_CLOCK_INTERNAL_H */
This page took 0.023511 seconds and 4 git commands to generate.