X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Ffs.c;h=7241e732b4b0b2a382dc344079d7ef6a7b7c7147;hb=bb5bb16080ef123c91a690eb267a8d83bd4fb199;hp=8de14bdc66b79684b9467a78a5cd59dfa72e6650;hpb=6be5a99eddff403a941a1329add897a0f27ca509;p=babeltrace.git diff --git a/plugins/ctf/fs-src/fs.c b/plugins/ctf/fs-src/fs.c index 8de14bdc..7241e732 100644 --- a/plugins/ctf/fs-src/fs.c +++ b/plugins/ctf/fs-src/fs.c @@ -102,11 +102,11 @@ enum bt_self_notification_iterator_status ctf_fs_iterator_next_one( if (status == BT_SELF_NOTIFICATION_ITERATOR_STATUS_OK && bt_notification_get_type(*notif) == - BT_NOTIFICATION_TYPE_STREAM_BEGIN) { + BT_NOTIFICATION_TYPE_STREAM_BEGINNING) { if (notif_iter_data->skip_stream_begin_notifs) { /* * We already emitted a - * BT_NOTIFICATION_TYPE_STREAM_BEGIN + * BT_NOTIFICATION_TYPE_STREAM_BEGINNING * notification: skip this one, get a new one. */ BT_OBJECT_PUT_REF_AND_RESET(*notif); @@ -117,7 +117,7 @@ enum bt_self_notification_iterator_status ctf_fs_iterator_next_one( goto end; } else { /* - * First BT_NOTIFICATION_TYPE_STREAM_BEGIN + * First BT_NOTIFICATION_TYPE_STREAM_BEGINNING * notification: skip all following. */ notif_iter_data->skip_stream_begin_notifs = true; @@ -162,15 +162,15 @@ enum bt_self_notification_iterator_status ctf_fs_iterator_next_one( /* * If we get a notification, we expect to get a - * BT_NOTIFICATION_TYPE_STREAM_BEGIN notification + * BT_NOTIFICATION_TYPE_STREAM_BEGINNING notification * because the iterator's state machine emits one before * even requesting the first block of data from the * medium. Skip this notification because we're not * really starting a new stream here, and try getting a * new notification (which, if it works, is a - * BT_NOTIFICATION_TYPE_PACKET_BEGIN one). We're sure to + * BT_NOTIFICATION_TYPE_PACKET_BEGINNING one). We're sure to * get at least one pair of - * BT_NOTIFICATION_TYPE_PACKET_BEGIN and + * BT_NOTIFICATION_TYPE_PACKET_BEGINNING and * BT_NOTIFICATION_TYPE_PACKET_END notifications in the * case of a single, empty packet. We know there's at * least one packet because the stream file group does @@ -180,7 +180,7 @@ enum bt_self_notification_iterator_status ctf_fs_iterator_next_one( if (status == BT_SELF_NOTIFICATION_ITERATOR_STATUS_OK) { BT_ASSERT(bt_notification_get_type(*notif) == - BT_NOTIFICATION_TYPE_STREAM_BEGIN); + BT_NOTIFICATION_TYPE_STREAM_BEGINNING); BT_OBJECT_PUT_REF_AND_RESET(*notif); status = ctf_fs_ds_file_next(notif_iter_data->ds_file, &priv_notif);