List detected component classes
[babeltrace.git] / include / babeltrace / plugin / component-class-internal.h
index 48cb3d9d34d942bc1876b4bf800f123cac2dd2ab..f23f256672b0655e97d397e5d5af60783e157f0e 100644 (file)
@@ -36,7 +36,9 @@ struct bt_component_class {
        struct bt_object base;
        enum bt_component_type type;
        GString *name;
+       GString *description;
        struct bt_plugin *plugin;
+       bt_component_init_cb init;
 };
 
 BT_HIDDEN
@@ -45,7 +47,8 @@ int bt_component_class_init(
                const char *name);
 
 BT_HIDDEN
-int bt_component_class_set_plugin(struct bt_component_class *class,
-               struct bt_plugin *plugin);
+struct bt_component_class *bt_component_class_create(
+               enum bt_component_type type, const char *name,
+               const char *description, struct bt_plugin *plugin);
 
 #endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
This page took 0.024237 seconds and 4 git commands to generate.