summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
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);