summaryrefslogtreecommitdiff
path: root/client/advertising.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-01-15 13:36:26 -0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-01-19 11:44:09 -0200
commitf309255a99231004e48900e39c66b7a0f94eeafd (patch)
tree158cca8e7463018a1f165b7410e615e53251dacc /client/advertising.h
parentaebb7e197384658d1a579442089bf8e52aa2e2c0 (diff)
downloadbluez-f309255a99231004e48900e39c66b7a0f94eeafd.tar.gz
client: Rename set-duration to duration
Make the command return the current value if no parameters: [bluetooth]# duration 1 [bluetooth]# duration Duration: 1 sec
Diffstat (limited to 'client/advertising.h')
-rw-r--r--client/advertising.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/advertising.h b/client/advertising.h
index 7edf4fd95..04fe38b1a 100644
--- a/client/advertising.h
+++ b/client/advertising.h
@@ -32,5 +32,5 @@ void ad_advertise_name(DBusConnection *conn, bool value);
void ad_advertise_appearance(DBusConnection *conn, bool value);
void ad_advertise_local_name(DBusConnection *conn, const char *name);
void ad_advertise_local_appearance(DBusConnection *conn, long int *value);
-void ad_advertise_duration(DBusConnection *conn, uint16_t value);
+void ad_advertise_duration(DBusConnection *conn, long int *value);
void ad_advertise_timeout(DBusConnection *conn, uint16_t value);