lib: update copyrights
[babeltrace.git] / lib / graph / notification / discarded-packets.c
index 0425a34633d72e59dbda97725d19386f19ba4660..232164ac480dfb45a2a5e667525903017daaa36b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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_packets_get_begin_clock_value(
+struct bt_clock_value *
+bt_notification_discarded_packets_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_PACKETS, notification);
 }
 
-struct bt_ctf_clock_value *
-bt_notification_discarded_packets_get_end_clock_value(
+struct bt_clock_value *
+bt_notification_discarded_packets_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_PACKETS, notification);
 }
 
@@ -48,9 +48,9 @@ int64_t bt_notification_discarded_packets_get_count(
                BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
 }
 
-struct bt_ctf_stream *bt_notification_discarded_packets_get_stream(
+struct bt_stream *bt_notification_discarded_packets_borrow_stream(
                struct bt_notification *notification)
 {
-       return bt_notification_discarded_elements_get_stream(
+       return bt_notification_discarded_elements_borrow_stream(
                BT_NOTIFICATION_TYPE_DISCARDED_PACKETS, notification);
 }
This page took 0.0249239999999999 seconds and 4 git commands to generate.