Changeset 10700 for source/ariba/communication/networkinfo
- Timestamp:
- Aug 22, 2012, 2:09:00 PM (12 years ago)
- Location:
- source
- Files:
-
- 1 added
- 6 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 -
source/ariba/communication/networkinfo/NetworkInformation.cpp
r5860 r10700 40 40 #include "ariba/config.h" 41 41 42 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H42 #ifdef HAVE_LIBBLUETOOTH 43 43 #include <bluetooth/bluetooth.h> 44 44 #include <bluetooth/hci.h> … … 211 211 // 212 212 213 #ifdef HAVE_ BLUETOOTH_BLUETOOTH_H213 #ifdef HAVE_LIBBLUETOOTH 214 214 215 215 int btsock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
Note:
See TracChangeset
for help on using the changeset viewer.