Move initialization of components to init functions
[babeltrace.git] / include / babeltrace / plugin / sink-internal.h
index 30617789559a8d7a376f84c9143cda85c17809c3..b33333871ed5344c3b69597bd3528ed0b64c5341 100644 (file)
@@ -38,4 +38,13 @@ struct bt_component_sink {
        bt_component_sink_handle_notification_cb handle_notification;
 };
 
+/**
+ * Allocate a sink component.
+ *
+ * @param name                 Component instance name (will be copied)
+ * @returns                    A sink component instance
+ */
+BT_HIDDEN
+extern struct bt_component *bt_component_sink_create(const char *name);
+
 #endif /* BABELTRACE_PLUGIN_SINK_INTERNAL_H */
This page took 0.026334 seconds and 4 git commands to generate.