2020-12-28 19:15:37 +04:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#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
|