"value=%" PRIu64, event, value_cycles);
}
-enum bt_clock_snapshot_status bt_event_borrow_default_clock_snapshot_const(
+enum bt_clock_snapshot_state bt_event_borrow_default_clock_snapshot_const(
const struct bt_event *event,
const struct bt_clock_snapshot **clock_snapshot)
{
BT_ASSERT_PRE_NON_NULL(event, "Event");
BT_ASSERT_PRE_NON_NULL(clock_snapshot, "Clock snapshot (output)");
*clock_snapshot = event->default_cs;
- return BT_CLOCK_SNAPSHOT_STATUS_KNOWN;
+ return BT_CLOCK_SNAPSHOT_STATE_KNOWN;
}
struct bt_packet *bt_event_borrow_packet(struct bt_event *event)
return bt_event_borrow_packet((void *) event);
}
-int bt_event_move_header_field(struct bt_event *event,
+enum bt_event_status bt_event_move_header_field(struct bt_event *event,
struct bt_event_header_field *header_field)
{
struct bt_stream_class *stream_class;
/* Move new field */
event->header_field = field_wrapper;
- return 0;
+ return BT_EVENT_STATUS_OK;
}