]> git.ipfire.org Git - thirdparty/systemd.git/commit
json-util: introduce json_dispatch_in_addr_data
authorNick Rosbrook <enr0n@ubuntu.com>
Tue, 23 Jun 2026 16:02:19 +0000 (12:02 -0400)
committerNick Rosbrook <enr0n@ubuntu.com>
Fri, 26 Jun 2026 13:12:10 +0000 (09:12 -0400)
commit3f73f1ef75d5c8da66eda2cff270676e70becf9b
tree237fc2889a571bff7d522d803fadf04a217fb979
parentc5f08a2e5cf1f246c908ddaaefbccdcfbdbaa754
json-util: introduce json_dispatch_in_addr_data

Generalize json_dispatch_address from nss-resolve, and add support for
strings to be compatible with the existing json_dispatch_{in,in6}_addr
helpers. This will be used in a later commit.
src/libsystemd/sd-json/json-util.c
src/libsystemd/sd-json/json-util.h
src/libsystemd/sd-json/test-json.c