diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-08 16:55:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-15 18:19:25 +0200 |
commit | dccfcd0e5f8f37360ebda11ccc4dab164c04d5a3 (patch) | |
tree | 87fed71982c08112ae23dcc41bb19689af23cec2 /include/sysemu/bt.h | |
parent | bdee56f5466a724f043e6cfcfcf69866cc48cc94 (diff) |
sysemu: avoid proliferation of include/ subdirectories
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/sysemu/bt.h')
-rw-r--r-- | include/sysemu/bt.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 |