diff options
Diffstat (limited to 'src/core/network/network_interface.h')
| -rw-r--r-- | src/core/network/network_interface.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/core/network/network_interface.h b/src/core/network/network_interface.h deleted file mode 100644 index 9b98b6b42..000000000 --- a/src/core/network/network_interface.h +++ /dev/null @@ -1,28 +0,0 @@ -// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include <optional> -#include <string> -#include <vector> - -#ifdef _WIN32 -#include <winsock2.h> -#else -#include <netinet/in.h> -#endif - -namespace Network { - -struct NetworkInterface { - std::string name; - struct in_addr ip_address; - struct in_addr subnet_mask; - struct in_addr gateway; -}; - -std::vector<NetworkInterface> GetAvailableNetworkInterfaces(); -std::optional<NetworkInterface> GetSelectedNetworkInterface(); - -} // namespace Network |
