CTF IR -> Trace IR
[babeltrace.git] / include / babeltrace / plugin / plugin-so-internal.h
index 4e3bc86629885d11b60694a81e0be9644f81fabc..07df7422eea6b8b390476630e81fd3bf18414d4b 100644 (file)
@@ -30,6 +30,7 @@
 
 #include <glib.h>
 #include <gmodule.h>
+#include <babeltrace/types.h>
 
 struct bt_plugin;
 struct bt_component_class;
@@ -40,7 +41,7 @@ struct bt_plugin_so_shared_lib_handle {
        GModule *module;
 
        /* True if initialization function was called */
-       bool init_called;
+       bt_bool init_called;
        bt_plugin_exit_func exit;
 };
 
@@ -55,16 +56,13 @@ struct bt_plugin_so_spec_data {
 };
 
 BT_HIDDEN
-struct bt_plugin **bt_plugin_so_create_all_from_file(const char *path);
+struct bt_plugin_set *bt_plugin_so_create_all_from_file(const char *path);
 
 BT_HIDDEN
-struct bt_plugin **bt_plugin_so_create_all_from_static(void);
+struct bt_plugin_set *bt_plugin_so_create_all_from_static(void);
 
 BT_HIDDEN
-int bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
+void bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
                struct bt_component_class *comp_class);
 
-BT_HIDDEN
-void bt_plugin_so_destroy_spec_data(struct bt_plugin *plugin);
-
 #endif /* BABELTRACE_PLUGIN_PLUGIN_SO_INTERNAL_H */
This page took 0.023857 seconds and 4 git commands to generate.