Notification iterator: transform precondition checks to BT_ASSERT_PRE()
[babeltrace.git] / include / babeltrace / graph / notification-internal.h
index c37d2f10b4c0a65beee806e43644038c8caeef05..d1149055717fc61c451f2dbbf66563f6a96f8720 100644 (file)
@@ -41,6 +41,7 @@ struct bt_notification {
        struct bt_object base;
        enum bt_notification_type type;
        get_stream_func get_stream;
+       uint64_t seq_num;
        bt_bool frozen;
 };
 
@@ -64,12 +65,8 @@ static inline
 const char *bt_notification_type_string(enum bt_notification_type type)
 {
        switch (type) {
-       case BT_NOTIFICATION_TYPE_SENTINEL:
-               return "BT_NOTIFICATION_TYPE_SENTINEL";
        case BT_NOTIFICATION_TYPE_UNKNOWN:
                return "BT_NOTIFICATION_TYPE_UNKNOWN";
-       case BT_NOTIFICATION_TYPE_ALL:
-               return "BT_NOTIFICATION_TYPE_ALL";
        case BT_NOTIFICATION_TYPE_EVENT:
                return "BT_NOTIFICATION_TYPE_EVENT";
        case BT_NOTIFICATION_TYPE_INACTIVITY:
This page took 0.024717 seconds and 4 git commands to generate.