List detected component classes
[babeltrace.git] / include / babeltrace / plugin / plugin-internal.h
index 3b60ea2f83e275edd1846a180db8c0134ecb093e..75343239563a4b4bb51ab250ad2e0c300c435f63 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef BABELTRACE_PLUGIN_INTERNAL_H
-#define BABELTRACE_PLUGIN__INTERNAL_H
+#define BABELTRACE_PLUGIN_INTERNAL_H
 
 /*
  * BabelTrace - Plug-in Internal
@@ -30,7 +30,7 @@
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/ref-internal.h>
 #include <babeltrace/plugin/component.h>
-#include <babeltrace/plugin/plugin.h>
+#include <babeltrace/plugin/plugin-system.h>
 #include <babeltrace/object-internal.h>
 #include <gmodule.h>
 
@@ -49,16 +49,18 @@ struct bt_plugin {
        const char *name;
        const char *author;
        const char *license;
+       const char *description;
+       GString *path;
         bt_plugin_init_func init;
        bt_plugin_exit_func exit;
        GModule *module;
 };
 
 BT_HIDDEN
-struct bt_plugin *bt_plugin_create(GModule *module);
+struct bt_plugin *bt_plugin_create(GModule *module, const char *path);
 
 BT_HIDDEN
 enum bt_component_status bt_plugin_register_component_classes(
                struct bt_plugin *plugin, struct bt_component_factory *factory);
 
-#endif /* BABELTRACE_PLUGIN_COMPONENT_CLASS_INTERNAL_H */
+#endif /* BABELTRACE_PLUGIN_INTERNAL_H */
This page took 0.024407 seconds and 4 git commands to generate.