lib: remove unused _NO_SINK graph status
[babeltrace.git] / include / babeltrace / graph / component-class-const.h
index 9e4e6c7f800ca929b7fdca7ee7d1ed05de969c8e..be76e85e387a473f74835c36fb4ceaa0e5c1a661 100644 (file)
 extern "C" {
 #endif
 
-enum bt_component_class_type {
-       BT_COMPONENT_CLASS_TYPE_SOURCE =        0,
-       BT_COMPONENT_CLASS_TYPE_FILTER =        1,
-       BT_COMPONENT_CLASS_TYPE_SINK =          2,
-};
+typedef enum bt_component_class_status {
+       BT_COMPONENT_CLASS_STATUS_OK = 0,
+       BT_COMPONENT_CLASS_STATUS_NOMEM = -12,
+} bt_component_class_status;
+
+typedef enum bt_component_class_type {
+       BT_COMPONENT_CLASS_TYPE_SOURCE = 0,
+       BT_COMPONENT_CLASS_TYPE_FILTER = 1,
+       BT_COMPONENT_CLASS_TYPE_SINK = 2,
+} bt_component_class_type;
 
 extern const char *bt_component_class_get_name(
                const bt_component_class *component_class);
@@ -46,7 +51,7 @@ extern const char *bt_component_class_get_description(
 extern const char *bt_component_class_get_help(
                const bt_component_class *component_class);
 
-extern enum bt_component_class_type bt_component_class_get_type(
+extern bt_component_class_type bt_component_class_get_type(
                const bt_component_class *component_class);
 
 static inline
This page took 0.026244 seconds and 4 git commands to generate.