aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorScott James Remnant <scott@netsplit.com>2012-04-05 15:29:37 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2012-04-12 14:10:07 +0300
commit431a2352093e2b3de157d9baba69ab94f9a66e0d (patch)
tree19a77a45cee689b698ea1fd6e834378bc8bf9670 /plugins
parentddfe9fccbfc4d69aaede30628e393ac8c51e3a98 (diff)
downloadbluez-431a2352093e2b3de157d9baba69ab94f9a66e0d.tar.gz
bluez-431a2352093e2b3de157d9baba69ab94f9a66e0d.tar.xz
bluez-431a2352093e2b3de157d9baba69ab94f9a66e0d.zip
Add display parameter to plugin pincode callback
Pass a display parameter to the plugin pincode callback, a plugin may set this to TRUE to indicate the PIN it generates should be displayed on the screen for entry into the remote device.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wiimote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wiimote.c b/plugins/wiimote.c
index 568bfd56..9c69c6d1 100644
--- a/plugins/wiimote.c
+++ b/plugins/wiimote.c
@@ -57,7 +57,7 @@
*/
static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device,
- char *pinbuf)
+ char *pinbuf, gboolean *display)
{
uint16_t vendor, product;
bdaddr_t sba, dba;