Searched refs:hostf (Results 1 – 7 of 7) sorted by relevance
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | iruserok.c | 91 __ivaliduser(FILE *hostf, unsigned raddr, const char *luser, in __ivaliduser() argument 116 while (fgets(buf, sizeof(buf), hostf)) { in __ivaliduser() 120 while ((ch = getc(hostf)) != '\n' && ch != EOF); in __ivaliduser() 225 FILE *hostf; in iruserok() local 231 hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "r"); in iruserok() 233 if (hostf) { in iruserok() 234 if (__ivaliduser(hostf, raddr, luser, ruser) == 0) { in iruserok() 235 fclose(hostf); in iruserok() 238 fclose(hostf); in iruserok() 254 hostf = fopen(pbuf, "r"); in iruserok() [all …]
|
| /netbsd/src/lib/libbluetooth/ |
| D | bluetooth.c | 46 static FILE *hostf = NULL; variable 107 if (hostf == NULL) in bt_gethostent() 108 hostf = fopen(_PATH_BT_HOSTS, "r"); in bt_gethostent() 110 if (hostf == NULL) { in bt_gethostent() 115 if ((p = fgets(buf, sizeof(buf), hostf)) == NULL) { in bt_gethostent() 159 if (hostf == NULL) in bt_sethostent() 160 hostf = fopen(_PATH_BT_HOSTS, "r"); in bt_sethostent() 162 rewind(hostf); in bt_sethostent() 170 if (hostf != NULL && host_stayopen == 0) { in bt_endhostent() 171 (void) fclose(hostf); in bt_endhostent() [all …]
|
| /netbsd/src/usr.sbin/lpr/lpd/ |
| D | lpd.c | 598 FILE *hostf; in chkhost() local 666 hostf = fopen(_PATH_HOSTSEQUIV, "r"); in chkhost() 667 if (hostf) { in chkhost() 668 if (__ivaliduser_sa(hostf, f, f->sa_len, DUMMY, DUMMY) == 0) { in chkhost() 669 chkplushost(good, hostf, hst); in chkhost() 670 (void)fclose(hostf); in chkhost() 673 (void)fclose(hostf); in chkhost() 675 hostf = fopen(_PATH_HOSTSLPD, "r"); in chkhost() 676 if (hostf) { in chkhost() 677 if (__ivaliduser_sa(hostf, f, f->sa_len, DUMMY, DUMMY) == 0) { in chkhost() [all …]
|
| /netbsd/src/lib/libc/net/ |
| D | rcmd.c | 661 FILE *hostf; in iruserok_sa() local 676 hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "re"); in iruserok_sa() 678 if (hostf) { in iruserok_sa() 679 if (__ivaliduser_sa(hostf, sa, (socklen_t)rlen, luser, in iruserok_sa() 681 (void)fclose(hostf); in iruserok_sa() 684 (void)fclose(hostf); in iruserok_sa() 706 hostf = fopen(pbuf, "re"); in iruserok_sa() 708 if (hostf != NULL) { in iruserok_sa() 718 else if (fstat(fileno(hostf), &sbuf) < 0) in iruserok_sa() 727 __ivaliduser_sa(hostf, sa, (socklen_t)rlen, in iruserok_sa() [all …]
|
| D | getaddrinfo.c | 2279 _sethtent(FILE **hostf) in _sethtent() argument 2282 if (!*hostf) in _sethtent() 2283 *hostf = fopen(_PATH_HOSTS, "re"); in _sethtent() 2285 rewind(*hostf); in _sethtent() 2289 _endhtent(FILE **hostf) in _endhtent() argument 2292 if (*hostf) { in _endhtent() 2293 (void) fclose(*hostf); in _endhtent() 2294 *hostf = NULL; in _endhtent() 2299 _gethtent(FILE **hostf, const char *name, const struct addrinfo *pai) in _gethtent() argument 2311 if (!*hostf && !(*hostf = fopen(_PATH_HOSTS, "re"))) in _gethtent() [all …]
|
| /netbsd/src/external/bsd/libbind/dist/include/ |
| D | netdb.h | 280 FILE *hostf; member
|
| /netbsd/src/external/bsd/openldap/dist/doc/rfc/ |
| D | rfc4511.txt | 1666 ldap://hostf/OU=Consultants,OU=People,DC=Example,DC=NET??sub }
|