rsc_constraint_t *inverted_con =
inverted_con =
invert_constraint(rsc_constraint_t *constraint) {	cl_log(LOG_DEBUG, "Inverting constraint");	rsc_constraint_t *inverted_con =		cl_malloc(sizeof(rsc_constraint_t));	inverted_con->id = cl_strdup(constraint->id);	inverted_con->type = constraint->type;	inverted_con->strength = constraint->strength;	inverted_con->is_placement = constraint->is_placement;	// swap the direction	inverted_con->rsc_lh = constraint->rsc_rh;	inverted_con->rsc_rh = constraint->rsc_lh;	inverted_con->node_rh = NULL;	inverted_con->modifier = modifier_none;	inverted_con->weight = 0.0;  	cl_log(LOG_DEBUG, "Inverted constraint");	print_cons(inverted_con, FALSE);	return inverted_con;}