2022-04-23 22:49:07 +04:00
|
|
|
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-12-28 19:15:37 +04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
class System;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Service::Sockets {
|
|
|
|
|
|
|
|
class SFDNSRES final : public ServiceFramework<SFDNSRES> {
|
|
|
|
public:
|
|
|
|
explicit SFDNSRES(Core::System& system_);
|
|
|
|
~SFDNSRES() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void GetAddrInfoRequest(Kernel::HLERequestContext& ctx);
|
2022-04-09 13:30:20 +04:00
|
|
|
void GetAddrInfoRequestWithOptions(Kernel::HLERequestContext& ctx);
|
2020-12-28 19:15:37 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Service::Sockets
|