summaryrefslogtreecommitdiff
path: root/android/tester-hidhost.c
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-07-24 10:38:06 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-24 13:14:13 +0300
commit4af83746c378a9aa2fe21d2b4a1c864e75e6cffa (patch)
treeb691e2dbe57e08a0be44fc6718fa8472ce7b8c05 /android/tester-hidhost.c
parentabe7582c42012b26e5ecd14a0ff704c75a667cde (diff)
downloadbluez-4af83746c378a9aa2fe21d2b4a1c864e75e6cffa.tar.gz
android/tester-ng: Add socket connect success cases
Adding socket connect cases requires to set up the the l2cap and rfcomm servers on the emulated device. For this, the bthost_l2cap_connect_cb type had to exposed in tester-main.h and pulled some bthost dependencies along.
Diffstat (limited to 'android/tester-hidhost.c')
-rw-r--r--android/tester-hidhost.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/tester-hidhost.c b/android/tester-hidhost.c
index a32b0df37..59ff01cfb 100644
--- a/android/tester-hidhost.c
+++ b/android/tester-hidhost.c
@@ -15,6 +15,9 @@
*
*/
+#include <stdbool.h>
+
+#include "emulator/bthost.h"
#include "tester-main.h"
static struct queue *list; /* List of hidhost test cases */