xmlNodePtr equiv_node = NULL;
crm_data_t *equiv_node = NULL;
add_cib_object(xmlNodePtr parent, xmlNodePtr new_obj){	enum cib_errors result = cib_ok;	const char *object_name = NULL;	const char *object_id = NULL;	xmlNodePtr equiv_node = NULL;		if(new_obj != NULL) {		object_name = new_obj->name;	}	object_id = xmlGetProp(new_obj, XML_ATTR_ID);	if(new_obj == NULL) {		result = cib_NOOBJECT;	} else if(parent == NULL) {		result = cib_NOPARENT;	} else if(object_id == NULL) {		/*  placeholder object */		equiv_node = find_xml_node(parent, object_name, FALSE);			} else {		equiv_node = find_entity(			parent, object_name, object_id, FALSE);	}	cib_pre_notify(CRM_OP_CIB_CREATE, equiv_node, new_obj);	if(result != cib_ok) {		; /* do nothing */			} else if(equiv_node != NULL) {		result = cib_EXISTS;	} else if(add_node_copy(parent, new_obj) == NULL) {		result = cib_NODECOPY;			}		cib_post_notify(CRM_OP_CIB_CREATE, new_obj, result, new_obj);	return cib_ok;}