diff options
author | florian <florian@openbsd.org> | 2016-06-24 08:34:02 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2016-06-24 08:34:02 +0000 |
commit | 275a8d899e6ba7e61052b65d3c7abe38db9a32dc (patch) | |
tree | 5ce9fc7264a20d348a71d21e01af2edd1700ec8c /usr.sbin/nsd/udbzone.h | |
parent | Avoid multiple evaluation of macro arguments in softclock() (diff) | |
download | wireguard-openbsd-275a8d899e6ba7e61052b65d3c7abe38db9a32dc.tar.xz wireguard-openbsd-275a8d899e6ba7e61052b65d3c7abe38db9a32dc.zip |
Update to 4.1.10
Testing by millert@, sthen@ and me.
came up with the same diff & OK sthen@
Diffstat (limited to 'usr.sbin/nsd/udbzone.h')
-rw-r--r-- | usr.sbin/nsd/udbzone.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/nsd/udbzone.h b/usr.sbin/nsd/udbzone.h index eb81675a18b..8169857a795 100644 --- a/usr.sbin/nsd/udbzone.h +++ b/usr.sbin/nsd/udbzone.h @@ -39,6 +39,8 @@ struct zone_d { udb_rel_ptr file_str; /** modification time, time when the zone data was changed */ uint64_t mtime; + /** modification time, nsecs */ + uint64_t mtime_nsec; /** number of RRsets in the zone */ uint64_t rrset_count; /** number of RRs in the zone */ @@ -107,7 +109,8 @@ void udb_zone_delete(udb_base* udb, udb_ptr* zone); int udb_zone_search(udb_base* udb, udb_ptr* result, const uint8_t* dname, size_t dlen); /** get modification time for zone or 0 */ -uint64_t udb_zone_get_mtime(udb_base* udb, const uint8_t* dname, size_t dlen); +void udb_zone_get_mtime(udb_base* udb, const uint8_t* dname, size_t dlen, + struct timespec* mtime); /** set log str in udb, or remove it */ void udb_zone_set_log_str(udb_base* udb, udb_ptr* zone, const char* str); /** set file str in udb, or remove it */ |