summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-02-14 10:07:37 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-02-14 10:07:37 (GMT)
commit45423a7571e7041bf4b6ee6238c4719139ebe1cb (patch)
treee3d7748a2bd50adea3941e882782cdedff12446f /Modules/socketmodule.h
parentf19c1b5e0e753c85f6df8a2dec5f4bb75743fc10 (diff)
downloadcpython-45423a7571e7041bf4b6ee6238c4719139ebe1cb.zip
cpython-45423a7571e7041bf4b6ee6238c4719139ebe1cb.tar.gz
cpython-45423a7571e7041bf4b6ee6238c4719139ebe1cb.tar.bz2
Patch #1432399: Add HCI sockets.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r--Modules/socketmodule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h
index 84f2422..a4382ab 100644
--- a/Modules/socketmodule.h
+++ b/Modules/socketmodule.h
@@ -46,6 +46,7 @@
#include <bluetooth/rfcomm.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/sco.h>
+#include <bluetooth/hci.h>
#endif
#ifdef HAVE_BLUETOOTH_H
@@ -98,6 +99,7 @@ typedef union sock_addr {
struct sockaddr_l2 bt_l2;
struct sockaddr_rc bt_rc;
struct sockaddr_sco bt_sco;
+ struct sockaddr_hci bt_hci;
#endif
#ifdef HAVE_NETPACKET_PACKET_H
struct sockaddr_ll ll;