if(id == NULL || strlen(id) == 0) { del_res = CIBRES_MISSING_ID; } else { del_res = cib_delete_node(findResource(cib, id)); }  FNRET(del_res);
CRM_DEBUG2("Deleting " XML_CIB_TAG_RESOURCE " (%s)...", id);  xmlNodePtr root = get_object_root(XML_CIB_TAG_RESOURCES, cib); return delete_cib_object(root, delete_spec);
delResource(xmlNodePtr cib, const char *id){	int del_res = CIBRES_OTHER;	FNIN();	if(id == NULL || strlen(id) == 0) {		del_res = CIBRES_MISSING_ID;	} else {		del_res = cib_delete_node(findResource(cib, id));	}		FNRET(del_res);}