resolved: add DNS_RESOURCE_KEY_TO_STRING() macro helper
authorLennart Poettering <lennart@poettering.net>
Mon, 12 Jun 2023 14:45:25 +0000 (16:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Jun 2023 20:21:26 +0000 (22:21 +0200)
commit25165c1deaaa69ba10a8231200739b9d932f78a7
tree6f7b819acd9fea0eab4ddce1d169d9da7d27a8b3
parentce74fb09050831b6e76e134620f5caadff3b25ef
resolved: add DNS_RESOURCE_KEY_TO_STRING() macro helper

This does the usual compound init trick to get formatted strings of
stuff.

We should probably port various pieces of code over to using this.
src/resolve/resolved-dns-rr.h