summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-03-11 03:30:33 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-03-11 03:30:33 +0000
commitf8487ab41a830bd493971f2a8c7b0437444aff76 (patch)
tree6cb8c120ae787d85199013be59393ca223812421 /hcid/dbus.h
parentaa719db59be4fc8d324ad33f3e418f0283a8923b (diff)
Move to new PasscodeAgent interface
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r--hcid/dbus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h
index 6c32f2da..86008489 100644
--- a/hcid/dbus.h
+++ b/hcid/dbus.h
@@ -26,6 +26,7 @@
#include <stdint.h>
#include <dbus/dbus.h>
+#include <bluetooth/bluetooth.h>
#define BASE_PATH "/org/bluez"
#define BASE_INTERFACE "org.bluez"
@@ -127,6 +128,8 @@ DBusHandlerResult handle_security_method(DBusConnection *conn, DBusMessage *msg,
service_handler_func_t find_service_handler(struct service_data *services, DBusMessage *msg);
+int call_default_passkey_agent(int dev, const char *path, bdaddr_t *sba, bdaddr_t *dba);
+
static inline DBusHandlerResult send_reply_and_unref(DBusConnection *conn, DBusMessage *reply)
{
if (reply) {