summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/sockets/sfdnsres.h
blob: 96018ea7703832089e04cdea38d5b1dc0ff6f962 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                               


            

                                     



                
                            


                                                          
                                             
                         

        
                                                            
                                                                       

  
                               
// 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 GetAddrInfoRequest(Kernel::HLERequestContext& ctx);
    void GetAddrInfoRequestWithOptions(Kernel::HLERequestContext& ctx);
};

} // namespace Service::Sockets