X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Ftext.c;h=40bc1c5ea6b54f69c1a0211b16deafa8643b3182;hb=78586d8a10bfb11d34d187697ae15e9255c6ddf4;hp=9a31041e0d0e2746de86ab29d871df7e8d92110c;hpb=663618eed7aae79f22d8649f677bf13a3bb76771;p=babeltrace.git diff --git a/plugins/text/text.c b/plugins/text/text.c index 9a31041e..40bc1c5e 100644 --- a/plugins/text/text.c +++ b/plugins/text/text.c @@ -116,6 +116,19 @@ static enum bt_component_status handle_notification(struct bt_component *component, struct bt_notification *notification) { + switch (bt_notification_get_type(notification)) { + case BT_NOTIFICATION_TYPE_PACKET_START: + puts(""); + break; + case BT_NOTIFICATION_TYPE_PACKET_END: + puts(""); + break; + case BT_NOTIFICATION_TYPE_EVENT: + puts(""); + break; + default: + puts("Unhandled notification type"); + } return BT_COMPONENT_STATUS_OK; }