]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
cache: restore kr_cache_match and kr_cache_remove
authorAnbang Wen <xofyarg@gmail.com>
Sun, 13 May 2018 21:55:24 +0000 (14:55 -0700)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 17 Aug 2018 13:58:44 +0000 (15:58 +0200)
commitf5b29467ef23800d3f063bd56d5c357eb4ff888a
tree55f08ef2e9a1a535ae8d37209f18f639058124d6
parenta8bbb4b3454ab604c04081f16c9a2485b36fd916
cache: restore kr_cache_match and kr_cache_remove

1. Restore two cache op which got dropped in 2.0;
2. Add kr_unpack_cache_key to parse cache key;
3. Fix the lua binding for cache.get and cache.clear.
daemon/bindings.c
lib/cache/api.c
lib/cache/api.h
lib/cache/cdb_lmdb.c