if(safe_str_eq(node->details->id, dc_uuid)) { node->details->is_dc = TRUE; g_hash_table_insert(node->details->attrs, crm_strdup(XML_ATTR_DC), crm_strdup(XML_BOOLEAN_TRUE)); } else { g_hash_table_insert(node->details->attrs, crm_strdup(XML_ATTR_DC), crm_strdup(XML_BOOLEAN_FALSE)); }   
add_node_attrs(xmlNodePtr attrs, node_t *node){	const char *name  = NULL;	const char *value = NULL;		while(attrs != NULL){		name  = xmlGetProp(attrs, XML_NVPAIR_ATTR_NAME);		value = xmlGetProp(attrs, XML_NVPAIR_ATTR_VALUE);					if(name != NULL		   && value != NULL		   && safe_val(NULL, node, details) != NULL) {			crm_verbose("Adding %s => %s", name, value);			/* this is frustrating... no way to pass in const			 *  keys or values yet docs say:			 *   Note: If keys and/or values are dynamically			 *   allocated, you should free them first.			 */			g_hash_table_insert(node->details->attrs,					    crm_strdup(name),					    crm_strdup(value));		}		attrs = attrs->next;	}	 	g_hash_table_insert(node->details->attrs,			    crm_strdup(XML_ATTR_UNAME),			    crm_strdup(node->details->uname)); 	g_hash_table_insert(node->details->attrs,			    crm_strdup(XML_ATTR_ID),			    crm_strdup(node->details->id));	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/3e5ff2bb7cf08fe48e5b41100e166f9258995d6b/unpack.c/clean/crm/pengine/unpack.c