aboutsummaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-api.h
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-07 03:39:16 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-03-07 03:39:16 +0000
commit66d4abbb3c5462ceb65148ea5ee13645d588d55e (patch)
treeb6af99cbae368cd50514377bdc8a29a31d1246e3 /binding/bluetooth-api.h
parent0f98b3a52cf873c391e3287cee9fe614d02a2884 (diff)
parent5fca83cd4aca5f276be73d99cd5ca04302bed6f3 (diff)
Merge "binding: bluetooth: add adapter_changes event"
Diffstat (limited to 'binding/bluetooth-api.h')
-rw-r--r--binding/bluetooth-api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/binding/bluetooth-api.h b/binding/bluetooth-api.h
index 31418ae..6b24d13 100644
--- a/binding/bluetooth-api.h
+++ b/binding/bluetooth-api.h
@@ -194,6 +194,14 @@ static inline gboolean device_property_dbus2json(json_object *jprop,
jprop, key, var, is_config, error);
}
+static inline gboolean adapter_property_dbus2json(json_object *jprop,
+ const gchar *key, GVariant *var, gboolean *is_config,
+ GError **error)
+{
+ return bluez_property_dbus2json(BLUEZ_AT_ADAPTER,
+ jprop, key, var, is_config, error);
+}
+
static inline gboolean agent_property_dbus2json(json_object *jprop,
const gchar *key, GVariant *var, gboolean *is_config,
GError **error)