const char *last_op  = xmlGetProp(rsc_entry, XML_LRM_ATTR_LASTOP);
const char *last_op  = crm_element_value(rsc_entry, XML_LRM_ATTR_LASTOP);
unpack_healthy_resource(GListPtr *placement_constraints, GListPtr *actions,			xmlNodePtr rsc_entry, resource_t *rsc_lh, node_t *node){	const char *last_op  = xmlGetProp(rsc_entry, XML_LRM_ATTR_LASTOP);		crm_debug("Unpacking healthy action %s on %s", last_op, rsc_lh->id);	if(safe_str_neq(last_op, "stop")) {		/* create the link between this node and the rsc */		crm_verbose("Setting cur_node = %s for rsc = %s",			    node->details->uname, rsc_lh->id);		native_add_running(rsc_lh, node);				node->details->running_rsc = g_list_append(			node->details->running_rsc, rsc_lh);	}	return TRUE;}