Add test: no clock class in trace's packet header field type
[babeltrace.git] / include / babeltrace / ctf-ir / clock-value.h
index e7b91a9c631d5910f3d3bc607cec27d6f3caf604..c40c828449324f41aff138f44b6200e6ab963f12 100644 (file)
  */
 
 #include <stdint.h>
-#include <babeltrace/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_ctf_clock_class;
-struct bt_ctf_clock_value;
+struct bt_clock_class;
+struct bt_clock_value;
 
-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(
-               struct bt_ctf_clock_value *clock_value, int64_t *value_ns);
+extern struct bt_clock_value *bt_clock_value_create(
+               struct bt_clock_class *clock_class, uint64_t value);
+extern struct bt_clock_class *bt_clock_value_get_class(
+               struct bt_clock_value *clock_value);
+extern int bt_clock_value_get_value(
+               struct bt_clock_value *clock_value, uint64_t *raw_value);
+extern int bt_clock_value_get_value_ns_from_epoch(
+               struct bt_clock_value *clock_value, int64_t *value_ns);
 
 #ifdef __cplusplus
 }
This page took 0.026202 seconds and 4 git commands to generate.