Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / include / babeltrace / ctf-ir / clock-class.h
index c2b9017397e854a32773e37e6130b1919e60ec23..3f461aa10765d54b424b03f156136091afb4bfbc 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include <stdint.h>
+#include <babeltrace/types.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -66,7 +67,7 @@ extern int bt_ctf_clock_class_get_offset_cycles(
                struct bt_ctf_clock_class *clock_class, int64_t *cycles);
 extern int bt_ctf_clock_class_set_offset_cycles(
                struct bt_ctf_clock_class *clock_class, int64_t cycles);
-extern int bt_ctf_clock_class_get_is_absolute(
+extern int bt_ctf_clock_class_is_absolute(
                struct bt_ctf_clock_class *clock_class);
 extern int bt_ctf_clock_class_set_is_absolute(
                struct bt_ctf_clock_class *clock_class, int is_absolute);
@@ -76,6 +77,8 @@ extern int bt_ctf_clock_class_set_uuid(struct bt_ctf_clock_class *clock_class,
                const unsigned char *uuid);
 extern struct bt_ctf_clock_value *bt_ctf_clock_value_create(
                struct bt_ctf_clock_class *clock_class, uint64_t value);
+extern struct bt_ctf_clock_class *bt_ctf_clock_value_get_class(
+               struct bt_ctf_clock_value *clock_value);
 extern int bt_ctf_clock_value_get_value(
                struct bt_ctf_clock_value *clock_value, uint64_t *raw_value);
 extern int bt_ctf_clock_value_get_value_ns_from_epoch(
This page took 0.023988 seconds and 4 git commands to generate.