chiark / gitweb /
sd-bus: the attach_mask kernel module parameter is 64bit now, hence initialize it...
[elogind.git] / src / libsystemd / sd-bus / bus-dump.h
index 6af0ab066cbad9068a2177a5b1cba6b5a5b60a6b..d2522edebad8848dfa7d41c7963e747fc56258f7 100644 (file)
 
 #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_creds_dump(sd_bus_creds *c, FILE *f);
+int bus_message_dump(sd_bus_message *m, FILE *f, unsigned flags);
+
+int bus_creds_dump(sd_bus_creds *c, FILE *f, bool terse);
 
 int bus_pcap_header(size_t snaplen, FILE *f);
 int bus_message_pcap_frame(sd_bus_message *m, size_t snaplen, FILE *f);