Add bt_component_sink_register_notification_type
[babeltrace.git] / lib / plugin-system / component.c
index 483788acd6be9381f7fa3cb156d09ddd105f118f..9c4121ba699dcdc9bb18de053abdf1847d4bd218 100644 (file)
@@ -84,7 +84,7 @@ enum bt_component_status bt_component_init(struct bt_component *component,
        enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
 
        if (!component || !destroy) {
-               ret = BT_COMPONENT_STATUS_INVAL;
+               ret = BT_COMPONENT_STATUS_INVALID;
                goto end;
        }
 
@@ -160,7 +160,7 @@ enum bt_component_status bt_component_set_name(struct bt_component *component,
        enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
 
        if (!component || !name || name[0] == '\0') {
-               ret = BT_COMPONENT_STATUS_INVAL;
+               ret = BT_COMPONENT_STATUS_INVALID;
                goto end;
        }
 
@@ -187,7 +187,7 @@ bt_component_set_private_data(struct bt_component *component,
        enum bt_component_status ret = BT_COMPONENT_STATUS_OK;
 
        if (!component) {
-               ret = BT_COMPONENT_STATUS_INVAL;
+               ret = BT_COMPONENT_STATUS_INVALID;
                goto end;
        }
 
This page took 0.024345 seconds and 4 git commands to generate.