src.ctf.fs: remove ctf_fs_ds_file_next
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 4 Nov 2019 21:31:52 +0000 (16:31 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Nov 2019 18:08:11 +0000 (13:08 -0500)
commit4829c3e2f7137d73c75baff615bce560268ebba4
tree151cd08804939f268de60dcdc4d94b2521df4943
parentcad707e2548d7c9ea8501f12aec7ed28eaaf7975
src.ctf.fs: remove ctf_fs_ds_file_next

The function ctf_fs_ds_file_next is not really relevant, as it
doesn't deal with anything ds_file-specific anymore.  It only calls the
ctf_msg_iter_get_next_message and translates the result to a
bt_component_class_message_iterator_next_method_status.

I think this job can (and should) be done by fs.c directly, as it's the
primary user/owner of the ctf_msg_iter.

This patch removes ctf_fs_ds_file_next and updates
ctf_fs_iterator_next_one to call ctf_msg_iter_get_next_message directly.

Change-Id: I96a9e1aa9d3c689bdf19f342464e1632c35058ca
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/fs-src/data-stream-file.c
src/plugins/ctf/fs-src/data-stream-file.h
src/plugins/ctf/fs-src/fs.c
This page took 0.025906 seconds and 4 git commands to generate.