]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lib/cache: simplify passing qry/req parameters
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 22 Jul 2020 08:29:16 +0000 (10:29 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 12 Jun 2023 08:22:42 +0000 (10:22 +0200)
commit7ebe70eff3dd6a2eacd7290c56d1e8ddc19babfc
treeabca7d562c4932af1cbd5a6cd942bc112e27d6eb
parent24fe2ee4eb25ee5b14661d953b2e61cc9e6106c8
lib/cache: simplify passing qry/req parameters

- kr_layer_t isn't really useful in the inner functions
  (it's mainly useful through ->state when returning from layer)
- kr_query seems a little more suitable to pass than kr_request
lib/cache/entry_pkt.c
lib/cache/impl.h
lib/cache/peek.c