Add bt_component_sink_register_notification_type
[babeltrace.git] / include / babeltrace / plugin / notification / notification.h
index 7b661b78a6938a76cebc7d92ee9371c86621e721..21a7328d9544d95e2a9936c32f9d398ad22e5081 100644 (file)
@@ -39,17 +39,25 @@ struct bt_notification;
 enum bt_notification_type {
        BT_NOTIFICATION_TYPE_UNKNOWN = -1,
 
+       /**
+        * All types of notifications (used to register to notification
+        * delivery).
+        */
+       BT_NOTIFICATION_TYPE_ALL = 0,
+
        /** Event delivery notification, see event.h */
-       BT_NOTIFICATION_TYPE_EVENT = 0,
+       BT_NOTIFICATION_TYPE_EVENT = 1,
 
        /** New stream packet notification, see packet.h */
-       BT_NOTIFICATION_TYPE_NEW_PACKET = 1,
+       BT_NOTIFICATION_TYPE_NEW_PACKET = 2,
 
        /** End of stream packet notification, see packet.h */
-       BT_NOTIFICATION_TYPE_END_PACKET = 1,
+       BT_NOTIFICATION_TYPE_END_PACKET = 3,
 
        /** End of trace notification, see eot.h */
-       BT_NOTIFICATION_TYPE_END_OF_TRACE = 2,
+       BT_NOTIFICATION_TYPE_END_OF_TRACE = 4,
+
+       BT_NOTIFICATION_TYPE_NR,
 };
 
 /**
This page took 0.023238 seconds and 4 git commands to generate.