lib: make can_seek_beginning and can_seek_ns_from_origin methods return a status
[babeltrace.git] / include / babeltrace2 / graph / self-component-port-input-message-iterator.h
index 8d5f29f79c19da9a196ce202b726a18922045e06..c83bd8db60cfd42d560f4649619486cc7b917ce9 100644 (file)
@@ -77,13 +77,15 @@ bt_self_component_port_input_message_iterator_next(
                bt_self_component_port_input_message_iterator *iterator,
                bt_message_array_const *msgs, uint64_t *count);
 
-extern bt_bool
+extern bt_message_iterator_can_seek_ns_from_origin_status
 bt_self_component_port_input_message_iterator_can_seek_ns_from_origin(
                bt_self_component_port_input_message_iterator *iterator,
-               int64_t ns_from_origin);
+               int64_t ns_from_origin, bt_bool *can_seek);
 
-extern bt_bool bt_self_component_port_input_message_iterator_can_seek_beginning(
-               bt_self_component_port_input_message_iterator *iterator);
+extern bt_message_iterator_can_seek_beginning_status
+bt_self_component_port_input_message_iterator_can_seek_beginning(
+               bt_self_component_port_input_message_iterator *iterator,
+               bt_bool *can_seek);
 
 extern bt_message_iterator_seek_ns_from_origin_status
 bt_self_component_port_input_message_iterator_seek_ns_from_origin(
This page took 0.022954 seconds and 4 git commands to generate.