diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-10-25 13:06:27 +0100 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-23 08:49:14 -0800 |
commit | c3556c79e883a463dc5f7f6f8d10f0743f195f2b (patch) | |
tree | 7ec18a0b998d57572b06710a2cd377ab2f5ab7eb /binding/bluetooth-common.h | |
parent | 581932bfa33050cc6791069c06711f4996ac1308 (diff) |
binding: bluetooth: add return_bluez_path function
Concatenate adapter and device parameters to return a bluez path for
usage within the binding's dbus calls.
Bug-AGL: SPEC-1630
Change-Id: I4c96fa48baaf12b23aac98ba35f1ca82f7005bcb
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-common.h')
-rw-r--r-- | binding/bluetooth-common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/bluetooth-common.h b/binding/bluetooth-common.h index faa9558..bd64f83 100644 --- a/binding/bluetooth-common.h +++ b/binding/bluetooth-common.h @@ -112,6 +112,8 @@ json_object *simple_gvariant_to_json(GVariant *var, json_object *parent, void json_process_path(json_object *jresp, const char *path); +gchar *return_bluez_path(afb_req_t request); + /** * Structure for converting from dbus properties to json * and vice-versa. |