set_xml_property_copy(tmp1, XML_ATTR_ID, uuid); set_xml_property_copy(tmp1, "uname", uname); 
 set_uuid(tmp1, XML_ATTR_UUID, uname);  set_xml_property_copy(tmp1, XML_ATTR_UNAME, uname); 
create_node_entry(const char *uuid, const char *uname, const char *type){		/* make sure a node entry exists for the new node	 *	 * this will add anyone except the first ever node in the cluster	 *   since it will also be the DC which doesnt go through the	 *   join process (with itself).  We can include a special case	 *   later if desired.	 */	xmlNodePtr tmp2 = NULL;	xmlNodePtr tmp1 = create_xml_node(NULL, XML_CIB_TAG_NODE);	set_xml_property_copy(tmp1, XML_ATTR_ID, uuid);	set_xml_property_copy(tmp1, "uname", uname);	set_xml_property_copy(tmp1, XML_ATTR_TYPE, type);		tmp2 = create_cib_fragment(tmp1, NULL);	/* do not forward this to the TE */	invoke_local_cib(NULL, tmp2, CRM_OP_UPDATE);		free_xml(tmp2);	free_xml(tmp1);	}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/a96b9910a5bdecc30a3ccbcf4a9b9a79828981f1/utils.c/buggy/crm/crmd/utils.c