summaryrefslogtreecommitdiff
path: root/client/print.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-11-30 16:04:05 -0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-02 11:20:26 -0800
commita4bde19d3bd809337eacead3f2c5922a873cee9d (patch)
treef0065a3f1b2b0e3a31757cf397dd6b9f10c92a0b /client/print.h
parentf28433d448fa9ae33305d87f112a1b8abb7c6b17 (diff)
downloadbluez-a4bde19d3bd809337eacead3f2c5922a873cee9d.tar.gz
client: Move common print_* functions to its own file
This move common print_* functions to its own file so they can be properly reused instead of duplicating the code.
Diffstat (limited to 'client/print.h')
-rw-r--r--client/print.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/client/print.h b/client/print.h
new file mode 100644
index 000000000..c0866d06c
--- /dev/null
+++ b/client/print.h
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ *
+ * BlueZ - Bluetooth protocol stack for Linux
+ *
+ * Copyright (C) 2022 Intel Corporation. All rights reserved.
+ *
+ *
+ */
+
+void print_property(GDBusProxy *proxy, const char *name);
+void print_property_with_label(GDBusProxy *proxy, const char *name,
+ const char *label);
+void print_iter(const char *label, const char *name, DBusMessageIter *iter);