chiark / gitweb /
sd-rtnl: extend type system to allow address-family to decide the union members
authorTom Gundersen <teg@jklm.no>
Sun, 8 Feb 2015 11:37:05 +0000 (12:37 +0100)
committerTom Gundersen <teg@jklm.no>
Sun, 8 Feb 2015 16:43:39 +0000 (17:43 +0100)
commit4af7b60d428765c2d2c66c46f416f6dae55e9ddb
treeed1f20a91b4c4c5a87d73fbba4eb2f9c875ec65c
parent02f500532e4823584aae43cbe762914b4a0c0254
sd-rtnl: extend type system to allow address-family to decide the union members

So far we only supported selecting them by sibling attributes.

(This stuff is all a bit crazy, but there seems to be no other way...)
src/libsystemd/sd-rtnl/rtnl-message.c
src/libsystemd/sd-rtnl/rtnl-types.c
src/libsystemd/sd-rtnl/rtnl-types.h
src/libsystemd/sd-rtnl/test-rtnl.c
src/systemd/sd-rtnl.h