hitem
struct hitem *p;
hosts = (struct hitem *)malloc(sizeof (*p));
hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p));