X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Fdata-stream-file.c;h=880eb852d7f619480a412e6d9b2cc95ef62b5d3e;hp=18db1d0cb8b6786a70a0ffbf991ab58029345187;hb=d24d56638469189904fb6ddbb3c725817b3e9417;hpb=15caa1ca4fac30bd196602bd136e48fda3892de2 diff --git a/src/plugins/ctf/fs-src/data-stream-file.c b/src/plugins/ctf/fs-src/data-stream-file.c index 18db1d0c..880eb852 100644 --- a/src/plugins/ctf/fs-src/data-stream-file.c +++ b/src/plugins/ctf/fs-src/data-stream-file.c @@ -719,22 +719,22 @@ void ctf_fs_ds_file_destroy(struct ctf_fs_ds_file *ds_file) } BT_HIDDEN -bt_self_message_iterator_status ctf_fs_ds_file_next( +bt_component_class_message_iterator_next_method_status ctf_fs_ds_file_next( struct ctf_fs_ds_file *ds_file, bt_message **msg) { enum bt_msg_iter_status msg_iter_status; - bt_self_message_iterator_status status; + bt_component_class_message_iterator_next_method_status status; msg_iter_status = bt_msg_iter_get_next_message( ds_file->msg_iter, ds_file->pc_msg_iter, msg); switch (msg_iter_status) { case BT_MSG_ITER_STATUS_EOF: - status = BT_SELF_MESSAGE_ITERATOR_STATUS_END; + status = BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_END; break; case BT_MSG_ITER_STATUS_OK: - status = BT_SELF_MESSAGE_ITERATOR_STATUS_OK; + status = BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_OK; break; case BT_MSG_ITER_STATUS_AGAIN: /* @@ -746,7 +746,7 @@ bt_self_message_iterator_status ctf_fs_ds_file_next( case BT_MSG_ITER_STATUS_INVAL: case BT_MSG_ITER_STATUS_ERROR: default: - status = BT_SELF_MESSAGE_ITERATOR_STATUS_ERROR; + status = BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_ERROR; break; } return status;