summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sockets/sfdnsres.h
blob: f0c57377df26d6d23772cdbec6f9dd76693510cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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);
    void GetAddrInfoRequestWithOptions(Kernel::HLERequestContext& ctx);
};

} // namespace Service::Sockets