summaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 8b6bb76fb..b6aef623a 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -121,6 +121,8 @@ void Curl_global_host_cache_dtor(void);
struct Curl_dns_entry {
Curl_addrinfo *addr;
+ /* timestamp == 0 -- entry not in hostcache
+ timestamp != 0 -- entry is in hostcache */
time_t timestamp;
long inuse; /* use-counter, make very sure you decrease this
when you're done using the address you received */