if(rsc->variant == pe_group) { group_data = (group_variant_data_t *)rsc->variant_opaque; } else { pe_err("Resource %s was not a \"group\" variant", rsc->id); return NULL; }
get_group_variant_data(group_data, rsc);
group_find_child(resource_t *rsc, const char *id){	group_variant_data_t *group_data = NULL;	if(rsc->variant == pe_group) {		group_data = (group_variant_data_t *)rsc->variant_opaque;	} else {		pe_err("Resource %s was not a \"group\" variant", rsc->id);		return NULL;	}	return pe_find_resource(group_data->child_list, id);}