summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-10-22 12:56:13 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-10-22 12:56:13 +0000
commitd2506e5078e02804484d5e416e23a49fb646151b (patch)
treec57cf3822556660b1b4afdc233237a29b87f0235 /hcid/hcid.h
parent97a6bcbbe32c89438f4f54e47b376c75e2949763 (diff)
Make the remote name resolve non-blocking
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index d407c4c7..048a0aed 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -132,6 +132,7 @@ void hcid_dbus_inquiry_start(bdaddr_t *local);
void hcid_dbus_inquiry_complete(bdaddr_t *local);
void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class, int8_t rssi);
void hcid_dbus_remote_name(bdaddr_t *local, bdaddr_t *peer, char *name);
+void hcid_dbus_remote_name_failed(bdaddr_t *local, bdaddr_t *peer, uint8_t status);
void hcid_dbus_conn_complete(bdaddr_t *local, bdaddr_t *peer);
void hcid_dbus_disconn_complete(bdaddr_t *local, bdaddr_t *peer, uint8_t reason);
#else
@@ -139,6 +140,7 @@ static inline void hcid_dbus_inquiry_start(bdaddr_t *local) {}
static inline void hcid_dbus_inquiry_complete(bdaddr_t *local) {}
static inline void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class, int8_t rssi) {}
static inline void hcid_dbus_remote_name(bdaddr_t *local, bdaddr_t *peer, char *name) {}
+static inline void hcid_dbus_remote_name_failed(bdaddr_t *local, bdaddr_t *peer, uint8_t status) {}
static inline void hcid_dbus_conn_complete(bdaddr_t *local, bdaddr_t *peer) {}
static inline void hcid_dbus_disconn_complete(bdaddr_t *local, bdaddr_t *peer, uint8_t reason) {}
#endif