00001 #ifndef BLUEZLIB_H
00002 #define BLUEZLIB_H
00003
00004 #include <signal.h>
00005 #include <errno.h>
00006 #include <sys/ioctl.h>
00007 #include <sys/socket.h>
00008 #include <fcntl.h>
00009 #include <unistd.h>
00010 #include <stdlib.h>
00011
00012 extern "C" {
00013 #include <bluetooth/bluetooth.h>
00014 #include <bluetooth/hci.h>
00015 #include <bluetooth/hci_lib.h>
00016 #include <bluetooth/sdp.h>
00017 #include <bluetooth/sdp_lib.h>
00018 #include <bluetooth/l2cap.h>
00019 #include <bluetooth/bnep.h>
00020 #include <bluetooth/rfcomm.h>
00021 }
00022
00023 #define BT_DISABLED 0
00024 #define BT_ENABLED 1
00025 #define BT_UNKNOWN 2
00026 #define BTVALUE(x) ((x)?BT_ENABLED:BT_DISABLED)
00027
00028 #endif