lib: make graph API const-correct
[babeltrace.git] / include / babeltrace / graph / notification-packet.h
index a6d6c7fa015470909e622c62aac5214833e2a815..b56e9e7a112f97214f64203ec0107865cd057b0a 100644 (file)
@@ -30,12 +30,23 @@ extern "C" {
 #endif
 
 struct bt_notification;
+struct bt_self_notification_iterator;
 struct bt_packet;
 
-extern const struct bt_packet *bt_notification_packet_begin_borrow_packet(
+extern
+struct bt_notification *bt_notification_packet_begin_create(
+               struct bt_self_notification_iterator *notification_iterator,
+               struct bt_packet *packet);
+
+extern
+struct bt_notification *bt_notification_packet_end_create(
+               struct bt_self_notification_iterator *notification_iterator,
+               struct bt_packet *packet);
+
+extern struct bt_packet *bt_notification_packet_begin_borrow_packet(
                struct bt_notification *notification);
 
-extern const struct bt_packet *bt_notification_packet_end_borrow_packet(
+extern struct bt_packet *bt_notification_packet_end_borrow_packet(
                struct bt_notification *notification);
 
 #ifdef __cplusplus
This page took 0.023239 seconds and 4 git commands to generate.