]> Git Repo - qemu.git/blame - include/sysemu/bt.h
vhost-user-blk: Add support to reconnect backend
[qemu.git] / include / sysemu / bt.h
CommitLineData
121d0712
MA
1#ifndef SYSEMU_BT_H
2#define SYSEMU_BT_H
5ef4efa4 3
090f7ac5
PB
4/* BT HCI info */
5
bc8c49d3 6typedef struct HCIInfo {
090f7ac5
PB
7 int (*bdaddr_set)(struct HCIInfo *hci, const uint8_t *bd_addr);
8 void (*cmd_send)(struct HCIInfo *hci, const uint8_t *data, int len);
9 void (*sco_send)(struct HCIInfo *hci, const uint8_t *data, int len);
10 void (*acl_send)(struct HCIInfo *hci, const uint8_t *data, int len);
11 void *opaque;
12 void (*evt_recv)(void *opaque, const uint8_t *data, int len);
13 void (*acl_recv)(void *opaque, const uint8_t *data, int len);
bc8c49d3 14} HCIInfo;
5ef4efa4
AJ
15
16/* bt-host.c */
17struct HCIInfo *bt_host_hci(const char *id);
090f7ac5 18struct HCIInfo *qemu_next_hci(void);
5ef4efa4
AJ
19
20#endif
This page took 0.514912 seconds and 4 git commands to generate.