* http://www.efficios.com/ctf
*/
-/* For enum bt_clock_value_status */
-#include <babeltrace/trace-ir/clock-value.h>
-
#ifdef __cplusplus
extern "C" {
#endif
struct bt_event;
-struct bt_clock_value;
+struct bt_event_header_field;
struct bt_event_class;
struct bt_field;
struct bt_packet;
extern struct bt_field *bt_event_borrow_header_field(struct bt_event *event);
-extern struct bt_field *bt_event_borrow_common_context_field(
- struct bt_event *event);
+extern int bt_event_move_header_field(struct bt_event *event,
+ struct bt_event_header_field *header);
+
+extern struct bt_field *
+bt_event_borrow_common_context_field(struct bt_event *event);
-extern struct bt_field *bt_event_borrow_specific_context_field(
- struct bt_event *event);
+extern struct bt_field *
+bt_event_borrow_specific_context_field(struct bt_event *event);
extern struct bt_field *bt_event_borrow_payload_field(struct bt_event *event);
-extern enum bt_clock_value_status bt_event_borrow_default_clock_value(
- struct bt_event *event, struct bt_clock_value **clock_value);
+extern void bt_event_set_default_clock_value(struct bt_event *event,
+ uint64_t value_cycles);
#ifdef __cplusplus
}