lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / trace-ir / clock-value-const.h
index f2ef6ff5ffb7871b8bc6c1d96ef50cc1ab15eb79..53ed627b59385f8d2c93421277d6f5c0e7ced07f 100644 (file)
 
 #include <stdint.h>
 
+/* For bt_clock_class, bt_clock_value */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_clock_class;
-struct bt_clock_value;
-
 enum bt_clock_value_status {
        BT_CLOCK_VALUE_STATUS_KNOWN,
        BT_CLOCK_VALUE_STATUS_UNKNOWN,
 };
 
-extern const struct bt_clock_class *bt_clock_value_borrow_clock_class_const(
-               const struct bt_clock_value *clock_value);
+extern const bt_clock_class *bt_clock_value_borrow_clock_class_const(
+               const bt_clock_value *clock_value);
 
 extern uint64_t bt_clock_value_get_value(
-               const struct bt_clock_value *clock_value);
+               const bt_clock_value *clock_value);
 
 extern int bt_clock_value_get_ns_from_origin(
-               const struct bt_clock_value *clock_value,
+               const bt_clock_value *clock_value,
                int64_t *ns_from_origin);
 
 #ifdef __cplusplus
This page took 0.025745 seconds and 4 git commands to generate.