chiark / gitweb /
sd-rtnl: multi-part message - store as linked-list rather than independent messages
authorTom Gundersen <teg@jklm.no>
Sun, 13 Apr 2014 19:37:53 +0000 (21:37 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 14 Apr 2014 15:53:21 +0000 (17:53 +0200)
commit1403f45ab61d6f2026a3a7a06b52a536c1b7a3b3
tree1cf724d533b29b06465a17534c8143040c6d896c
parente00d77ddd598ea6cbc2d512d143e9e4d98e62256
sd-rtnl: multi-part message - store as linked-list rather than independent messages

This means the API can stay the same as for single-part messages by simply passing the head message around. Unrefing
the head of the linked list unrefs the whole list.
src/libsystemd/sd-rtnl/rtnl-internal.h
src/libsystemd/sd-rtnl/rtnl-message.c
src/systemd/sd-rtnl.h