mirror of
https://github.com/qemu/qemu.git
synced 2024-12-18 09:43:38 +08:00
121d07125b
Header guard symbols should match their file name to make guard collisions less likely. Offenders found with scripts/clean-header-guards.pl -vn. Cleaned up with scripts/clean-header-guards.pl, followed by some renaming of new guard symbols picked by the script to better ones. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
21 lines
624 B
C
21 lines
624 B
C
#ifndef SYSEMU_BT_H
|
|
#define SYSEMU_BT_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
|