summaryrefslogtreecommitdiff
path: root/emulator/btdev.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:01:43 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-10-29 15:01:43 -0700
commit09c2d256473079f0a7a8cabcc10fc0ede5928226 (patch)
tree4ef3dd4e4988e29f5db39a04cfc6244667cedeb0 /emulator/btdev.h
parent43ec488a22884a758f2254c28235aacacb96d5ee (diff)
downloadbluez-09c2d256473079f0a7a8cabcc10fc0ede5928226.tar.gz
emulator: Allow specifying controller type
Diffstat (limited to 'emulator/btdev.h')
-rw-r--r--emulator/btdev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulator/btdev.h b/emulator/btdev.h
index 7b211a2ce..b2f96cfc9 100644
--- a/emulator/btdev.h
+++ b/emulator/btdev.h
@@ -27,9 +27,13 @@
typedef void (*btdev_send_func) (const void *data, uint16_t len,
void *user_data);
+enum btdev_type {
+ BTDEV_TYPE_BREDR,
+};
+
struct btdev;
-struct btdev *btdev_create(uint16_t id);
+struct btdev *btdev_create(enum btdev_type type, uint16_t id);
void btdev_destroy(struct btdev *btdev);
void btdev_set_send_handler(struct btdev *btdev, btdev_send_func handler,