Searched refs:hostspec (Results 1 - 1 of 1) sorted by relevance

/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dgetaddrinfo_hostspec.c43 roken_getaddrinfo_hostspec2(const char *hostspec, argument
72 if(strncmp(hostspec, hstp->prefix, strlen(hstp->prefix)) == 0) {
77 hostspec += strlen(hstp->prefix);
82 p = strchr (hostspec, ':');
87 hostspec_len = p - hostspec;
89 hostspec_len = strlen(hostspec);
93 snprintf (host, sizeof(host), "%.*s", hostspec_len, hostspec);
98 roken_getaddrinfo_hostspec(const char *hostspec, argument
102 return roken_getaddrinfo_hostspec2(hostspec, 0, port, ai);

Completed in 167 milliseconds