X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fnotification%2Fpacket.h;h=2a8281b55471a473e72bf640cc19bc678f3cb45c;hb=78586d8a10bfb11d34d187697ae15e9255c6ddf4;hp=1d4a5ce7a05a30557bc0b59031826113a04ea0e7;hpb=663618eed7aae79f22d8649f677bf13a3bb76771;p=babeltrace.git diff --git a/include/babeltrace/plugin/notification/packet.h b/include/babeltrace/plugin/notification/packet.h index 1d4a5ce7..2a8281b5 100644 --- a/include/babeltrace/plugin/notification/packet.h +++ b/include/babeltrace/plugin/notification/packet.h @@ -2,9 +2,9 @@ #define BABELTRACE_PLUGIN_NOTIFICATION_PACKET_H /* - * BabelTrace - Plug-in Packet Notifications + * BabelTrace - Plug-in Packet-related Notifications * - * Copyright 2015 Jérémie Galarneau + * Copyright 2016 Jérémie Galarneau * * Author: Jérémie Galarneau * @@ -27,10 +27,24 @@ * SOFTWARE. */ +#include + #ifdef __cplusplus extern "C" { #endif +/*** BT_NOTIFICATION_TYPE_PACKET_START ***/ +struct bt_notification *bt_notification_packet_start_create( + struct bt_ctf_packet *packet); +struct bt_ctf_packet *bt_notification_packet_start_get_packet( + struct bt_notification *notification); + +/*** BT_NOTIFICATION_TYPE_PACKET_END ***/ +struct bt_notification *bt_notification_packet_end_create( + struct bt_ctf_packet *packet); +struct bt_ctf_packet *bt_notification_packet_end_get_packet( + struct bt_notification *notification); + #ifdef __cplusplus } #endif