print_resource("Post-processing", lh_resource, TRUE));
print_resource("Post-processing", rsc, TRUE));
color_resource(resource_t *lh_resource, GListPtr *colors, GListPtr resources){	int lpc = 0;	crm_debug_action(print_resource("Coloring", lh_resource, FALSE));		if(lh_resource->provisional == FALSE) {		/* already processed this resource */		return;	}		lh_resource->rsc_cons = g_list_sort(		lh_resource->rsc_cons, sort_cons_strength);	crm_debug_action(		print_resource("Pre-processing", lh_resource, FALSE));	/*------ Pre-processing */	slist_iter(		constraint, rsc_dependancy_t, lh_resource->rsc_cons, lpc,		crm_debug_action(			print_rsc_dependancy(				"Pre-Processing constraint", constraint,FALSE));				if(constraint->rsc_rh == NULL) {			crm_err("rsc_rh was NULL for %s", constraint->id);			continue;		}				lh_resource->fns->rsc_dependancy_lh(constraint);		);		/* avoid looping through lists when we know this resource	 * cant be started	 */	lh_resource->fns->color(lh_resource, colors);	crm_debug_action(		print_resource("Post-processing", lh_resource, TRUE));	/*------ Post-processing */	slist_iter(		constraint, rsc_dependancy_t, lh_resource->rsc_cons, lpc,		crm_debug_action(			print_rsc_dependancy(				"Post-Processing constraint",constraint,FALSE));		lh_resource->fns->rsc_dependancy_lh(constraint);		);		crm_debug_action(print_resource("Colored", lh_resource, TRUE));}