X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-packet.h;h=4380c64af0ebf7de5812f48c9fa117de05c6e8da;hp=356d2b4c127850f045786672e42901cb49a00355;hb=e5be10efe4d5543ba697c7e607ca0a5c33fa3ccb;hpb=70991d9facb103945ab2d25d1c0d6fa5d49136e4 diff --git a/include/babeltrace/graph/notification-packet.h b/include/babeltrace/graph/notification-packet.h index 356d2b4c..4380c64a 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,48 +25,19 @@ * SOFTWARE. */ -/* For bt_object_get_ref() */ -#include - #ifdef __cplusplus extern "C" { #endif struct bt_notification; -struct bt_private_connection_private_notification_iterator; struct bt_packet; -extern -struct bt_notification *bt_notification_packet_begin_create( - struct bt_private_connection_private_notification_iterator *notification_iterator, - struct bt_packet *packet); - -extern -struct bt_notification *bt_notification_packet_end_create( - struct bt_private_connection_private_notification_iterator *notification_iterator, - struct bt_packet *packet); - - extern struct bt_packet *bt_notification_packet_begin_borrow_packet( struct bt_notification *notification); -static inline -struct bt_packet *bt_notification_packet_begin_get_packet( - struct bt_notification *notification) -{ - return bt_object_get_ref(bt_notification_packet_begin_borrow_packet(notification)); -} - extern struct bt_packet *bt_notification_packet_end_borrow_packet( struct bt_notification *notification); -static inline -struct bt_packet *bt_notification_packet_end_get_packet( - struct bt_notification *notification) -{ - return bt_object_get_ref(bt_notification_packet_end_borrow_packet(notification)); -} - #ifdef __cplusplus } #endif