mirror of https://git.suyu.dev/suyu/suyu
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			28 lines
		
	
	
		
			709 B
		
	
	
	
		
			C++
		
	
			
		
		
	
	
			28 lines
		
	
	
		
			709 B
		
	
	
	
		
			C++
		
	
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
 | 
						|
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
						|
 | 
						|
#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 GetHostByNameRequest(HLERequestContext& ctx);
 | 
						|
    void GetHostByNameRequestWithOptions(HLERequestContext& ctx);
 | 
						|
    void GetAddrInfoRequest(HLERequestContext& ctx);
 | 
						|
    void GetAddrInfoRequestWithOptions(HLERequestContext& ctx);
 | 
						|
    void ResolverSetOptionRequest(HLERequestContext& ctx);
 | 
						|
};
 | 
						|
 | 
						|
} // namespace Service::Sockets
 |