summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/opietooth2/bluezlib.h
blob: c43157492e8c629dacb864eac9e4516dba2c06f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef BLUEZLIB_H
#define BLUEZLIB_H

#include <signal.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>

extern "C" {
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/bnep.h>
#include <bluetooth/rfcomm.h>
}

#define BT_DISABLED 0
#define BT_ENABLED  1
#define BT_UNKNOWN  2
#define BTVALUE(x)       ((x)?BT_ENABLED:BT_DISABLED)

#endif