diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-03-07 03:39:16 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-03-07 03:39:16 +0000 |
commit | 66d4abbb3c5462ceb65148ea5ee13645d588d55e (patch) | |
tree | b6af99cbae368cd50514377bdc8a29a31d1246e3 /binding/bluetooth-api.h | |
parent | 0f98b3a52cf873c391e3287cee9fe614d02a2884 (diff) | |
parent | 5fca83cd4aca5f276be73d99cd5ca04302bed6f3 (diff) |
Merge "binding: bluetooth: add adapter_changes event"
Diffstat (limited to 'binding/bluetooth-api.h')
-rw-r--r-- | binding/bluetooth-api.h | 8 |
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) |