#if 0  avoid this loop... just go off the various flags later  slist_iter( node, node_t, *nodes, lpc, if(node->details->shutdown) { *shutdown_list = g_list_append(*shutdown_list, node); crm_verbose("Scheduling Node %s for shutdown", node->details->id);  } else if(node->details->unclean) { *stonith_list = g_list_append(*stonith_list, node); crm_verbose("Scheduling Node %s for STONITH", node->details->id);  } ); #endif 
stage0(xmlNodePtr cib,       GListPtr *resources,       GListPtr *nodes, GListPtr *node_constraints,       GListPtr *actions, GListPtr *action_constraints,       GListPtr *stonith_list, GListPtr *shutdown_list){//	int lpc;	xmlNodePtr cib_nodes       = get_object_root(		XML_CIB_TAG_NODES,       cib);	xmlNodePtr cib_status      = get_object_root(		XML_CIB_TAG_STATUS,      cib);	xmlNodePtr cib_resources   = get_object_root(		XML_CIB_TAG_RESOURCES,   cib);	xmlNodePtr cib_constraints = get_object_root(		XML_CIB_TAG_CONSTRAINTS, cib);	/* reset remaining global variables */	max_valid_nodes = 0;	order_id = 1;	action_id = 1;		unpack_nodes(safe_val(NULL, cib_nodes, children), nodes);	unpack_resources(safe_val(NULL, cib_resources, children),			 resources, actions, action_constraints, *nodes);	int old_log = 0;	old_log = set_crm_log_level(LOG_TRACE);	unpack_status(safe_val(NULL, cib_status, children),		      *nodes, *resources, node_constraints);	unpack_constraints(safe_val(NULL, cib_constraints, children),			   *nodes, *resources,			   node_constraints, action_constraints);//	set_crm_log_level(old_log);#if 0	avoid this loop... just go off the various flags later	slist_iter(		node, node_t, *nodes, lpc,		if(node->details->shutdown) {			*shutdown_list = g_list_append(*shutdown_list, node);			crm_verbose("Scheduling Node %s for shutdown",				    node->details->id);					} else if(node->details->unclean) {			*stonith_list = g_list_append(*stonith_list, node);			crm_verbose("Scheduling Node %s for STONITH",				    node->details->id);					}		);#endif	return TRUE;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/9ae64f1ffa98f2e13d291806f0ba337b6979eadf/stages.c/clean/crm/pengine/stages.c