src_comp = find_component(cfg,
connection->upstream_comp_name->str);
src_comp = find_component(cfg,
connection->upstream_comp_name->str);
dst_comp = find_component(cfg,
connection->downstream_comp_name->str);
dst_comp = find_component(cfg,
connection->downstream_comp_name->str);
if (src_comp->type == BT_COMPONENT_CLASS_TYPE_SOURCE) {
if (dst_comp->type != BT_COMPONENT_CLASS_TYPE_FILTER &&
if (src_comp->type == BT_COMPONENT_CLASS_TYPE_SOURCE) {
if (dst_comp->type != BT_COMPONENT_CLASS_TYPE_FILTER &&
src_comp_name = g_ptr_array_index(path, path->len - 1);
for (conn_i = 0; conn_i < cfg->cmd_data.run.connections->len; conn_i++) {
src_comp_name = g_ptr_array_index(path, path->len - 1);
for (conn_i = 0; conn_i < cfg->cmd_data.run.connections->len; conn_i++) {
cfg_connection = cfg_connection_from_arg(arg);
if (!cfg_connection) {
snprintf(error_buf, error_buf_size, "Cannot parse --connect option's argument:\n %s\n",
cfg_connection = cfg_connection_from_arg(arg);
if (!cfg_connection) {
snprintf(error_buf, error_buf_size, "Cannot parse --connect option's argument:\n %s\n",