webrtc/rtc_base/net_test_helpers.h
Mirko Bonadei 86cfe50c0e Extract HasIPv4Enabled/HasIPv6Enabled.
Bug: b/292167110
Change-Id: Idafa4ef23e87951bdd0276c29dee3e7f8be68476
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/312580
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40478}
2023-07-26 21:17:02 +00:00

23 lines
673 B
C++

/*
* Copyright 2023 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef RTC_BASE_NET_TEST_HELPERS_H_
#define RTC_BASE_NET_TEST_HELPERS_H_
#include "rtc_base/system/rtc_export.h"
namespace rtc {
RTC_EXPORT bool HasIPv4Enabled();
RTC_EXPORT bool HasIPv6Enabled();
} // namespace rtc
#endif // RTC_BASE_NET_TEST_HELPERS_H_