crm_str_to_boolean(value, &suppress);
cl_str_to_boolean(value, &suppress);
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;	}	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);		if(a_default != NULL) {			value = crm_element_value(				a_default, XML_NVPAIR_ATTR_VALUE);		}		if(value == NULL) {			crm_warn("Option %s not set", option);			if(cib_writes_enabled == FALSE) {				crm_debug("Disk writes to %s enabled",					  CIB_FILENAME);			}			cib_writes_enabled = TRUE;					} else {			gboolean suppress = FALSE;			crm_str_to_boolean(value, &suppress);			if(cib_writes_enabled == suppress) {				cib_writes_enabled = !suppress;				if(cib_writes_enabled) {					crm_debug("Disk writes to %s enabled",						  CIB_FILENAME);				} else {					crm_notice("Disabling CIB disk writes");				}			}		}						crm_debug_2("Disk writes to %s %s", CIB_FILENAME,			    cib_writes_enabled?"enabled":"DISABLED");		set_connected_peers(the_cib);		set_transition(the_cib);		if(cib_have_quorum) {			crm_xml_add(				the_cib,XML_ATTR_HAVE_QUORUM,XML_BOOLEAN_TRUE);		} else {			crm_xml_add(				the_cib,XML_ATTR_HAVE_QUORUM,XML_BOOLEAN_FALSE);		}			}	return initialized;}