const char *attr_name = NULL; const char *attr_value = NULL;
handleCibMod(void){	xmlNodePtr cib_object = file2xml(stdin);	if(cib_object == NULL) {		return NULL;	}			if(strcmp(cib_object->name, obj_type) != 0) {		cl_log(LOG_ERR, "Mismatching xml."		       "  Expected root element <%s>, got <%s>",		       obj_type, cib_object->name);		return NULL;	}	const char *attr_name = NULL;	const char *attr_value = NULL;	attr_name = XML_ATTR_ID;		attr_value = xmlGetProp(cib_object, attr_name);	if(attr_name == NULL || strlen(attr_name) == 0) {		cl_log(LOG_ERR, "No value for %s specified.", attr_name);		return NULL;	}		CRM_DEBUG("Object creation complete");	// create the cib request	xmlNodePtr fragment = NULL;	fragment = create_cib_fragment(cib_object, NULL);	set_xml_property_copy(msg_options, XML_ATTR_OP, cib_action);	return fragment;}