summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-02-14 10:07:37 +0000
committerMartin v. Löwis <martin@v.loewis.de>2007-02-14 10:07:37 +0000
commit5aa272f33e50feee9cee612bbdcdcbfa4ce5d83e (patch)
treede934f8776d5c0a5069d37d70d356c8531e5a699 /Modules/socketmodule.h
parent0d110d9df8a312c0f61d12ab1786395f4889eb79 (diff)
downloadcpython-5aa272f33e50feee9cee612bbdcdcbfa4ce5d83e.tar.gz
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 84f2422f41..a4382abd91 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;