diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-06-14 17:56:41 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-06-19 08:53:00 -0700 |
commit | 30b84ed96f8fc03fc5a73bbe97a86d76899ab8cc (patch) | |
tree | 3967da514a77ba4f1c4e186111ef44bc1197d2f3 /binding/bluetooth-map-api.h | |
parent | a9584f072945bfda5d7741d43cb870dcb291fd70 (diff) |
binding: bluetooth-map: add message access support
Add support for retrieving messages, and listing handles of
messages located in folders.
SPEC-2512
Change-Id: Ia345488b51f5cac1e1c2fd508305d7ffda794251
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-map-api.h')
-rw-r--r-- | binding/bluetooth-map-api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binding/bluetooth-map-api.h b/binding/bluetooth-map-api.h index d5b20a1..5e373ba 100644 --- a/binding/bluetooth-map-api.h +++ b/binding/bluetooth-map-api.h @@ -116,6 +116,14 @@ static inline gboolean transfer_property_dbus2json(json_object *jprop, jprop, key, var, is_config, error); } +static inline gboolean message_property_dbus2json(json_object *jprop, + const gchar *key, GVariant *var, gboolean *is_config, + GError **error) +{ + return bluez_property_dbus2json(BLUEZ_AT_MESSAGE, + jprop, key, var, is_config, error); +} + static inline json_object *object_properties(struct map_state *ns, GError **error) { |