summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-dump.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-12 12:11:24 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-12 12:11:24 +0100
commit3db0e46b0de5e46922ebbbd77de4d3d1214bcc9a (patch)
tree5ecc965757d89962737205217e1acb8535549d0f /src/libsystemd-bus/bus-dump.h
parent2b5c5383e48137d748681645ad7176f02b50ba30 (diff)
bus: add missing dump.[ch]
Diffstat (limited to 'src/libsystemd-bus/bus-dump.h')
-rw-r--r--src/libsystemd-bus/bus-dump.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libsystemd-bus/bus-dump.h b/src/libsystemd-bus/bus-dump.h
new file mode 100644
index 0000000000..51aa6aad4a
--- /dev/null
+++ b/src/libsystemd-bus/bus-dump.h
@@ -0,0 +1,29 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2013 Lennart Poettering
+
+ systemd is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+
+ systemd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+#include <stdio.h>
+#include <stdbool.h>
+
+#include "sd-bus.h"
+
+int bus_message_dump(sd_bus_message *m, FILE *f, bool with_header);