]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: add dns_resource_key_from_json() helper
authorLennart Poettering <lennart@poettering.net>
Mon, 12 Jun 2023 14:44:40 +0000 (16:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Jun 2023 20:21:26 +0000 (22:21 +0200)
commitce74fb09050831b6e76e134620f5caadff3b25ef
tree3921a4a4477b722c232543166908218235e4cb06
parente0930aa6ffabb0931d7e9e387b180fca8756ad8e
resolved: add dns_resource_key_from_json() helper

It reverse what dns_resource_key_to_json(), i.e. turns JSON data into a
parsed DnsResourceKey object.

Ultimately this just moves a client-side local wrapper into generic
code. Nothing truly new here.
src/resolve/resolvectl.c
src/resolve/resolved-dns-rr.c
src/resolve/resolved-dns-rr.h