get_capacity_descr
if (get_capacity_descr(value) != NULL)
if ((capa = get_capacity_descr(resource_name)) == NULL) {
static capacity_descr_t *get_capacity_descr(char *);