X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fsink-internal.h;h=b33333871ed5344c3b69597bd3528ed0b64c5341;hb=8738a040a7933a157d153a5adab52f134be3304a;hp=30617789559a8d7a376f84c9143cda85c17809c3;hpb=a6fe9093ee7f987bee0028f652266d8b300091c4;p=babeltrace.git diff --git a/include/babeltrace/plugin/sink-internal.h b/include/babeltrace/plugin/sink-internal.h index 30617789..b3333387 100644 --- a/include/babeltrace/plugin/sink-internal.h +++ b/include/babeltrace/plugin/sink-internal.h @@ -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 */