native_variant_data_t *native_data = (native_variant_data_t *)cons->rsc_lh->variant_opaque;
node_t *node_rh = NULL; native_variant_data_t *native_data = NULL; get_native_variant_data(native_data, rsc);
native_update_node_weight(rsc_to_node_t *cons, const char *id, GListPtr nodes){	native_variant_data_t *native_data =		(native_variant_data_t *)cons->rsc_lh->variant_opaque;	node_t *node_rh = pe_find_node(native_data->allowed_nodes, id);	if(node_rh == NULL) {		crm_err("Node not found - cant update");		return FALSE;	}	if(node_rh->fixed) {		/* warning */		crm_warn("Constraint %s is irrelevant as the"			 " weight of node %s is fixed as %f.",			 cons->id,			 node_rh->details->uname,			 node_rh->weight);		return TRUE;	}		crm_verbose("Constraint %s (%s): node %s weight %f.",		    cons->id,		    cons->can?"can":"cannot",		    node_rh->details->uname,		    node_rh->weight);	if(cons->can == FALSE) {		node_rh->weight = -1;	} else {		node_rh->weight += cons->weight;	}	if(node_rh->weight < 0) {		node_rh->fixed = TRUE;	}	crm_debug_action(print_node("Updated", node_rh, FALSE));	return TRUE;}