]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-netlink/netlink-message.c
netlink: rework containers
authorTom Gundersen <teg@jklm.no>
Thu, 25 Jun 2015 22:02:55 +0000 (00:02 +0200)
committerTom Gundersen <teg@jklm.no>
Sun, 28 Jun 2015 17:16:04 +0000 (19:16 +0200)
commitf663aeb80be485817c9d9071b49c64122fb11f19
tree3f7dbd6c75278f726b23f7fdf6fde225e45f1a8f
parent4203fc8b818e68113aed2f3dc0e47a00f4059a30
netlink: rework containers

Instead of representing containers as several arrays, make a new
netlink_container struct and keep one array of these structs. We
also introduce netlink_attribute structs that in the future will
hold meta-information about each atribute.
src/libsystemd/sd-netlink/netlink-internal.h
src/libsystemd/sd-netlink/netlink-message.c