summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 3ba69833..4a433984 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -123,21 +123,21 @@ void toggle_pairing(int enable);
#ifdef ENABLE_DBUS
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, const uint32_t class, const int8_t rssi);
-void hcid_dbus_remote_name(const bdaddr_t *local, const bdaddr_t *peer, const char *name);
+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);
#else
-static inline void hcid_dbus_inquiry_result(const bdaddr_t *local, const bdaddr_t *peer, uint32_t class, const int8_t rssi)
+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(const bdaddr_t *local, const bdaddr_t *peer, const char *name)
+static inline void hcid_dbus_remote_name(bdaddr_t *local, bdaddr_t *peer, char *name)
{
}
#endif
-int write_device_name(const bdaddr_t *local, const bdaddr_t *peer, const char *name);
-int read_device_name(const bdaddr_t *local, const bdaddr_t *peer, char *name);
-int write_version_info(const bdaddr_t *local, const bdaddr_t *peer, const uint16_t manufacturer, const uint8_t lmp_ver, const uint16_t lmp_subver);
-int write_features_info(const bdaddr_t *local, const bdaddr_t *peer, const unsigned char *features);
-int write_link_key(const bdaddr_t *local, const bdaddr_t *peer, const unsigned char *key, const int type);
-int read_link_key(const bdaddr_t *local, const bdaddr_t *peer, unsigned char *key);
-int read_pin_code(const bdaddr_t *local, const bdaddr_t *peer, char *pin);
+int write_device_name(bdaddr_t *local, bdaddr_t *peer, char *name);
+int read_device_name(bdaddr_t *local, bdaddr_t *peer, char *name);
+int write_version_info(bdaddr_t *local, bdaddr_t *peer, uint16_t manufacturer, uint8_t lmp_ver, uint16_t lmp_subver);
+int write_features_info(bdaddr_t *local, bdaddr_t *peer, unsigned char *features);
+int write_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, int type);
+int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key);
+int read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin);