Add filter component type
[babeltrace.git] / lib / plugin-system / component-factory.c
index 3fb02057c4a042db71c7176a8022c2164234630c..8fe32f816647531c37b08a3121c3f09089aa50e5 100644 (file)
@@ -458,3 +458,12 @@ bt_component_factory_register_sink_component_class(
        return add_component_class(factory, name, description, init,
                        BT_COMPONENT_TYPE_SINK);
 }
+
+enum bt_component_factory_status
+bt_component_factory_register_filter_component_class(
+               struct bt_component_factory *factory, const char *name,
+               const char *description, bt_component_init_cb init)
+{
+       return add_component_class(factory, name, description, init,
+                       BT_COMPONENT_TYPE_FILTER);
+}
This page took 0.024087 seconds and 4 git commands to generate.