lib: bt_plugin_find*(): return status code; add "fail on load error" param
[babeltrace.git] / src / lib / plugin / plugin-so.h
index 328cc1480e5cae988c6393c23ebf85d0811070f8..a2259c8b017b57842f49ea31dad620c861653b4f 100644 (file)
@@ -53,10 +53,13 @@ struct bt_plugin_so_spec_data {
 };
 
 BT_HIDDEN
-struct bt_plugin_set *bt_plugin_so_create_all_from_file(const char *path);
+enum bt_plugin_status 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);
+enum bt_plugin_status 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.023327 seconds and 4 git commands to generate.