Lines Matching refs:ah
872 struct hostsfile *ah;
909 for (i = 0, ah = daemon->addn_hosts; ah; ah = ah->next)
911 if (i <= ah->index)
912 i = ah->index + 1;
914 if (ah->flags & AH_DIR)
915 ah->flags |= AH_INACTIVE;
917 ah->flags &= ~AH_INACTIVE;
920 for (ah = daemon->addn_hosts; ah; ah = ah->next)
921 if (!(ah->flags & AH_INACTIVE))
924 if (stat(ah->fname, &buf) != -1 && S_ISDIR(buf.st_mode))
930 ah->flags |= AH_INACTIVE;
932 if (!(dir_stream = opendir(ah->fname)))
934 ah->fname, strerror(errno));
939 size_t lendir = strlen(ah->fname);
952 dir is ah->fname
959 strstr(ah1->fname, ah->fname) == ah1->fname &&
980 strcpy(path, ah->fname);
1000 for (ah = daemon->addn_hosts; ah; ah = ah->next)
1001 if (!(ah->flags & AH_INACTIVE))
1002 total_size = read_hostsfile(ah->fname, ah->index, total_size);
1215 struct hostsfile *ah;
1220 for (ah = daemon->addn_hosts; ah; ah = ah->next)
1221 if (ah->index == index)
1222 return ah->fname;