lib: remove unused _NO_SINK graph status
[babeltrace.git] / include / babeltrace / graph / message-internal.h
index 8f6158ea628d89e2650a0e8e98013d03b1b728d7..bfe561e54d598fa32ffb0957a53543157da7f8e8 100644 (file)
@@ -39,7 +39,6 @@ typedef struct bt_stream *(*get_stream_func)(
 struct bt_message {
        struct bt_object base;
        enum bt_message_type type;
-       uint64_t seq_num;
        bt_bool frozen;
 
        /* Owned by this; keeps the graph alive while the msg. is alive */
@@ -65,7 +64,6 @@ void bt_message_reset(struct bt_message *message)
 
 #ifdef BT_DEV_MODE
        message->frozen = BT_FALSE;
-       message->seq_num = UINT64_C(-1);
 #endif
 }
 
@@ -116,8 +114,8 @@ const char *bt_message_type_string(enum bt_message_type type)
        switch (type) {
        case BT_MESSAGE_TYPE_EVENT:
                return "BT_MESSAGE_TYPE_EVENT";
-       case BT_MESSAGE_TYPE_INACTIVITY:
-               return "BT_MESSAGE_TYPE_INACTIVITY";
+       case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY:
+               return "BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY";
        case BT_MESSAGE_TYPE_STREAM_BEGINNING:
                return "BT_MESSAGE_TYPE_STREAM_BEGINNING";
        case BT_MESSAGE_TYPE_STREAM_END:
@@ -126,6 +124,12 @@ const char *bt_message_type_string(enum bt_message_type type)
                return "BT_MESSAGE_TYPE_PACKET_BEGINNING";
        case BT_MESSAGE_TYPE_PACKET_END:
                return "BT_MESSAGE_TYPE_PACKET_END";
+       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING:
+               return "BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING";
+       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_END:
+               return "BT_MESSAGE_TYPE_STREAM_ACTIVITY_END";
+       case BT_MESSAGE_TYPE_DISCARDED_EVENTS:
+               return "BT_MESSAGE_TYPE_DISCARDED_EVENTS";
        default:
                return "(unknown)";
        }
This page took 0.028353 seconds and 4 git commands to generate.