Lines Matching refs:hostname
336 char hostname[MAXHOSTNAMELEN];
337 (void) N_XGetHostname(hostname, MAXHOSTNAMELEN);
338 if (strcmp(hostname, *host) == 0)
358 char **hostname, /* RETURN */
370 * Step 1, find the hostname. This is delimited by a required colon.
392 if (namebuf[0] == '\0') { /* no transport/hostname specified... */
395 else { /* no hostname, so must be UNIX */
396 *hostname = NULL;
409 if ((*hostname = (char *) Xmalloc(strlen(p))) == NULL)
410 return(!Success); /* can't alloc space for hostname */
411 (void) strcpy(*hostname, p);