Split CTF IR and CTF writer APIs and implementations
[babeltrace.git] / include / babeltrace / ctf-writer / clock-internal.h
index 031cf8dedcad79d7cb6031b6d70dff199566ea46..5c59e29a5bda3ed1b4f4cde723fa9d3581cb2c62 100644 (file)
 #include <glib.h>
 #include <babeltrace/compat/uuid-internal.h>
 
+struct bt_ctf_clock_class {
+       struct bt_clock_class common;
+};
+
 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.023034 seconds and 4 git commands to generate.