]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: add generic formatters for RRs into JSON
authorLennart Poettering <lennart@poettering.net>
Wed, 28 Sep 2022 15:17:23 +0000 (17:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 30 Sep 2022 12:22:15 +0000 (14:22 +0200)
commit1482c86a50cb9dadedd4cef6829717ebb3dfdfb1
tree71413efeb158e77340da24c19fa969c85eca090a
parentab26cdf730e7d5907d9c93cc24f9e7bad2dbbf18
resolved: add generic formatters for RRs into JSON

For now we can use it to send broken-down records of JSON via the
monitor logic, but one day we can certainly reuse for dumping the
caches, or to implement a ResolveRecord() varlink call one day.
src/resolve/resolved-dns-rr.c
src/resolve/resolved-dns-rr.h