/*
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include <babeltrace/graph/notification-discarded-elements-internal.h>
#include <stdint.h>
-struct bt_ctf_clock_value *
-bt_notification_discarded_events_get_begin_clock_value(
+struct bt_clock_value *
+bt_notification_discarded_events_borrow_begin_clock_value(
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_get_begin_clock_value(
+ return bt_notification_discarded_elements_borrow_begin_clock_value(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
-struct bt_ctf_clock_value *
-bt_notification_discarded_events_get_end_clock_value(
+struct bt_clock_value *
+bt_notification_discarded_events_borrow_end_clock_value(
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_get_end_clock_value(
+ return bt_notification_discarded_elements_borrow_end_clock_value(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}
-struct bt_ctf_stream *bt_notification_discarded_events_get_stream(
+struct bt_stream *bt_notification_discarded_events_borrow_stream(
struct bt_notification *notification)
{
- return bt_notification_discarded_elements_get_stream(
+ return bt_notification_discarded_elements_borrow_stream(
BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
}