diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-14 17:20:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-14 17:52:40 +0100 |
commit | d55192add75584f55932ad463ee6b4cc30370c63 (patch) | |
tree | b805144843430569dcc118ba1e5071a19bc1b60b /src/libsystemd/sd-bus/test-bus-marshal.c | |
parent | 2e75e2a8f56d0d5340dc9fb6fed1f6c4b37c495f (diff) |
busctl: introduce busctl "get-property" command for reading and dumping object properties
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-marshal.c')
-rw-r--r-- | src/libsystemd/sd-bus/test-bus-marshal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-marshal.c b/src/libsystemd/sd-bus/test-bus-marshal.c index 9532112524..8cefc7a154 100644 --- a/src/libsystemd/sd-bus/test-bus-marshal.c +++ b/src/libsystemd/sd-bus/test-bus-marshal.c @@ -148,10 +148,10 @@ int main(int argc, char *argv[]) { r = bus_message_seal(m, 4711, 0); assert_se(r >= 0); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); ms = open_memstream(&first, &first_size); - bus_message_dump(m, ms, false); + bus_message_dump(m, ms, 0); fflush(ms); assert_se(!ferror(ms)); @@ -201,11 +201,11 @@ int main(int argc, char *argv[]) { r = bus_message_from_malloc(bus, buffer, sz, NULL, 0, NULL, NULL, &m); assert_se(r >= 0); - bus_message_dump(m, stdout, true); + bus_message_dump(m, stdout, BUS_MESSAGE_DUMP_WITH_HEADER); fclose(ms); ms = open_memstream(&second, &second_size); - bus_message_dump(m, ms, false); + bus_message_dump(m, ms, 0); fflush(ms); assert_se(!ferror(ms)); assert_se(first_size == second_size); @@ -285,7 +285,7 @@ int main(int argc, char *argv[]) { fclose(ms); ms = open_memstream(&third, &third_size); - bus_message_dump(copy, ms, false); + bus_message_dump(copy, ms, 0); fflush(ms); assert_se(!ferror(ms)); |