lib: strictly type function return status enumerations
[babeltrace.git] / src / lib / plugin / plugin-so.h
index 094b87ad2d5e7c9aaf37fc1b0c36f7fd635dec1d..0ceb40a63b95e4163195b4b2c9058bdc329efed7 100644 (file)
@@ -27,6 +27,7 @@
 #include <glib.h>
 #include <gmodule.h>
 #include <babeltrace2/types.h>
+#include "common/macros.h"
 
 struct bt_plugin;
 struct bt_component_class;
@@ -52,10 +53,12 @@ struct bt_plugin_so_spec_data {
 };
 
 BT_HIDDEN
-struct bt_plugin_set *bt_plugin_so_create_all_from_file(const char *path);
+int bt_plugin_so_create_all_from_file(const char *path,
+               bool fail_on_load_error, struct bt_plugin_set **plugin_set_out);
 
 BT_HIDDEN
-struct bt_plugin_set *bt_plugin_so_create_all_from_static(void);
+int bt_plugin_so_create_all_from_static(bool fail_on_load_error,
+               struct bt_plugin_set **plugin_set_out);
 
 void bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
                struct bt_component_class *comp_class);
This page took 0.024477 seconds and 4 git commands to generate.