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_SOCKET_H__ | 11 #ifndef WEBRTC_RTC_BASE_SOCKET_H_ |
12 #define WEBRTC_BASE_SOCKET_H__ | 12 #define WEBRTC_RTC_BASE_SOCKET_H_ |
13 | 13 |
14 #include <errno.h> | 14 #include <errno.h> |
15 | 15 |
16 #if defined(WEBRTC_POSIX) | 16 #if defined(WEBRTC_POSIX) |
17 #include <sys/types.h> | 17 #include <sys/types.h> |
18 #include <sys/socket.h> | 18 #include <sys/socket.h> |
19 #include <arpa/inet.h> | 19 #include <arpa/inet.h> |
20 #include <netinet/in.h> | 20 #include <netinet/in.h> |
21 #define SOCKET_EACCES EACCES | 21 #define SOCKET_EACCES EACCES |
22 #endif | 22 #endif |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 protected: | 188 protected: |
189 Socket() {} | 189 Socket() {} |
190 | 190 |
191 private: | 191 private: |
192 RTC_DISALLOW_COPY_AND_ASSIGN(Socket); | 192 RTC_DISALLOW_COPY_AND_ASSIGN(Socket); |
193 }; | 193 }; |
194 | 194 |
195 } // namespace rtc | 195 } // namespace rtc |
196 | 196 |
197 #endif // WEBRTC_BASE_SOCKET_H__ | 197 #endif // WEBRTC_RTC_BASE_SOCKET_H_ |
OLD | NEW |