lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / graph / notification-packet.h
index 25bcb5e6e0cd2d60a566042f2d0e724c82570877..0b4cca976f3a9f44fac967df92883802d2b0a27d 100644 (file)
  * SOFTWARE.
  */
 
+/* For bt_notification, bt_self_notification_iterator, bt_packet */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_notification;
-struct bt_self_notification_iterator;
-struct bt_packet;
-
 extern
-struct bt_notification *bt_notification_packet_beginning_create(
-               struct bt_self_notification_iterator *notification_iterator,
-               struct bt_packet *packet);
+bt_notification *bt_notification_packet_beginning_create(
+               bt_self_notification_iterator *notification_iterator,
+               bt_packet *packet);
 
 extern
-struct bt_notification *bt_notification_packet_end_create(
-               struct bt_self_notification_iterator *notification_iterator,
-               struct bt_packet *packet);
+bt_notification *bt_notification_packet_end_create(
+               bt_self_notification_iterator *notification_iterator,
+               bt_packet *packet);
 
-extern struct bt_packet *bt_notification_packet_beginning_borrow_packet(
-               struct bt_notification *notification);
+extern bt_packet *bt_notification_packet_beginning_borrow_packet(
+               bt_notification *notification);
 
-extern struct bt_packet *bt_notification_packet_end_borrow_packet(
-               struct bt_notification *notification);
+extern bt_packet *bt_notification_packet_end_borrow_packet(
+               bt_notification *notification);
 
 #ifdef __cplusplus
 }
This page took 0.023619 seconds and 4 git commands to generate.