This type is the return type of a callback which is part of a component
class definition (to define an implicit notification iterator class).
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
BT_COMPONENT_CLASS_TYPE_FILTER = 2,
};
+struct bt_notification_iterator_next_return {
+ struct bt_notification *notification;
+ enum bt_notification_iterator_status status;
+};
+
typedef enum bt_component_status (*bt_component_class_init_method)(
struct bt_private_component *private_component,
struct bt_value *params, void *init_method_data);
BT_NOTIFICATION_ITERATOR_SEEK_ORIGIN_EPOCH = 3,
};
-struct bt_notification_iterator_next_return {
- struct bt_notification *notification;
- enum bt_notification_iterator_status status;
-};
-
/**
* Get current notification at iterator's position.
*