Lines Matching defs:ahost
88 int rcmd(char **ahost, unsigned short rport, const char *locuser,
93 rcmd_ret = rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p,
98 int rcmd_af(char **ahost, unsigned short rport, const char *locuser,
146 rc = getaddrinfo(*ahost, aport, &hints, &res);
150 *ahost, rc == EAI_AGAIN ? " (try again later)" : "");
155 *ahost = hostname;
257 perror(*ahost);
369 *ahost);
371 perror(*ahost);
376 *ahost, retval);
657 char ahost[BUFSIZ];
668 while (fgets(ahost, (int)sizeof (ahost), hostf)) {
671 p = ahost;
677 while (fgets(ahost, (int)sizeof (ahost), hostf) &&
678 strchr(ahost, '\n') == NULL)
693 uchost = strdup(ahost);
699 uchost[p - ahost] = '\0';
711 if (ahost[0] == '+' && ahost[1] == 0)
714 else if (ahost[0] == '+' && ahost[1] == '@')
719 hostmatch = innetgr(ahost + 2, rhost,
721 else if (ahost[0] == '-' && ahost[1] == '@') {
726 if (innetgr(ahost + 2, rhost, NULL, domain))
731 else if (ahost[0] == '-') {
732 if (_checkhost(rhost, ahost+1, baselen))
736 hostmatch = _checkhost(rhost, ahost, baselen);