printw("%s%s %s (%s%s%s:%s):\t", pre_text?pre_text:"", crm_element_name(rsc->xml), rsc->id,
printw("%s%s (%s%s%s:%s):\t", pre_text?pre_text:"", rsc->id,
void common_printw(resource_t *rsc, const char *pre_text, int *index){#if CURSES_ENABLED	const char *prov = crm_element_value(rsc->xml, XML_AGENT_ATTR_PROVIDER);		move(*index, 0);	printw("%s%s %s (%s%s%s:%s):\t",	       pre_text?pre_text:"", crm_element_name(rsc->xml), rsc->id,	       prov?prov:"", prov?"::":"",	       crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS),	       crm_element_value(rsc->xml, XML_ATTR_TYPE));#else	crm_err("printw support requires ncurses to be available during configure");#endif}