Searched refs:hostspec (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | getaddrinfo_hostspec.c | 43 roken_getaddrinfo_hostspec2(const char *hostspec, in roken_getaddrinfo_hostspec2() argument 72 if(strncmp(hostspec, hstp->prefix, strlen(hstp->prefix)) == 0) { in roken_getaddrinfo_hostspec2() 77 hostspec += strlen(hstp->prefix); in roken_getaddrinfo_hostspec2() 82 p = strchr (hostspec, ':'); in roken_getaddrinfo_hostspec2() 87 hostspec_len = p - hostspec; in roken_getaddrinfo_hostspec2() 89 hostspec_len = strlen(hostspec); in roken_getaddrinfo_hostspec2() 93 snprintf (host, sizeof(host), "%.*s", hostspec_len, hostspec); in roken_getaddrinfo_hostspec2() 98 roken_getaddrinfo_hostspec(const char *hostspec, in roken_getaddrinfo_hostspec() argument 102 return roken_getaddrinfo_hostspec2(hostspec, 0, port, ai); in roken_getaddrinfo_hostspec()
|
H A D | ChangeLog | 1432 correct length from `hostspec'. based on a patch from Love
|