author | wimpie <wimpie> | 2005-01-04 01:44:52 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-04 01:44:52 (UTC) |
commit | 9a134ab03890d942d53b4121e31e2d37859fa42c (patch) (side-by-side diff) | |
tree | e9db8bfc0734d96409c90e12712dd6d8204aeb21 /noncore/settings/networksettings2/opietooth2/bluezlib.h | |
parent | b65cbb7c8b45d57f849722d22f8f165cc202ceb5 (diff) | |
download | opie-9a134ab03890d942d53b4121e31e2d37859fa42c.zip opie-9a134ab03890d942d53b4121e31e2d37859fa42c.tar.gz opie-9a134ab03890d942d53b4121e31e2d37859fa42c.tar.bz2 |
New bluetooth library OT2 (loosely based on kbluetooth)
Diffstat (limited to 'noncore/settings/networksettings2/opietooth2/bluezlib.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/opietooth2/bluezlib.h | 28 |
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 @@ +#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 |