summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-04-28 14:53:01 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-04-28 14:53:01 +0000
commit7a2ad6681fd5892577fe7d9c80d13eca96e99541 (patch)
tree8c9336afb948bdf0807fe45746ead93db9964a6e /hcid/hcid.h
parent403066f6cd6f4df68f68178acc2db0926370e95c (diff)
Make D-Bus a mandatory requirement
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index e8765eae..d1c69c1d 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -142,7 +142,6 @@ void toggle_pairing(int enable);
void set_pin_length(bdaddr_t *sba, int length);
-#ifdef ENABLE_DBUS
gboolean hcid_dbus_init(void);
void hcid_dbus_exit(void);
gboolean hcid_dbus_register_device(uint16_t id);
@@ -161,18 +160,6 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, const u
void hcid_dbus_create_conn_cancel(bdaddr_t *local, void *ptr);
void hcid_dbus_setname_complete(bdaddr_t *local);
void hcid_dbus_setscan_enable_complete(bdaddr_t *local);
-#else
-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, uint8_t status, char *name) {}
-static inline void hcid_dbus_conn_complete(bdaddr_t *local, uint8_t status, uint16_t handle, bdaddr_t *peer) {}
-static inline void hcid_dbus_disconn_complete(bdaddr_t *local, bdaddr_t *peer, uint16_t handle, uint8_t reason) {}
-static inline void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, const uint8_t status) {}
-static inline void hcid_dbus_create_conn_cancel(bdaddr_t *local, void *ptr) {}
-static inline void hcid_dbus_setname_complete(bdaddr_t *local) {}
-static inline void hcid_dbus_setscan_enable_complete(bdaddr_t *local) {}
-#endif
void init_devices(void);
int add_device(uint16_t dev_id);