]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/cache: relaxed API to allow other assets than RR
authorMarek Vavruša <marek.vavrusa@nic.cz>
Fri, 1 May 2015 00:20:46 +0000 (02:20 +0200)
committerMarek Vavruša <marek.vavrusa@nic.cz>
Sat, 2 May 2015 18:00:48 +0000 (20:00 +0200)
commit9843c55c60a74a7fa9bc8353fdb64aa28800ac1b
tree093f12f10758091886a532738fabcbcb703e75fa
parent0fa3868fe1bbbd83147c2723238b5e10fa55e14e
lib/cache: relaxed API to allow other assets than RR

each asset is tagged by a byte defining its type and importance
this is a groundwork for negative cache and packet cache
abstracted the code in preparation for different backends
lib/cache.c
lib/cache.h
lib/layer/itercache.c
lib/zonecut.c
modules/cachectl/cachectl.c
tests/test_cache.c