summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/resolv/res_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/resolv/res_private.h')
-rw-r--r--freebsd/lib/libc/resolv/res_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/freebsd/lib/libc/resolv/res_private.h b/freebsd/lib/libc/resolv/res_private.h
index 4e98157c..a986e95c 100644
--- a/freebsd/lib/libc/resolv/res_private.h
+++ b/freebsd/lib/libc/resolv/res_private.h
@@ -1,3 +1,5 @@
+/* $FreeBSD$ */
+
#ifndef res_private_h
#define res_private_h
@@ -12,6 +14,9 @@ struct __res_state_ext {
} sort_list[MAXRESOLVSORT];
char nsuffix[64];
char nsuffix2[64];
+ struct timespec conf_mtim; /* mod time of loaded resolv.conf */
+ time_t conf_stat; /* time of last stat(resolv.conf) */
+ u_short reload_period; /* seconds between stat(resolv.conf) */
};
extern int