Lines Matching defs:ahost
34 char **ahost,
48 hp = gethostbyname(*ahost);
50 fprintf(stderr, "%s: unknown host\n", *ahost);
53 *ahost = hp->h_name;
140 "Protocol error, %s closed connection\n", *ahost);
142 perror(*ahost);
145 "Protocol error, %s sent %d bytes\n", *ahost, retval);
281 char ahost[MAXHOSTNAMELEN];
288 while (fgets(ahost, sizeof (ahost), hostf)) {
290 p = ahost;
305 if (ahost[0] == '+' && ahost[1] == 0)
307 else if (ahost[0] == '+' && ahost[1] == '@')
308 hostmatch = innetgr(ahost + 2, rhost,
310 else if (ahost[0] == '-' && ahost[1] == '@') {
311 if (innetgr(ahost + 2, rhost, NULL, domain))
314 else if (ahost[0] == '-') {
315 if (_checkhost(rhost, ahost+1, baselen))
319 hostmatch = _checkhost(rhost, ahost, baselen);