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/bus-dump.h | |
parent | 2e75e2a8f56d0d5340dc9fb6fed1f6c4b37c495f (diff) |
busctl: introduce busctl "get-property" command for reading and dumping object properties
Diffstat (limited to 'src/libsystemd/sd-bus/bus-dump.h')
-rw-r--r-- | src/libsystemd/sd-bus/bus-dump.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-dump.h b/src/libsystemd/sd-bus/bus-dump.h index 6af0ab066c..360c844cf9 100644 --- a/src/libsystemd/sd-bus/bus-dump.h +++ b/src/libsystemd/sd-bus/bus-dump.h @@ -26,7 +26,12 @@ #include "sd-bus.h" -int bus_message_dump(sd_bus_message *m, FILE *f, bool with_header); +enum { + BUS_MESSAGE_DUMP_WITH_HEADER = 1, + BUS_MESSAGE_DUMP_SUBTREE_ONLY = 2, +}; + +int bus_message_dump(sd_bus_message *m, FILE *f, unsigned flags); int bus_creds_dump(sd_bus_creds *c, FILE *f); |