X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Ffs.h;h=a6594b1c234ab603e9998349cf0ec794ccac55e6;hb=cbca1c06c79966c7fb9fe5b08ccd9c95fa3620cc;hp=bf2e254e91efe4e349e8b882be2a8c4e2559e852;hpb=f30762e5afa0e61a609d2d7efe1d36264cf7acfa;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/fs.h b/src/plugins/ctf/fs-src/fs.h index bf2e254e..a6594b1c 100644 --- a/src/plugins/ctf/fs-src/fs.h +++ b/src/plugins/ctf/fs-src/fs.h @@ -193,7 +193,15 @@ struct ctf_fs_msg_iter_data { size_t ds_file_info_index; /* Owned by this */ - struct bt_msg_iter *msg_iter; + struct ctf_msg_iter *msg_iter; + + /* + * Saved error. If we hit an error in the _next method, but have some + * messages ready to return, we save the error here and return it on + * the next _next call. + */ + bt_component_class_message_iterator_next_method_status next_saved_status; + const struct bt_error *next_saved_error; }; BT_HIDDEN