summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarc-André Lureau2019-09-27 10:16:54 +0200
committerMarc-André Lureau2020-01-06 15:41:32 +0100
commita5021d6991d9a573f6a47f2c1bfd45c586b89774 (patch)
tree7f0d2c9021f38fdb5ca8668a7817420ae05e1473 /include
parentdocs: start a document to describe D-Bus usage (diff)
downloadqemu-a5021d6991d9a573f6a47f2c1bfd45c586b89774.tar.gz
qemu-a5021d6991d9a573f6a47f2c1bfd45c586b89774.tar.xz
qemu-a5021d6991d9a573f6a47f2c1bfd45c586b89774.zip
util: add dbus helper unit
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/dbus.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/qemu/dbus.h b/include/qemu/dbus.h
new file mode 100644
index 0000000000..9d591f9ee4
--- /dev/null
+++ b/include/qemu/dbus.h
@@ -0,0 +1,19 @@
+/*
+ * Helpers for using D-Bus
+ *
+ * Copyright (C) 2019 Red Hat, Inc.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.
+ */
+
+#ifndef DBUS_H
+#define DBUS_H
+
+#include <gio/gio.h>
+
+GStrv qemu_dbus_get_queued_owners(GDBusConnection *connection,
+ const char *name,
+ Error **errp);
+
+#endif /* DBUS_H */