OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_BASE_SOCKETADDRESS_H_ | 11 #ifndef WEBRTC_RTC_BASE_SOCKETADDRESS_H_ |
12 #define WEBRTC_BASE_SOCKETADDRESS_H_ | 12 #define WEBRTC_RTC_BASE_SOCKETADDRESS_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 #include <iosfwd> | 16 #include <iosfwd> |
17 #include "webrtc/base/basictypes.h" | 17 #include "webrtc/base/basictypes.h" |
18 #include "webrtc/base/ipaddress.h" | 18 #include "webrtc/base/ipaddress.h" |
19 | 19 |
20 #undef SetPort | 20 #undef SetPort |
21 | 21 |
22 struct sockaddr_in; | 22 struct sockaddr_in; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 int scope_id_; | 187 int scope_id_; |
188 bool literal_; // Indicates that 'hostname_' contains a literal IP string. | 188 bool literal_; // Indicates that 'hostname_' contains a literal IP string. |
189 }; | 189 }; |
190 | 190 |
191 bool SocketAddressFromSockAddrStorage(const sockaddr_storage& saddr, | 191 bool SocketAddressFromSockAddrStorage(const sockaddr_storage& saddr, |
192 SocketAddress* out); | 192 SocketAddress* out); |
193 SocketAddress EmptySocketAddressWithFamily(int family); | 193 SocketAddress EmptySocketAddressWithFamily(int family); |
194 | 194 |
195 } // namespace rtc | 195 } // namespace rtc |
196 | 196 |
197 #endif // WEBRTC_BASE_SOCKETADDRESS_H_ | 197 #endif // WEBRTC_RTC_BASE_SOCKETADDRESS_H_ |
OLD | NEW |