]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/worker: rework worker_request_*_source_session()
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 19 Apr 2021 16:22:14 +0000 (18:22 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 19 Apr 2021 16:55:07 +0000 (18:55 +0200)
commit91b3e7eaf514bda94247a6445c9f9101e208ae4d
tree58dace8233c3c076d23a7d0da8556254be5506c5
parentb6a6294310088c4b1e11f7c0744c2366d03af422
daemon/worker: rework worker_request_*_source_session()

I see no potential use for `set`; it's not a suitable abstraction.
And for `get` we want to use a pointer to the public type
instead of the private one.

Overall, worker.h has way too many stuff, but this branch is
not a good place to clean it up.
daemon/worker.c
daemon/worker.h