Add support for statically-built plug-ins
[babeltrace.git] / include / babeltrace / plugin / plugin-internal.h
index 75343239563a4b4bb51ab250ad2e0c300c435f63..b33eb2e37dd5fb5eb0cc6d92fc0348ed995373ac 100644 (file)
@@ -51,13 +51,15 @@ struct bt_plugin {
        const char *license;
        const char *description;
        GString *path;
-        bt_plugin_init_func init;
-       bt_plugin_exit_func exit;
+       bt_plugin_register_func _register;
        GModule *module;
 };
 
 BT_HIDDEN
-struct bt_plugin *bt_plugin_create(GModule *module, const char *path);
+struct bt_plugin *bt_plugin_create_from_module(GModule *module, const char *path);
+
+BT_HIDDEN
+struct bt_plugin *bt_plugin_create_from_static(size_t i);
 
 BT_HIDDEN
 enum bt_component_status bt_plugin_register_component_classes(
This page took 0.023149 seconds and 4 git commands to generate.