summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/bluezlib.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/bluezlib.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/opietooth2/bluezlib.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/opietooth2/bluezlib.h b/noncore/settings/networksettings2/opietooth2/bluezlib.h
new file mode 100644
index 0000000..c431574
--- a/dev/null
+++ b/noncore/settings/networksettings2/opietooth2/bluezlib.h
@@ -0,0 +1,28 @@
1#ifndef BLUEZLIB_H
2#define BLUEZLIB_H
3
4#include <signal.h>
5#include <errno.h>
6#include <sys/ioctl.h>
7#include <sys/socket.h>
8#include <fcntl.h>
9#include <unistd.h>
10#include <stdlib.h>
11
12extern "C" {
13#include <bluetooth/bluetooth.h>
14#include <bluetooth/hci.h>
15#include <bluetooth/hci_lib.h>
16#include <bluetooth/sdp.h>
17#include <bluetooth/sdp_lib.h>
18#include <bluetooth/l2cap.h>
19#include <bluetooth/bnep.h>
20#include <bluetooth/rfcomm.h>
21}
22
23#define BT_DISABLED 0
24#define BT_ENABLED 1
25#define BT_UNKNOWN 2
26#define BTVALUE(x) ((x)?BT_ENABLED:BT_DISABLED)
27
28#endif