lib: add aliases for Babeltrace enumeration types
[babeltrace.git] / include / babeltrace / graph / component-class-filter.h
index 80aeeb7475d06404a0d788c73e8c187d7b5f04ee..56d0443717cd4015fd2f9b38aec512ee14eca2c3 100644 (file)
 
 #include <stdint.h>
 
-/* For enum bt_self_component_status */
+/* For bt_self_component_status */
 #include <babeltrace/graph/self-component.h>
 
-/* For enum bt_self_message_iterator_status */
+/* For bt_self_message_iterator_status */
 #include <babeltrace/graph/self-message-iterator.h>
 
-/* For enum bt_query_status */
+/* For bt_query_status */
 #include <babeltrace/graph/component-class.h>
 
 /*
@@ -47,7 +47,7 @@
 extern "C" {
 #endif
 
-typedef enum bt_self_component_status
+typedef bt_self_component_status
 (*bt_component_class_filter_init_method)(
                bt_self_component_filter *self_component,
                const bt_value *params, void *init_method_data);
@@ -55,7 +55,7 @@ typedef enum bt_self_component_status
 typedef void (*bt_component_class_filter_finalize_method)(
                bt_self_component_filter *self_component);
 
-typedef enum bt_self_message_iterator_status
+typedef bt_self_message_iterator_status
 (*bt_component_class_filter_message_iterator_init_method)(
                bt_self_message_iterator *message_iterator,
                bt_self_component_filter *self_component,
@@ -65,38 +65,38 @@ typedef void
 (*bt_component_class_filter_message_iterator_finalize_method)(
                bt_self_message_iterator *message_iterator);
 
-typedef enum bt_self_message_iterator_status
+typedef bt_self_message_iterator_status
 (*bt_component_class_filter_message_iterator_next_method)(
                bt_self_message_iterator *message_iterator,
                bt_message_array_const msgs, uint64_t capacity,
                uint64_t *count);
 
-typedef enum bt_query_status
+typedef bt_query_status
 (*bt_component_class_filter_query_method)(
                bt_self_component_class_filter *comp_class,
                const bt_query_executor *query_executor,
                const char *object, const bt_value *params,
                const bt_value **result);
 
-typedef enum bt_self_component_status
+typedef bt_self_component_status
 (*bt_component_class_filter_accept_input_port_connection_method)(
                bt_self_component_filter *self_component,
                bt_self_component_port_input *self_port,
                const bt_port_output *other_port);
 
-typedef enum bt_self_component_status
+typedef bt_self_component_status
 (*bt_component_class_filter_accept_output_port_connection_method)(
                bt_self_component_filter *self_component,
                bt_self_component_port_output *self_port,
                const bt_port_input *other_port);
 
-typedef enum bt_self_component_status
+typedef bt_self_component_status
 (*bt_component_class_filter_input_port_connected_method)(
                bt_self_component_filter *self_component,
                bt_self_component_port_input *self_port,
                const bt_port_output *other_port);
 
-typedef enum bt_self_component_status
+typedef bt_self_component_status
 (*bt_component_class_filter_output_port_connected_method)(
                bt_self_component_filter *self_component,
                bt_self_component_port_output *self_port,
This page took 0.024 seconds and 4 git commands to generate.