diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-02-09 16:16:58 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-02-09 16:16:58 +0000 |
commit | 70185ab3108d9b5d834bfbdc0ab98a90b646bed9 (patch) | |
tree | 64934d6047f38913c186d759416be443709023ee /src/htslib.h | |
parent | 008601e493d8bb103272c96f53aef638765bf830 (diff) |
Removed background DNS resolution, prone to bugs (racy when interrupting a mirror), and not providing any additional performance boost. Keeping cached DNS resolution, though.
Diffstat (limited to 'src/htslib.h')
-rw-r--r-- | src/htslib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.h b/src/htslib.h index 52d63e1..03ac7b1 100644 --- a/src/htslib.h +++ b/src/htslib.h @@ -295,12 +295,12 @@ HTS_INLINE t_hostent *hts_gethostbyname(httrackp * opt, const char *iadr, #ifndef HTTRACK_DEFLIB HTSEXT_API t_hostent *vxgethostbyname2(char *hostname, void *v_buffer, const char **error); HTSEXT_API t_hostent *vxgethostbyname(char *hostname, void *v_buffer); +HTSEXT_API int check_hostname_dns(char *hostname); #endif int ftp_available(void); #if HTS_DNSCACHE void hts_cache_free(t_dnscache * cache); -int hts_dnstest(httrackp * opt, const char *_iadr, int add); t_dnscache *_hts_cache(httrackp * opt); #endif |