{
BT_ASSERT(index < loaded_plugins->len);
return g_ptr_array_index(loaded_plugins, index);
{
BT_ASSERT(index < loaded_plugins->len);
return g_ptr_array_index(loaded_plugins, index);
const bt_plugin *plugin =
bt_plugin_set_borrow_plugin_by_index_const(plugin_set, i);
const bt_plugin *loaded_plugin =
const bt_plugin *plugin =
bt_plugin_set_borrow_plugin_by_index_const(plugin_set, i);
const bt_plugin *loaded_plugin =
bt_plugin_get_name(plugin),
bt_plugin_get_path(plugin),
bt_plugin_get_path(loaded_plugin));
bt_plugin_get_name(plugin),
bt_plugin_get_path(plugin),
bt_plugin_get_path(loaded_plugin));
} else {
/* Add to global array. */
BT_LOGD("Adding plugin to loaded plugins: plugin-path=\"%s\"",
} else {
/* Add to global array. */
BT_LOGD("Adding plugin to loaded plugins: plugin-path=\"%s\"",
int nr_paths, i, ret = 0;
nr_paths = bt_value_array_get_length(plugin_paths);
int nr_paths, i, ret = 0;
nr_paths = bt_value_array_get_length(plugin_paths);