} else if(safe_str_eq(value, XML_BOOLEAN_TRUE)) { cib_writes_enabled = FALSE;
} else { crm_str_to_boolean(value, &cib_writes_enabled);
initializeCib(crm_data_t *new_cib){#if 0	if(new_cib != NULL) {		crm_set_element_parent(new_cib, NULL);	}#endif	if (verifyCibXml(new_cib)) {		initialized = FALSE;		the_cib = new_cib;		/* update search paths */		/* not used yet...		node_search =			get_object_root(XML_CIB_TAG_NODES, new_cib);		resource_search =			get_object_root(XML_CIB_TAG_RESOURCES, new_cib);		constraint_search =			get_object_root(XML_CIB_TAG_CONSTRAINTS, new_cib);		status_search =			get_object_root(XML_CIB_TAG_STATUS, new_cib);		*/		initialized = TRUE;		crm_trace("CIB initialized");		return TRUE;	}	if(initialized == FALSE) {		crm_warn("CIB Verification failed");		the_cib = NULL;	} else {		const char *option = "suppress_cib_writes";		const char *value = NULL;		crm_data_t *config = get_object_root(			XML_CIB_TAG_CRMCONFIG, new_cib);				crm_data_t * a_default = find_entity(			config, XML_CIB_TAG_NVPAIR, option, FALSE);		if(a_default != NULL) {			value = crm_element_value(				a_default, XML_NVPAIR_ATTR_VALUE);		}		cib_writes_enabled = TRUE;		if(value == NULL) {			crm_warn("Option %s not set", option);		} else if(safe_str_eq(value, XML_BOOLEAN_TRUE)) {			cib_writes_enabled = FALSE;		}		if(cib_writes_enabled) {			crm_info("CIB disk writes to %s enabled", CIB_FILENAME);		} else {			crm_notice("Disabling CIB disk writes");		}			}	return initialized;}