chiark / gitweb /
bus: rework message struct to keep header with fields in same malloc() block
authorLennart Poettering <lennart@poettering.net>
Wed, 15 May 2013 00:56:45 +0000 (02:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 15 May 2013 00:56:45 +0000 (02:56 +0200)
commitc91cb83c4dbc9a95a0a2a38e7028e0a7f4af3b35
tree5bf44548260b437f5dc62549cc5a2ce33166dd20
parent9b29bb6853987bf6fef21531f69864fdfb39eb9a
bus: rework message struct to keep header with fields in same malloc() block

This allows us to guarantee that the first payload_vec we pass to the
kernel for each message is guaranteed to include the full header and all
its field.
src/libsystemd-bus/bus-kernel.c
src/libsystemd-bus/bus-message.c
src/libsystemd-bus/bus-message.h
src/libsystemd-bus/bus-socket.c