projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: introduce bt_message_iterator_class
[babeltrace.git]
/
src
/
lib
/
graph
/
message
/
iterator.h
diff --git
a/src/lib/graph/message/iterator.h
b/src/lib/graph/message/iterator.h
index 412fe9041046aab97c600eac0b2145970774c25d..894a914cb68613cde5eeba2792c46225374af0f9 100644
(file)
--- a/
src/lib/graph/message/iterator.h
+++ b/
src/lib/graph/message/iterator.h
@@
-65,23
+65,23
@@
enum bt_self_component_port_input_message_iterator_state {
BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_LAST_SEEKING_RETURNED_ERROR,
};
BT_SELF_COMPONENT_PORT_INPUT_MESSAGE_ITERATOR_STATE_LAST_SEEKING_RETURNED_ERROR,
};
-typedef enum bt_
component_class_message_iterator
_next_method_status
+typedef enum bt_
message_iterator_class
_next_method_status
(*bt_self_component_port_input_message_iterator_next_method)(
void *, bt_message_array_const, uint64_t, uint64_t *);
(*bt_self_component_port_input_message_iterator_next_method)(
void *, bt_message_array_const, uint64_t, uint64_t *);
-typedef enum bt_
component_class_message_iterator
_seek_ns_from_origin_method_status
+typedef enum bt_
message_iterator_class
_seek_ns_from_origin_method_status
(*bt_self_component_port_input_message_iterator_seek_ns_from_origin_method)(
void *, int64_t);
(*bt_self_component_port_input_message_iterator_seek_ns_from_origin_method)(
void *, int64_t);
-typedef enum bt_
component_class_message_iterator
_seek_beginning_method_status
+typedef enum bt_
message_iterator_class
_seek_beginning_method_status
(*bt_self_component_port_input_message_iterator_seek_beginning_method)(
void *);
(*bt_self_component_port_input_message_iterator_seek_beginning_method)(
void *);
-typedef enum bt_
component_class_message_iterator
_can_seek_ns_from_origin_method_status
+typedef enum bt_
message_iterator_class
_can_seek_ns_from_origin_method_status
(*bt_self_component_port_input_message_iterator_can_seek_ns_from_origin_method)(
void *, int64_t, bt_bool *);
(*bt_self_component_port_input_message_iterator_can_seek_ns_from_origin_method)(
void *, int64_t, bt_bool *);
-typedef enum bt_
component_class_message_iterator
_can_seek_beginning_method_status
+typedef enum bt_
message_iterator_class
_can_seek_beginning_method_status
(*bt_self_component_port_input_message_iterator_can_seek_beginning_method)(
void *, bt_bool *);
(*bt_self_component_port_input_message_iterator_can_seek_beginning_method)(
void *, bt_bool *);
@@
-122,9
+122,13
@@
struct bt_self_component_port_input_message_iterator {
struct {
bt_self_component_port_input_message_iterator_next_method next;
struct {
bt_self_component_port_input_message_iterator_next_method next;
+
+ /* These two are always both set or both unset. */
bt_self_component_port_input_message_iterator_seek_ns_from_origin_method seek_ns_from_origin;
bt_self_component_port_input_message_iterator_seek_ns_from_origin_method seek_ns_from_origin;
- bt_self_component_port_input_message_iterator_seek_beginning_method seek_beginning;
bt_self_component_port_input_message_iterator_can_seek_ns_from_origin_method can_seek_ns_from_origin;
bt_self_component_port_input_message_iterator_can_seek_ns_from_origin_method can_seek_ns_from_origin;
+
+ /* These two are always both set or both unset. */
+ bt_self_component_port_input_message_iterator_seek_beginning_method seek_beginning;
bt_self_component_port_input_message_iterator_can_seek_beginning_method can_seek_beginning;
} methods;
bt_self_component_port_input_message_iterator_can_seek_beginning_method can_seek_beginning;
} methods;
This page took
0.026407 seconds
and
4
git commands to generate.