stage2(rsc_list, node_list, NULL);
stage2(resources, nodes, &colors);
do_calculations(xmlNodePtr cib_object){	int lpc, lpc2;	pdebug("=#=#=#=#= Stage 0 =#=#=#=#=");	stage0(cib_object);	pdebug("=#=#=#=#= Stage 1 =#=#=#=#=");	stage1(node_cons_list, node_list, rsc_list);	pdebug("=#=#=#=#= Stage 2 =#=#=#=#=");	stage2(rsc_list, node_list, NULL);	pdebug("========= Nodes =========");	pdebug_action(		slist_iter(node, node_t, node_list, lpc,			   print_node(NULL, node, TRUE)			)		);			pdebug("========= Resources =========");	pdebug_action(		slist_iter(resource, resource_t, rsc_list, lpc,			   print_resource(NULL, resource, TRUE)			)		);    	pdebug("=#=#=#=#= Stage 3 =#=#=#=#=");	stage3();	pdebug("=#=#=#=#= Stage 4 =#=#=#=#=");	stage4(colors);	pdebug("========= Colors =========");	pdebug_action(		slist_iter(color, color_t, colors, lpc,		   print_color(NULL, color, FALSE)			)		);	pdebug("=#=#=#=#= Stage 5 =#=#=#=#=");	stage5(rsc_list);	pdebug("=#=#=#=#= Stage 6 =#=#=#=#=");	stage6(stonith_list, shutdown_list);	pdebug("========= Action List =========");	pdebug_action(		slist_iter(action, action_t, action_list, lpc,			   print_action(NULL, action, TRUE)			)		);		pdebug("=#=#=#=#= Stage 7 =#=#=#=#=");	stage7(rsc_list, action_list, action_cons_list);		pdebug("=#=#=#=#= Summary =#=#=#=#=");	summary(rsc_list);	pdebug("========= Action Sets =========");	pdebug("\t========= Set %d (Un-runnable) =========", -1);	pdebug_action(		slist_iter(action, action_t, action_list, lpc,			   if(action->optional == FALSE			      && action->runnable == FALSE) {				   print_action("\t", action, TRUE);			   }			)		);	pdebug_action(		slist_iter(action_set, GSList, action_set_list, lpc,			   pdebug("\t========= Set %d =========", lpc);			   slist_iter(action, action_t, action_set, lpc2,				      print_action("\t", action, TRUE);				   )			)		);		pdebug("========= Stonith List =========");	pdebug_action(		slist_iter(node, node_t, stonith_list, lpc,			   print_node(NULL, node, FALSE);			)		);  	pdebug("========= Shutdown List =========");	pdebug_action(		slist_iter(node, node_t, shutdown_list, lpc,			   print_node(NULL, node, FALSE);			)		);	pdebug("=#=#=#=#= Stage 8 =#=#=#=#=");	stage8(action_set_list);	return xml_set_of_sets;}