Lines Matching defs:host
329 hosts : host
330 | host ',' hosts
333 host : WORD {
335 /* allocate a new host */
336 struct sun_host *host = CALLOC(struct sun_host);
338 host->name = xstrdup($1);
340 /* Add this host to the host list. */
341 sun_list_add(get_sun_host_list(),(qelem *)host);
347 * It is assumed that the host for this rule was allocated by the
348 * 'weight' rule and assigned to be the last host item on the host
351 struct sun_host *host = (struct sun_host *)sun_host_list->last;
353 host->name = xstrdup($1);
360 /* allocate a new host */
361 struct sun_host *host = CALLOC(struct sun_host);
365 host->weight = val;
367 /* Add this host to the host list. */
368 sun_list_add(get_sun_host_list(), (qelem *)host);