diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-07-07 16:50:07 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-07-07 16:50:07 +0000 |
commit | 20f65cf4e0ab67ac3e528d84a877a5fe6161904a (patch) | |
tree | 65def04cf7021baf8b72013dcfb320ed9fa79cef /hcid/hcid.h | |
parent | e2a54220b404119a2516a3cac5edc5b2bcf6089a (diff) |
Send D-Bus messages for inquiry results and remote name resolves
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r-- | hcid/hcid.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h index c64016ea..5e835807 100644 --- a/hcid/hcid.h +++ b/hcid/hcid.h @@ -121,8 +121,17 @@ void stop_security_manager(int hdev); void toggle_pairing(int enable); #ifdef ENABLE_DBUS -void hcid_dbus_request_pin(int dev, struct hci_conn_info *ci); gboolean hcid_dbus_init(void); +void hcid_dbus_request_pin(int dev, struct hci_conn_info *ci); +void hcid_dbus_inquiry_result(const bdaddr_t *local, const bdaddr_t *peer); +void hcid_dbus_remote_name(const bdaddr_t *local, const bdaddr_t *peer, const char *name); +#else +static inline void hcid_dbus_inquiry_result(const bdaddr_t *local, const bdaddr_t *peer) +{ +} +static inline void hcid_dbus_remote_name(const bdaddr_t *local, const bdaddr_t *peer, const char *name) +{ +} #endif int write_device_name(const bdaddr_t *local, const bdaddr_t *peer, const char *name); |