Plugins are alive!
[babeltrace.git] / include / babeltrace / plugin / notification / packet.h
index 1d4a5ce7a05a30557bc0b59031826113a04ea0e7..2a8281b55471a473e72bf640cc19bc678f3cb45c 100644 (file)
@@ -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 <jeremie.galarneau@efficios.com>
+ * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * SOFTWARE.
  */
 
+#include <babeltrace/plugin/notification/notification.h>
+
 #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
This page took 0.023952 seconds and 4 git commands to generate.