X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fplugin%2Fplugin-so.h;h=a2259c8b017b57842f49ea31dad620c861653b4f;hb=9736d991ea189f29b908e9cf18103c1452c59e05;hp=328cc1480e5cae988c6393c23ebf85d0811070f8;hpb=0d1c8791396d4cf4c5cc2160838f25608fa12b4b;p=babeltrace.git diff --git a/src/lib/plugin/plugin-so.h b/src/lib/plugin/plugin-so.h index 328cc148..a2259c8b 100644 --- a/src/lib/plugin/plugin-so.h +++ b/src/lib/plugin/plugin-so.h @@ -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);