Lines Matching refs:ahost
86 int rcmd(char **ahost, unsigned short rport, const char *locuser,
91 rcmd_ret = rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p,
96 int rcmd_af(char **ahost, unsigned short rport, const char *locuser,
144 rc = getaddrinfo(*ahost, aport, &hints, &res);
148 *ahost, rc == EAI_AGAIN ? " (try again later)" : "");
153 *ahost = hostname;
260 perror(*ahost);
372 *ahost);
374 perror(*ahost);
379 *ahost, retval);
660 char ahost[BUFSIZ];
671 while (fgets(ahost, (int)sizeof (ahost), hostf)) {
674 p = ahost;
680 while (fgets(ahost, (int)sizeof (ahost), hostf) &&
681 strchr(ahost, '\n') == NULL)
696 uchost = strdup(ahost);
702 uchost[p - ahost] = '\0';
714 if (ahost[0] == '+' && ahost[1] == 0)
717 else if (ahost[0] == '+' && ahost[1] == '@')
722 hostmatch = innetgr(ahost + 2, rhost,
724 else if (ahost[0] == '-' && ahost[1] == '@') {
729 if (innetgr(ahost + 2, rhost, NULL, domain))
734 else if (ahost[0] == '-') {
735 if (_checkhost(rhost, ahost+1, baselen))
739 hostmatch = _checkhost(rhost, ahost, baselen);