- Timestamp:
- Jul 24, 2009, 3:23:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/AddressInformation.h
r3690 r5284 40 40 #define __ADDRESS_INFORMATION_H 41 41 42 #include <ifaddrs.h>43 42 #include <vector> 44 #include <boost/asio/ip/address.hpp> 45 #include <boost/asio/ip/address_v4.hpp> 43 46 44 #include "ariba/communication/networkinfo/NetworkInterface.h" 47 #include "ariba/communication/modules/network/ip/IPv4Locator.h" 48 49 using std::vector; 50 using ariba::communication::NetworkInterface; 51 using ariba::communication::IPv4Locator; 45 #include "ariba/utility/addressing/addressing.hpp" 52 46 53 47 namespace ariba { 54 48 namespace communication { 55 49 56 typedef vector<IPv4Locator> AddressList; // TODO: make more general, not only ipv4 50 using namespace std; 51 using namespace ariba::addressing; 52 53 /// a list of addresses 54 typedef vector<address_v*> AddressList; 57 55 58 56 class AddressInformation { … … 62 60 63 61 AddressList getAddresses(const NetworkInterface& interface); 64 65 62 }; 66 63
Note:
See TracChangeset
for help on using the changeset viewer.