lib: rename "begin" to "beginning" when used as a noun
[babeltrace.git] / include / babeltrace / graph / notification-packet-internal.h
index 8d525c55f673d6b3dbfdf163853d164c1a5354ae..95e6cb4092ba6d5a8fc379344e74bee4e2591c26 100644 (file)
@@ -1,9 +1,7 @@
-#ifndef BABELTRACE_COMPONENT_NOTIFICATION_PACKET_INTERNAL_H
-#define BABELTRACE_COMPONENT_NOTIFICATION_PACKET_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_NOTIFICATION_PACKET_INTERNAL_H
+#define BABELTRACE_GRAPH_NOTIFICATION_PACKET_INTERNAL_H
 
 /*
- * BabelTrace - Packet-related Notifications
- *
  * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
  * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-ir/packet.h>
+#include <babeltrace/compiler-internal.h>
+#include <babeltrace/trace-ir/packet.h>
 #include <babeltrace/graph/notification-internal.h>
+#include <babeltrace/assert-internal.h>
 
-struct bt_notification_packet_begin {
+struct bt_notification_packet_beginning {
        struct bt_notification parent;
-       struct bt_ctf_packet *packet;
+       struct bt_packet *packet;
 };
 
 struct bt_notification_packet_end {
        struct bt_notification parent;
-       struct bt_ctf_packet *packet;
+       struct bt_packet *packet;
 };
 
-#endif /* BABELTRACE_COMPONENT_NOTIFICATION_PACKET_INTERNAL_H */
+BT_HIDDEN
+struct bt_notification *bt_notification_packet_beginning_new(
+               struct bt_graph *graph);
+BT_HIDDEN
+void bt_notification_packet_beginning_recycle(struct bt_notification *notif);
+
+BT_HIDDEN
+void bt_notification_packet_beginning_destroy(struct bt_notification *notif);
+
+BT_HIDDEN
+struct bt_notification *bt_notification_packet_end_new(struct bt_graph *graph);
+
+BT_HIDDEN
+void bt_notification_packet_end_recycle(struct bt_notification *notif);
+
+BT_HIDDEN
+void bt_notification_packet_end_destroy(struct bt_notification *notif);
+
+#endif /* BABELTRACE_GRAPH_NOTIFICATION_PACKET_INTERNAL_H */
This page took 0.025617 seconds and 4 git commands to generate.