From dccfcd0e5f8f37360ebda11ccc4dab164c04d5a3 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 8 Apr 2013 16:55:25 +0200 Subject: sysemu: avoid proliferation of include/ subdirectories Signed-off-by: Paolo Bonzini --- include/sysemu/bt.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/sysemu/bt.h (limited to 'include/sysemu/bt.h') diff --git a/include/sysemu/bt.h b/include/sysemu/bt.h new file mode 100644 index 0000000000..2bc6d53cca --- /dev/null +++ b/include/sysemu/bt.h @@ -0,0 +1,20 @@ +#ifndef BT_HOST_H +#define BT_HOST_H + +/* BT HCI info */ + +struct HCIInfo { + int (*bdaddr_set)(struct HCIInfo *hci, const uint8_t *bd_addr); + void (*cmd_send)(struct HCIInfo *hci, const uint8_t *data, int len); + void (*sco_send)(struct HCIInfo *hci, const uint8_t *data, int len); + void (*acl_send)(struct HCIInfo *hci, const uint8_t *data, int len); + void *opaque; + void (*evt_recv)(void *opaque, const uint8_t *data, int len); + void (*acl_recv)(void *opaque, const uint8_t *data, int len); +}; + +/* bt-host.c */ +struct HCIInfo *bt_host_hci(const char *id); +struct HCIInfo *qemu_next_hci(void); + +#endif -- cgit v1.2.1