summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth/bluetooth-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding-bluetooth/bluetooth-manager.h')
-rw-r--r--binding-bluetooth/bluetooth-manager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/binding-bluetooth/bluetooth-manager.h b/binding-bluetooth/bluetooth-manager.h
index b11b11d..ed02b28 100644
--- a/binding-bluetooth/bluetooth-manager.h
+++ b/binding-bluetooth/bluetooth-manager.h
@@ -20,6 +20,7 @@
#include <glib.h>
#include <gio/gio.h>
#include <glib-object.h>
+#include <sys/ioctl.h>
/* Debug Trace Level */
#define DT_LEVEL_ERROR (1 << 1)
@@ -119,6 +120,12 @@
#define ERROR_BLUEZ_REJECT "org.bluez.Error.Rejected"
#define ERROR_BLUEZ_CANCELED "org.bluez.Error.Canceled"
+
+#define HCIDEVUP _IOW('H', 201, int)
+
+#define AF_BLUETOOTH 31
+#define BTPROTO_HCI 1
+
#if 0
void DebugTraceSendMsg(int level, gchar* message);
#else
@@ -153,6 +160,7 @@ struct btd_device {
typedef struct {
gboolean inited;
GMutex m;
+ gint watch;
GSList * device;
} stBluetoothManage;