X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fcomponent-factory-internal.h;h=0508cd860728e51374c47cc4ba1cfe041b068885;hb=8738a040a7933a157d153a5adab52f134be3304a;hp=69c16419396c908949e9f4ce91af87c113f76582;hpb=a6fe9093ee7f987bee0028f652266d8b300091c4;p=babeltrace.git diff --git a/include/babeltrace/plugin/component-factory-internal.h b/include/babeltrace/plugin/component-factory-internal.h index 69c16419..0508cd86 100644 --- a/include/babeltrace/plugin/component-factory-internal.h +++ b/include/babeltrace/plugin/component-factory-internal.h @@ -31,33 +31,8 @@ #include #include -/** Component initialization functions */ -/** - * Allocate a source component. - * - * @param name Component instance name (will be copied) - * @param private_data Private component implementation data - * @param destroy_cb Component private data clean-up callback - * @param iterator_init_cb Iterator initialization callback - * @returns A source component instance - */ -BT_HIDDEN -extern struct bt_component *bt_component_source_create(const char *name, - void *private_data, bt_component_destroy_cb destroy_func, - bt_component_source_iterator_init_cb iterator_init_cb); - -/** - * Allocate a sink component. - * - * @param name Component instance name (will be copied) - * @param private_data Private component implementation data - * @param destroy_cb Component private data clean-up callback - * @param notification_cb Notification handling callback - * @returns A sink component instance - */ -BT_HIDDEN -extern struct bt_component *bt_component_sink_create(const char *name, - void *private_data, bt_component_destroy_cb destroy_func, - bt_component_sink_handle_notification_cb notification_cb); +struct bt_component_factory { + int a; +}; #endif /* BABELTRACE_PLUGIN_COMPONENT_FACTORY_INTERNAL_H */