Plugins are alive!
[babeltrace.git] / include / babeltrace / plugin / notification / notification.h
index 7b661b78a6938a76cebc7d92ee9371c86621e721..5557f919b3ac3723d495871fefb687094fcd05b5 100644 (file)
@@ -39,17 +39,34 @@ 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,
+       /** Start of stream packet notification, see packet.h */
+       BT_NOTIFICATION_TYPE_PACKET_START = 2,
 
        /** End of stream packet notification, see packet.h */
-       BT_NOTIFICATION_TYPE_END_PACKET = 1,
+       BT_NOTIFICATION_TYPE_PACKET_END = 3,
+
+       /** New trace notification, see model.h */
+       BT_NOTIFICATION_TYPE_NEW_TRACE = 4,
+
+       /** New stream class notification, see model.h */
+       BT_NOTIFICATION_TYPE_NEW_STREAM_CLASS = 5,
+
+       /** New event class notification, see model.h */
+       BT_NOTIFICATION_TYPE_NEW_EVENT_CLASS = 6,
 
        /** End of trace notification, see eot.h */
-       BT_NOTIFICATION_TYPE_END_OF_TRACE = 2,
+       BT_NOTIFICATION_TYPE_END_OF_TRACE = 7,
+
+       BT_NOTIFICATION_TYPE_NR, /* Not part of ABI. */
 };
 
 /**
This page took 0.024011 seconds and 4 git commands to generate.