X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgraph%2Fnotification%2Fdiscarded-events.c;h=e1dcbfa528a375442823dccc3f444ee1dad3d2fd;hb=c8db321922f3730c70628a5e452baf8a046e70fd;hp=247946789f42cc22f21bab445c0d1d5da414dee7;hpb=50842bdc4c21f3de2b63e29cdac730af8b6dcca6;p=babeltrace.git diff --git a/lib/graph/notification/discarded-events.c b/lib/graph/notification/discarded-events.c index 24794678..e1dcbfa5 100644 --- a/lib/graph/notification/discarded-events.c +++ b/lib/graph/notification/discarded-events.c @@ -1,5 +1,5 @@ /* - * Copyright 2017 Philippe Proulx + * Copyright 2017-2018 Philippe Proulx * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -26,18 +26,18 @@ #include 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); }