]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
cache: changed get_new_ttl private API to allow custom timestamp
authorMarek Vavruša <marek@vavrusa.com>
Wed, 14 Mar 2018 19:10:46 +0000 (12:10 -0700)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 23 Apr 2018 12:34:39 +0000 (14:34 +0200)
commit09357dd55faeeb5d9c9ac4f03a8fbf65db2d3ec4
tree0afa956461c820d5737fa03797e63c1f3dd51721
parentd22cb3480705b9dd970ee95e57c1c024353d3772
cache: changed get_new_ttl private API to allow custom timestamp

Before the API depended on the qry object which only makes sense during
resolution of requests, not when manipulating cache out of it.
lib/cache/api.c
lib/cache/entry_list.c
lib/cache/entry_pkt.c
lib/cache/impl.h
lib/cache/nsec1.c