*/
#include <stdint.h>
+#include <babeltrace/types.h>
#ifdef __cplusplus
extern "C" {
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 bt_bool 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);
+ struct bt_ctf_clock_class *clock_class, bt_bool is_absolute);
extern const unsigned char *bt_ctf_clock_class_get_uuid(
struct bt_ctf_clock_class *clock_class);
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(