Lines Matching refs:host
87 split_spec(const char *spec, char **host, int *port, char **path, int def_port)
90 *host = strdup(spec);
91 p = strchr(*host, ':');
98 p = strchr(p ? p : *host, '/');
148 return NULL; /* no configured host */
256 char host[MAXHOSTNAMELEN];
264 strncpy(host, he->h_name, sizeof(host));
265 host[sizeof(host) - 1] = '\0';