summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-03-15 15:02:00 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-03-15 15:02:00 +0000
commitfc357026e41c38108fd7aed60dba0fd53adf1544 (patch)
tree9d0d424b6a563242b5dec272b15074d79da08765 /hcid/dbus.h
parent7b8a634126a3aa79e08d9d35d207f55016f9bda9 (diff)
Connect rfcomm handler to adapter path
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r--hcid/dbus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h
index 3be9741d..c791e112 100644
--- a/hcid/dbus.h
+++ b/hcid/dbus.h
@@ -42,6 +42,8 @@
#define SECURITY_INTERFACE BASE_INTERFACE ".Security"
+#define RFCOMM_INTERFACE BASE_INTERFACE ".RFCOMM"
+
#define MANAGER_PATH_MASK (1 << 15)
#define ADAPTER_PATH_MASK (1 << 14)
@@ -137,6 +139,8 @@ int name_listener_remove(DBusConnection *connection, const char *name,
DBusHandlerResult handle_security_method(DBusConnection *conn, DBusMessage *msg, void *data);
+DBusHandlerResult handle_rfcomm_method(DBusConnection *conn, DBusMessage *msg, void *data);
+
service_handler_func_t find_service_handler(struct service_data *services, DBusMessage *msg);
int handle_passkey_request(int dev, const char *path, bdaddr_t *sba, bdaddr_t *dba);