lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / graph / self-component-port-input-notification-iterator.h
index 45f7e194306c85d2d443aa35aa38a38723ca1d9b..0f8712bcecd27e6237f1596a626fb14cb4864f19 100644 (file)
 /* For enum bt_notification_iterator_status */
 #include <babeltrace/graph/notification-iterator.h>
 
-/* For bt_notification_array_const */
-#include <babeltrace/graph/notification-const.h>
+/*
+ * For bt_component, bt_notification_iterator,
+ * bt_self_component_port_input_notification_iterator,
+ * bt_self_component_port_input, bt_notification_array_const
+ */
+#include <babeltrace/types.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_component;
-struct bt_notification_iterator;
-struct bt_self_component_port_input_notification_iterator;
-struct bt_self_component_port_input;
-
 static inline
-struct bt_notification_iterator *
+bt_notification_iterator *
 bt_self_component_port_input_notification_iterator_as_notification_iterator(
-               struct bt_self_component_port_input_notification_iterator *iterator)
+               bt_self_component_port_input_notification_iterator *iterator)
 {
        return (void *) iterator;
 }
 
-extern struct bt_self_component_port_input_notification_iterator *
+extern bt_self_component_port_input_notification_iterator *
 bt_self_component_port_input_notification_iterator_create(
-               struct bt_self_component_port_input *input_port);
+               bt_self_component_port_input *input_port);
 
-extern struct bt_component *
+extern bt_component *
 bt_self_component_port_input_notification_iterator_borrow_component(
-               struct bt_self_component_port_input_notification_iterator *iterator);
+               bt_self_component_port_input_notification_iterator *iterator);
 
 extern enum bt_notification_iterator_status
 bt_self_component_port_input_notification_iterator_next(
-               struct bt_self_component_port_input_notification_iterator *iterator,
+               bt_self_component_port_input_notification_iterator *iterator,
                bt_notification_array_const *notifs, uint64_t *count);
 
 extern void bt_self_component_port_input_notification_iterator_get_ref(
-               const struct bt_self_component_port_input_notification_iterator *self_component_port_input_notification_iterator);
+               const bt_self_component_port_input_notification_iterator *self_component_port_input_notification_iterator);
 
 extern void bt_self_component_port_input_notification_iterator_put_ref(
-               const struct bt_self_component_port_input_notification_iterator *self_component_port_input_notification_iterator);
+               const bt_self_component_port_input_notification_iterator *self_component_port_input_notification_iterator);
 
 #define BT_SELF_COMPONENT_PORT_INPUT_NOTIFICATION_ITERATOR_PUT_REF_AND_RESET(_var) \
        do {                                                            \
This page took 0.024728 seconds and 4 git commands to generate.