crm_debug("Adding constraint %s (%p) to %s", inverted_con->id, inverted_con, rsc_rh->id);
rsc_dependancy_new(const char *id, enum con_strength strength,		   resource_t *rsc_lh, resource_t *rsc_rh){	rsc_dependancy_t *new_con      = NULL; 	rsc_dependancy_t *inverted_con = NULL; 	if(rsc_lh == NULL || rsc_rh == NULL){		/* error */		return FALSE;	}	crm_malloc(new_con, sizeof(rsc_dependancy_t));	if(new_con != NULL) {		new_con->id       = id;		new_con->rsc_lh   = rsc_lh;		new_con->rsc_rh   = rsc_rh;		new_con->strength = strength;				inverted_con = invert_constraint(new_con);				rsc_lh->rsc_cons = g_list_insert_sorted(			rsc_lh->rsc_cons, new_con, sort_cons_strength);				rsc_rh->rsc_cons = g_list_insert_sorted(			rsc_rh->rsc_cons, inverted_con, sort_cons_strength);	} else {		return FALSE;	}		return TRUE;}