CRM_DEBUG("Processing fake LRM event..."); const char *last_op = "start"; if(safe_str_eq("stopped", xmlGetProp(data, "last_op"))) { last_op = "stop"; } CRM_DEBUG("Fake LRM event... %s, %s, %s, %s, %s", xmlGetProp(data, "op_node"), xmlGetProp(data, "id"), last_op, xmlGetProp(data, "op_status"), xmlGetProp(data, "op_code"));
process_fake_event(xmlNodePtr msg){	xmlNodePtr data = find_xml_node(msg, "lrm_resource");	return process_graph_event(xmlGetProp(data, "op_node"),				   xmlGetProp(data, "id"),				   xmlGetProp(data, "last_op"),				   xmlGetProp(data, "op_status"),				   xmlGetProp(data, "op_code"));}