ir: add bt_ctf_event_get_clock_value()
[babeltrace.git] / include / babeltrace / ctf-ir / event.h
index f2e809e98fbc9ad5f49cd8f778d817b90339542c..840627eaa1745ae02710e43fc6710ddd505b47e1 100644 (file)
@@ -242,22 +242,12 @@ extern struct bt_ctf_field *bt_ctf_event_get_stream_event_context(
 extern int bt_ctf_event_set_stream_event_context(struct bt_ctf_event *event,
                struct bt_ctf_field *context);
 
-/*
- * bt_ctf_event_copy: Deep-copy an event.
- *
- * Get an event's deep copy.
- *
- * On success, the returned copy has its reference count set to 1.
- *
- * @param event Event to copy.
- *
- * Returns the deep-copied event on success, NULL on error.
- */
-extern struct bt_ctf_event *bt_ctf_event_copy(struct bt_ctf_event *event);
-
 extern int bt_ctf_event_set_packet(struct bt_ctf_event *event,
                struct bt_ctf_packet *packet);
 
+extern uint64_t bt_ctf_event_get_clock_value(struct bt_ctf_event *event,
+               struct bt_ctf_clock *clock);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.024665 seconds and 4 git commands to generate.