X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-packet.h;h=b56e9e7a112f97214f64203ec0107865cd057b0a;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=99749e48a84f9d6ca7429a72922ef1c82a3d7006;hpb=1ca80abd6ac25e66d876a358ceee03910e7c0173;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-packet.h b/include/babeltrace/graph/notification-packet.h index 99749e48..b56e9e7a 100644 --- a/include/babeltrace/graph/notification-packet.h +++ b/include/babeltrace/graph/notification-packet.h @@ -2,8 +2,6 @@ #define BABELTRACE_GRAPH_NOTIFICATION_PACKET_H /* - * BabelTrace - Plug-in Packet-related Notifications - * * Copyright 2016 Jérémie Galarneau * * Author: Jérémie Galarneau @@ -27,26 +25,28 @@ * SOFTWARE. */ -#include - #ifdef __cplusplus extern "C" { #endif -struct bt_ctf_packet; +struct bt_notification; +struct bt_self_notification_iterator; +struct bt_packet; -extern struct bt_notification *bt_notification_packet_begin_create( - struct bt_ctf_packet *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_ctf_packet *packet); +extern +struct bt_notification *bt_notification_packet_end_create( + struct bt_self_notification_iterator *notification_iterator, + struct bt_packet *packet); -/*** BT_NOTIFICATION_TYPE_PACKET_BEGIN ***/ -extern struct bt_ctf_packet *bt_notification_packet_begin_get_packet( +extern struct bt_packet *bt_notification_packet_begin_borrow_packet( struct bt_notification *notification); -/*** BT_NOTIFICATION_TYPE_PACKET_END ***/ -extern struct bt_ctf_packet *bt_notification_packet_end_get_packet( +extern struct bt_packet *bt_notification_packet_end_borrow_packet( struct bt_notification *notification); #ifdef __cplusplus