summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/bus-dump.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-10-30 01:13:11 +0100
committerLennart Poettering <lennart@poettering.net>2014-10-30 01:13:54 +0100
commit1f70b0876a9388f38422c12fa0c73761559d9425 (patch)
tree5833f283fd4adec22828f545f585033245856229 /src/libsystemd/sd-bus/bus-dump.h
parent1ab19cb167b32967556eefd8f6d3df0e3de7d67d (diff)
busctl: add new "capture" verb to record bus messages in libpcap compatible files, for dissection with wireshark
Diffstat (limited to 'src/libsystemd/sd-bus/bus-dump.h')
-rw-r--r--src/libsystemd/sd-bus/bus-dump.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/bus-dump.h b/src/libsystemd/sd-bus/bus-dump.h
index bb1d25dc42..6af0ab066c 100644
--- a/src/libsystemd/sd-bus/bus-dump.h
+++ b/src/libsystemd/sd-bus/bus-dump.h
@@ -29,3 +29,6 @@
int bus_message_dump(sd_bus_message *m, FILE *f, bool with_header);
int bus_creds_dump(sd_bus_creds *c, FILE *f);
+
+int bus_pcap_header(size_t snaplen, FILE *f);
+int bus_message_pcap_frame(sd_bus_message *m, size_t snaplen, FILE *f);