mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
bc8c49d34d
Files requiring HCIInfo already include "sysemu/bt.h". To clean "qemu/typedefs.h", move the declaration to "sysemu/bt.h" (removing the forward declaration). Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
21 lines
640 B
C
21 lines
640 B
C
#ifndef SYSEMU_BT_H
|
|
#define SYSEMU_BT_H
|
|
|
|
/* BT HCI info */
|
|
|
|
typedef 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);
|
|
} HCIInfo;
|
|
|
|
/* bt-host.c */
|
|
struct HCIInfo *bt_host_hci(const char *id);
|
|
struct HCIInfo *qemu_next_hci(void);
|
|
|
|
#endif
|