lib: make can_seek_beginning and can_seek_ns_from_origin methods return a status
[babeltrace.git] / include / babeltrace2 / graph / component-class-source.h
index b8cf57e8f6c7fd3ca583d338a1ee5984709d8ce8..7856cea486013c5f0305733e0d8b508f5c0308bc 100644 (file)
@@ -77,14 +77,14 @@ typedef bt_component_class_message_iterator_seek_beginning_method_status
 (*bt_component_class_source_message_iterator_seek_beginning_method)(
                bt_self_message_iterator *message_iterator);
 
-typedef bt_bool
+typedef bt_component_class_message_iterator_can_seek_ns_from_origin_method_status
 (*bt_component_class_source_message_iterator_can_seek_ns_from_origin_method)(
                bt_self_message_iterator *message_iterator,
-               int64_t ns_from_origin);
+               int64_t ns_from_origin, bt_bool *can_seek);
 
-typedef bt_bool
+typedef bt_component_class_message_iterator_can_seek_beginning_method_status
 (*bt_component_class_source_message_iterator_can_seek_beginning_method)(
-               bt_self_message_iterator *message_iterator);
+               bt_self_message_iterator *message_iterator, bt_bool *can_seek);
 
 typedef bt_component_class_query_method_status
 (*bt_component_class_source_query_method)(
This page took 0.024176 seconds and 4 git commands to generate.