for (i = 0; i < comps->len; i++) {
struct bt_config_component *comp = g_ptr_array_index(comps, i);
for (i = 0; i < comps->len; i++) {
struct bt_config_component *comp = g_ptr_array_index(comps, i);
comp->instance_name->str)) {
snprintf(error_buf, error_buf_size,
"Component `%s` is not connected\n",
comp->instance_name->str)) {
snprintf(error_buf, error_buf_size,
"Component `%s` is not connected\n",
struct bt_config_connection *connection =
g_ptr_array_index(cfg->cmd_data.run.connections, i);
struct bt_config_connection *connection =
g_ptr_array_index(cfg->cmd_data.run.connections, i);
connection->downstream_comp_name->str,
connection->downstream_port_glob->str);
connection->downstream_comp_name->str,
connection->downstream_port_glob->str);
flat_connection_name->str)) {
snprintf(error_buf, error_buf_size,
"Duplicate connection:\n %s\n",
flat_connection_name->str)) {
snprintf(error_buf, error_buf_size,
"Duplicate connection:\n %s\n",
const char *arg;
struct bt_config_connection *cfg_connection;
ret = bt_value_string_get(arg_value, &arg);
const char *arg;
struct bt_config_connection *cfg_connection;
ret = bt_value_string_get(arg_value, &arg);