summaryrefslogtreecommitdiff
path: root/lib/bluetooth-utils.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-12-06 11:53:41 +0100
committerBastien Nocera <hadess@hadess.net>2021-12-06 12:10:16 +0100
commitd1ce054e6275aaa9f30b81b2fb48cf8af0289b53 (patch)
tree24ca261bebb291d5c3e53f372226f31329190d81 /lib/bluetooth-utils.h
parentaadc8ed9badbda0fa3abe70d26c9352284fe940b (diff)
downloadgnome-bluetooth-d1ce054e6275aaa9f30b81b2fb48cf8af0289b53.tar.gz
lib: Modernise bluetooth_send_to_address()
Return success or error from the function, and require an address to be passed, now that bluetooth-sendto doesn't include a device chooser.
Diffstat (limited to 'lib/bluetooth-utils.h')
-rw-r--r--lib/bluetooth-utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bluetooth-utils.h b/lib/bluetooth-utils.h
index b4a4932f..efe091bf 100644
--- a/lib/bluetooth-utils.h
+++ b/lib/bluetooth-utils.h
@@ -33,5 +33,6 @@ const gchar *bluetooth_type_to_string (guint type);
gboolean bluetooth_verify_address (const char *bdaddr);
const char *bluetooth_uuid_to_string (const char *uuid);
-void bluetooth_send_to_address (const char *address,
- const char *alias);
+gboolean bluetooth_send_to_address (const char *address,
+ const char *alias,
+ GError **error);