| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #elif WEBRTC_DLL | 30 #elif WEBRTC_DLL |
| 31 #define WEBRTC_DLLEXPORT _declspec(dllimport) | 31 #define WEBRTC_DLLEXPORT _declspec(dllimport) |
| 32 #else | 32 #else |
| 33 #define WEBRTC_DLLEXPORT | 33 #define WEBRTC_DLLEXPORT |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 #ifndef NULL | 36 #ifndef NULL |
| 37 #define NULL 0 | 37 #define NULL 0 |
| 38 #endif | 38 #endif |
| 39 | 39 |
| 40 #define RTP_PAYLOAD_NAME_SIZE 32 | 40 #define RTP_PAYLOAD_NAME_SIZE 32u |
| 41 | 41 |
| 42 #if defined(WEBRTC_WIN) || defined(WIN32) | 42 #if defined(WEBRTC_WIN) || defined(WIN32) |
| 43 // Compares two strings without regard to case. | 43 // Compares two strings without regard to case. |
| 44 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2) | 44 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2) |
| 45 // Compares characters of two strings without regard to case. | 45 // Compares characters of two strings without regard to case. |
| 46 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n) | 46 #define STR_NCASE_CMP(s1, s2, n) ::_strnicmp(s1, s2, n) |
| 47 #else | 47 #else |
| 48 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2) | 48 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2) |
| 49 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n) | 49 #define STR_NCASE_CMP(s1, s2, n) ::strncasecmp(s1, s2, n) |
| 50 #endif | 50 #endif |
| (...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 uint32_t ssrc) = 0; | 852 uint32_t ssrc) = 0; |
| 853 }; | 853 }; |
| 854 | 854 |
| 855 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size | 855 // RTCP mode to use. Compound mode is described by RFC 4585 and reduced-size |
| 856 // RTCP mode is described by RFC 5506. | 856 // RTCP mode is described by RFC 5506. |
| 857 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 857 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
| 858 | 858 |
| 859 } // namespace webrtc | 859 } // namespace webrtc |
| 860 | 860 |
| 861 #endif // WEBRTC_COMMON_TYPES_H_ | 861 #endif // WEBRTC_COMMON_TYPES_H_ |
| OLD | NEW |