summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiroslav Rezanina <mrezanin@redhat.com>2013-09-03 11:23:08 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-09-10 11:14:41 +0200
commit644e1a8a34d2f799bfeefae94b71593a2aa662ae (patch)
tree0979c9a61023be59e703f47e888b75a8face7773 /include
parentc60174e847082ab9f70720f86509a3353f816fad (diff)
downloadqemu-644e1a8a34d2f799bfeefae94b71593a2aa662ae.zip
Preparation for usb-bt-dongle conditional build
To allow disable usb-bt-dongle device using CONFIG_BLUETOOTH option, some of functions in vl.c file has to be made accessible in dev-bluetooth.c. This is pure code moving. Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/bt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/bt.h b/include/hw/bt.h
index 3f365bcbcb..cb2a7e6579 100644
--- a/include/hw/bt.h
+++ b/include/hw/bt.h
@@ -108,12 +108,15 @@ struct bt_device_s {
uint16_t clkoff; /* Note: Always little-endian */
};
+extern struct HCIInfo null_hci;
/* bt.c */
void bt_device_init(struct bt_device_s *dev, struct bt_scatternet_s *net);
void bt_device_done(struct bt_device_s *dev);
+struct bt_scatternet_s *qemu_find_bt_vlan(int id);
/* bt-hci.c */
struct HCIInfo *bt_new_hci(struct bt_scatternet_s *net);
+struct HCIInfo *hci_init(const char *str);
/* bt-vhci.c */
void bt_vhci_init(struct HCIInfo *info);