native_variant_data_t *native_data_lh = NULL; native_variant_data_t *native_data_rh = NULL;  get_native_variant_data(native_data_lh, rsc_lh); get_native_variant_data(native_data_rh, rsc_rh);
void native_rsc_colocation_rh_mustnot(resource_t *rsc_lh, gboolean update_lh,				      resource_t *rsc_rh, gboolean update_rh){	color_t *color_lh = NULL;	color_t *color_rh = NULL;	native_variant_data_t *native_data_lh = NULL;	native_variant_data_t *native_data_rh = NULL;	get_native_variant_data(native_data_lh, rsc_lh);	get_native_variant_data(native_data_rh, rsc_rh);		crm_debug_4("Processing pecs_must_not constraint");	/* pecs_must_not */	if(update_lh) {		color_rh = rsc_rh->color;		if(rsc_lh->provisional && color_rh != NULL) {			color_lh = add_color(rsc_lh, color_rh);			color_lh->local_weight = -INFINITY;			crm_debug_2("LH: Removed color %d from resource %s",				color_lh->id, rsc_lh->id);						crm_action_debug_3(				print_color("Removed LH", color_lh, FALSE));						crm_action_debug_3(				print_resource("Modified LH", rsc_lh, TRUE));		} else if(rsc_lh->provisional) {					} else if(rsc_lh->color			  && rsc_lh->color->details->pending) {			node_t *node_lh = NULL;						color_lh = rsc_lh->color;			node_lh = pe_find_node_id(				color_lh->details->candidate_nodes,				safe_val5(NULL, color_rh, details,					  chosen_node, details, id));			if(node_lh != NULL) {				node_lh->weight = -INFINITY;				crm_debug_2("LH: Removed node %s from color %d",					node_lh->details->uname, color_lh->id);								crm_action_debug_3(					print_node("Removed LH", node_lh, FALSE));								crm_action_debug_3(					print_color("Modified LH", color_lh, FALSE));			}					} else {			/* error, rsc marked as unrunnable above */			pe_warn("lh else");		}	}		if(update_rh) {		color_lh = rsc_lh->color;		if(rsc_rh->provisional && color_lh != NULL) {			color_rh = add_color(rsc_lh, color_lh);			color_rh->local_weight = -INFINITY;			crm_debug_2("RH: Removed color %d from resource %s",				color_rh->id, rsc_rh->id);						crm_action_debug_3(				print_color("Removed RH", color_rh, FALSE));			crm_action_debug_3(				print_resource("Modified RH", rsc_rh, TRUE));		} else if(rsc_rh->provisional) {					} else if(rsc_rh->color			  && rsc_rh->color->details->pending) {			node_t *node_rh = NULL;			color_rh = rsc_rh->color;			node_rh = pe_find_node_id(				color_rh->details->candidate_nodes,				safe_val5(NULL, color_lh, details,					  chosen_node, details, id));			if(node_rh != NULL) {				node_rh->weight = -INFINITY;								crm_debug_2("RH: Removed node %s from color %d",					node_rh->details->uname, color_rh->id);								crm_action_debug_3(					print_node("Removed RH", node_rh, FALSE));								crm_action_debug_3(					print_color("Modified RH", color_rh, FALSE));			}		} else {			/* error, rsc marked as unrunnable above */			pe_warn("rh else");		}	}}