// Copyright 2021 yuzu emulator team // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include #include #include #ifdef _WIN32 #include #else #include #endif namespace Network { struct NetworkInterface { std::string name; struct in_addr ip_address; struct in_addr subnet_mask; struct in_addr gateway; }; std::vector GetAvailableNetworkInterfaces(); std::optional GetSelectedNetworkInterface(); } // namespace Network