[systemd-devel] [PATCH 2/3] bus: add sd_bus_message_end_of_container
Lennart Poettering
lennart at poettering.net
Tue Nov 5 10:38:08 PST 2013
On Tue, 05.11.13 21:42, Marc-Antoine Perennou (Marc-Antoine at Perennou.com) wrote:
> Useful to check whether there are still things to read or not,
> in order to be able not to allocate when not needed, when reading
> arrays or such.
> Will soon be used in systemctl
I added a similar call now "sd_bus_message_at_end()" which is a bit more
powerful, as it allows checking whether we are at the end of the entire
message in addition to just the current container. I also made sure we
actually check for the end of arrays too.
Thanks!
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list