if(details) { int lpc = 0; cl_log(LOG_DEBUG, "\t\t===Node Attributes"); slist_iter( rsc, resource_t, node->details->running_rsc, lpc, print_resource("\t\t", rsc, FALSE); ); }
print_node(const char *pre_text, node_t *node, gboolean details){ 	if(node == NULL) {		cl_log(LOG_DEBUG, "%s%s%s: <NULL>",		       pre_text==NULL?"":pre_text,		       pre_text==NULL?"":": ",		       __FUNCTION__);		return;	}	cl_log(LOG_DEBUG, "%s%s%sNode %s: (weight=%f, fixed=%s)",	       pre_text==NULL?"":pre_text,	       pre_text==NULL?"":": ",	       node->details==NULL?"error ":node->details->online?"":"Unavailable/Unclean ",	       node->id, 	       node->weight,	       node->fixed?"True":"False"); 	if(details && node->details != NULL) {		g_hash_table_foreach(node->details->attrs,				     print_str_str, cl_strdup("\t\t"));	}	};