X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fcomponent-factory-internal.h;h=257ff0f5716781550cacaebb9b887d7f6d060331;hb=fb2dcc52d2d351c4fb46878414f51d2cdecdfc6f;hp=7aed5806bc4154ff1a2f4a1f0bfafbc9f7498678;hpb=732995546409a6d6c279acbcd44d3dbc4a1a3195;p=babeltrace.git diff --git a/include/babeltrace/plugin/component-factory-internal.h b/include/babeltrace/plugin/component-factory-internal.h index 7aed5806..257ff0f5 100644 --- a/include/babeltrace/plugin/component-factory-internal.h +++ b/include/babeltrace/plugin/component-factory-internal.h @@ -28,43 +28,19 @@ */ #include +#include #include #include +#include #include #include #include -#include - -struct component_class { - enum bt_component_type type; - GString *name; -}; - -struct source_component_class { - struct component_class parent; - bt_component_source_init_cb init; - -}; - -struct sink_component_class { - struct component_class parent; - bt_component_sink_init_cb init; -}; - -struct plugin { - const char *name; - const char *author; - const char *license; - bt_plugin_init_func init; - bt_plugin_init_func exit; - GModule *module; - /** Array of pointers to struct component_class */ - GPtrArray *components; -}; struct bt_component_factory { /** Array of pointers to struct plugin */ GPtrArray *plugins; + /** Array of pointers to struct bt_component_class */ + GPtrArray *components; }; #endif /* BABELTRACE_PLUGIN_COMPONENT_FACTORY_INTERNAL_H */