summaryrefslogtreecommitdiff
path: root/lib/bluetooth-agent.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-11-15 20:48:38 +0100
committerBastien Nocera <hadess@hadess.net>2013-11-25 12:31:15 +0100
commit2e510d83ba75553b3c312af31eb2204d64a4d212 (patch)
treef928cf036ef977785db7779a8cc0c314129b61d5 /lib/bluetooth-agent.h
parent831a4b503d9102cfa715e7845cf891dd95bb54b8 (diff)
downloadgnome-bluetooth-2e510d83ba75553b3c312af31eb2204d64a4d212.tar.gz
lib: Add DisplayPinCode support
https://bugzilla.gnome.org/show_bug.cgi?id=712387
Diffstat (limited to 'lib/bluetooth-agent.h')
-rw-r--r--lib/bluetooth-agent.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bluetooth-agent.h b/lib/bluetooth-agent.h
index 1c0fbf49..6f0d5e69 100644
--- a/lib/bluetooth-agent.h
+++ b/lib/bluetooth-agent.h
@@ -66,6 +66,9 @@ typedef gboolean (*BluetoothAgentPasskeyFunc) (GDBusMethodInvocation *invocation
typedef gboolean (*BluetoothAgentDisplayFunc) (GDBusMethodInvocation *invocation,
GDBusProxy *device, guint passkey,
guint entered, gpointer data);
+typedef gboolean (*BluetoothAgentDisplayPinCodeFunc) (GDBusMethodInvocation *invocation,
+ GDBusProxy *device, const char *pincode,
+ gpointer data);
typedef gboolean (*BluetoothAgentConfirmFunc) (GDBusMethodInvocation *invocation,
GDBusProxy *device, guint passkey,
gpointer data);
@@ -83,6 +86,8 @@ void bluetooth_agent_set_passkey_func(BluetoothAgent *agent,
BluetoothAgentPasskeyFunc func, gpointer data);
void bluetooth_agent_set_display_func(BluetoothAgent *agent,
BluetoothAgentDisplayFunc func, gpointer data);
+void bluetooth_agent_set_display_pincode_func(BluetoothAgent *agent,
+ BluetoothAgentDisplayPinCodeFunc func, gpointer data);
void bluetooth_agent_set_confirm_func(BluetoothAgent *agent,
BluetoothAgentConfirmFunc func, gpointer data);
void bluetooth_agent_set_authorize_func(BluetoothAgent *agent,