xmlNodePtr res = findStatus(cib, ID(anXmlNode), INSTANCE(anXmlNode)); if (res == NULL) { CRM_DEBUG3("Update: " XML_CIB_TAG_STATE " (%s:%s) did not exist, adding.", ID(anXmlNode), INSTANCE(anXmlNode));
xmlNodePtr res = NULL; FNIN();  res = findStatus(cib, ID(anXmlNode), INSTANCE(anXmlNode));  if (res == NULL) { CRM_DEBUG4("Update: %s (%s:%s) did not exist, adding.", XML_CIB_TAG_STATE, ID(anXmlNode), INSTANCE(anXmlNode));
updateStatus(xmlNodePtr cib, cibStatus *anXmlNode){    xmlNodePtr res = findStatus(cib, ID(anXmlNode), INSTANCE(anXmlNode));    if (res == NULL) {		CRM_DEBUG3("Update: " XML_CIB_TAG_STATE " (%s:%s) did not exist, adding.",				   ID(anXmlNode),				   INSTANCE(anXmlNode));		addStatus(cib, anXmlNode);    } else {		copy_in_properties(anXmlNode, res);	    }    FNRET(0);}