lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / lib / graph / notification / discarded-events.c
index 247946789f42cc22f21bab445c0d1d5da414dee7..166ca8bdfaa3973ba6b37b4418bb856d8d349f9a 100644 (file)
 #include <stdint.h>
 
 struct bt_clock_value *
-bt_notification_discarded_events_get_begin_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_clock_value *
-bt_notification_discarded_events_get_end_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);
 }
 
@@ -48,9 +48,9 @@ int64_t bt_notification_discarded_events_get_count(
                BT_NOTIFICATION_TYPE_DISCARDED_EVENTS, notification);
 }
 
-struct bt_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);
 }
This page took 0.024564 seconds and 4 git commands to generate.