X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Ffs.h;h=a6594b1c234ab603e9998349cf0ec794ccac55e6;hb=44381faea7fa26bf9411c67d7efa201523c8c11f;hp=95fffa249fa274e4afec2e70871f604173219995;hpb=f331468c193c14544df578174185b01af900abcf;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/fs.h b/src/plugins/ctf/fs-src/fs.h index 95fffa24..a6594b1c 100644 --- a/src/plugins/ctf/fs-src/fs.h +++ b/src/plugins/ctf/fs-src/fs.h @@ -194,6 +194,14 @@ struct ctf_fs_msg_iter_data { /* Owned by this */ 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