Component creation
[babeltrace.git] / include / babeltrace / plugin / component-class-internal.h
index 48cb3d9d34d942bc1876b4bf800f123cac2dd2ab..efdf991b520283b58d72e287c01d9798cc710f24 100644 (file)
@@ -37,6 +37,7 @@ struct bt_component_class {
        enum bt_component_type type;
        GString *name;
        struct bt_plugin *plugin;
+       bt_component_init_cb init;
 };
 
 BT_HIDDEN
@@ -45,7 +46,8 @@ int bt_component_class_init(
                const char *name);
 
 BT_HIDDEN
-int bt_component_class_set_plugin(struct bt_component_class *class,
+struct bt_component_class *bt_component_class_create(
+               enum bt_component_type type, const char *name,
                struct bt_plugin *plugin);
 
 #endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
This page took 0.023438 seconds and 4 git commands to generate.