Lines Matching defs:host
210 * Checks to make sure zone and host are safe. If safe, then
211 * hashes zone and host strings to build a path. If zone / host
216 create_path(const char *zone, const char *host, const char *client,
234 /* if host was passed, verify that it is safe */
235 if (host != NULL && !is_safe(host))
243 if (host != NULL)
244 len = strlen(zone) + strlen(host);
286 * When neither client or host is passed we are building a
313 /* if host not null, add it. */
314 if (host != NULL) {
316 result = create_path_helper(tmpPath, host, cd);
350 char host[DIR_NAMEMAX];
360 host[0] = '\0';
371 /* if splitcnt == 0, determine host from path. */
378 strcpy(host, "*");
387 if ((strlen(host) +
391 strcat(host, tmpPtr + 1);
392 strcat(host, ".");
395 if ((strlen(host) +
398 strcat(host, tmpString);
407 * if splitcnt != 0 determine host from
408 * ".host" directory entry
411 if (strncasecmp(".host",
419 strcpy(host, "*");
421 strncpy(host,
423 sizeof(host) - 1);
424 host[255] = '\0';
481 * could not find a host entry.
540 (char *) host,