crm_debug("%s%s%s%sResource %s: (priority=%f, color=%d, now=%d)", pre_text==NULL?"":pre_text, pre_text==NULL?"":": ", rsc->provisional?"Provisional ":"", rsc->runnable?"":"(Non-Startable) ", rsc->id, (double)rsc->priority, safe_val3(-1, rsc, color, id), g_list_length(rsc->running_on));  crm_debug("\t%d candidate colors, %d allowed nodes," " %d rsc_cons and %d node_cons", g_list_length(rsc->candidate_colors), g_list_length(rsc->allowed_nodes), g_list_length(rsc->rsc_cons), g_list_length(rsc->node_cons));  if(details) { int lpc = 0;  crm_debug("\t=== Actions"); slist_iter( action, action_t, rsc->actions, lpc, print_action("\trsc action: ", action, FALSE); );  crm_debug("\t=== Colors"); slist_iter( color, color_t, rsc->candidate_colors, lpc, print_color("\t", color, FALSE) );  crm_debug("\t=== Allowed Nodes"); slist_iter( node, node_t, rsc->allowed_nodes, lpc, print_node("\t", node, FALSE); ); } 
rsc->fns->dump(rsc, pre_text, details); 
print_resource(const char *pre_text, resource_t *rsc, gboolean details){ 	if(rsc == NULL) {		crm_debug("%s%s: <NULL>",		       pre_text==NULL?"":pre_text,		       pre_text==NULL?"":": ");		return;	}	crm_debug("%s%s%s%sResource %s: (priority=%f, color=%d, now=%d)",		  pre_text==NULL?"":pre_text,		  pre_text==NULL?"":": ",		  rsc->provisional?"Provisional ":"",		  rsc->runnable?"":"(Non-Startable) ",		  rsc->id,		  (double)rsc->priority,		  safe_val3(-1, rsc, color, id),		  g_list_length(rsc->running_on));	crm_debug("\t%d candidate colors, %d allowed nodes,"		  " %d rsc_cons and %d node_cons",		  g_list_length(rsc->candidate_colors),		  g_list_length(rsc->allowed_nodes),		  g_list_length(rsc->rsc_cons),		  g_list_length(rsc->node_cons));		if(details) {		int lpc = 0;				crm_debug("\t=== Actions");		slist_iter(			action, action_t, rsc->actions, lpc, 			print_action("\trsc action: ", action, FALSE);			);				crm_debug("\t=== Colors");		slist_iter(			color, color_t, rsc->candidate_colors, lpc,			print_color("\t", color, FALSE)			);		crm_debug("\t=== Allowed Nodes");		slist_iter(			node, node_t, rsc->allowed_nodes, lpc,			print_node("\t", node, FALSE);			);	}}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/f17c8eda8d331f89e1c0ed293931b048e4d3b2d0/utils.c/buggy/crm/pengine/utils.c