crm_malloc(rsc_copy, sizeof(lrm_rsc_t));
crm_malloc0(rsc_copy, sizeof(lrm_rsc_t));
copy_lrm_rsc(const lrm_rsc_t *rsc){	lrm_rsc_t *rsc_copy = NULL;	if(rsc == NULL) {		return NULL;	}		crm_malloc(rsc_copy, sizeof(lrm_rsc_t));	rsc_copy->id       = crm_strdup(rsc->id);	rsc_copy->type     = crm_strdup(rsc->type);	rsc_copy->class    = NULL;	rsc_copy->provider = NULL;	if(rsc->class != NULL) {		rsc_copy->class    = crm_strdup(rsc->class);	}	if(rsc->provider != NULL) {		rsc_copy->provider = crm_strdup(rsc->provider);	}/* 	GHashTable* 	params; */	rsc_copy->params = NULL;	rsc_copy->ops    = NULL;	return rsc_copy;}