diff options
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) |