summaryrefslogtreecommitdiffstats
path: root/hcid/dbus.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-04 20:33:44 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-09-04 20:33:44 +0000
commitee054b5500ecbb56672e1c2674167b295d489c2c (patch)
tree46cf82c78a68dc9afd274f638e1667ffbfd6b0a1 /hcid/dbus.h
parent287671bee4169d7c247b680b59ffe09300e9ae9c (diff)
Fixed CancelDiscovery
Diffstat (limited to 'hcid/dbus.h')
-rw-r--r--hcid/dbus.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hcid/dbus.h b/hcid/dbus.h
index 4dc0ff51..ecaf008b 100644
--- a/hcid/dbus.h
+++ b/hcid/dbus.h
@@ -73,8 +73,9 @@ typedef enum {
typedef enum {
NAME_ANY,
- NAME_PENDING,
- NAME_SENT
+ NAME_PENDING, /* remote name needs be resolved */
+ NAME_REQUESTED, /* HCI remote name request was sent */
+ NAME_SENT /* D-Bus signal RemoteNameUpdated sent */
} name_status_t;
struct discovered_dev_info {
@@ -225,6 +226,7 @@ int active_conn_find_by_bdaddr(const void *data, const void *user_data);
void bonding_request_free(struct bonding_request_info *dev);
int pending_bonding_cmp(const void *p1, const void *p2);
int disc_device_append(struct slist **list, bdaddr_t *bdaddr, name_status_t name_status, int discover_type);
+int disc_device_find(const struct discovered_dev_info *d1, const struct discovered_dev_info *d2);
int disc_device_req_name(struct hci_dbus_data *dbus_data);
int discoverable_timeout_handler(void *data);