- Timestamp:
- Aug 22, 2012, 2:09:00 PM (12 years ago)
- Location:
- source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
source
- Property svn:ignore deleted
-
source/ariba
- Property svn:ignore deleted
-
source/ariba/communication
- Property svn:ignore deleted
-
source/ariba/communication/networkinfo
- Property svn:ignore deleted
-
source/ariba/communication/networkinfo/AddressDiscovery.cpp
r10653 r10700 49 49 #include <ifaddrs.h> 50 50 51 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H51 #ifdef HAVE_LIBBLUETOOTH 52 52 #include <bluetooth/bluetooth.h> 53 53 #include <bluetooth/hci.h> … … 60 60 mac_address AddressDiscovery::getMacFromIF( const char* name ) { 61 61 mac_address addr; 62 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H62 #ifdef HAVE_LIBBLUETOOTH 63 63 int s; 64 64 struct ifreq buffer; … … 74 74 75 75 int AddressDiscovery::dev_info(int s, int dev_id, long arg) { 76 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H76 #ifdef HAVE_LIBBLUETOOTH 77 77 endpoint_set* set = (endpoint_set*)arg; 78 78 struct hci_dev_info di; … … 89 89 90 90 void AddressDiscovery::discover_bluetooth( endpoint_set& endpoints ) { 91 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H91 #ifdef HAVE_LIBBLUETOOTH 92 92 hci_for_each_dev(HCI_UP, &AddressDiscovery::dev_info, (long)&endpoints ); 93 93 #endif
Note:
See TracChangeset
for help on using the changeset viewer.