2018-01-18 19:35:03 +00:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2018-03-25 09:41:00 +00:00
|
|
|
#include "core/hle/service/sockets/bsd.h"
|
2018-07-26 05:00:51 +00:00
|
|
|
#include "core/hle/service/sockets/ethc.h"
|
2018-03-25 09:41:00 +00:00
|
|
|
#include "core/hle/service/sockets/nsd.h"
|
2018-01-18 19:35:03 +00:00
|
|
|
#include "core/hle/service/sockets/sfdnsres.h"
|
|
|
|
#include "core/hle/service/sockets/sockets.h"
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
namespace Service::Sockets {
|
2018-01-18 19:35:03 +00:00
|
|
|
|
|
|
|
void InstallInterfaces(SM::ServiceManager& service_manager) {
|
2018-03-25 09:41:00 +00:00
|
|
|
std::make_shared<BSD>("bsd:s")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<BSD>("bsd:u")->InstallAsService(service_manager);
|
2018-07-26 04:55:33 +00:00
|
|
|
std::make_shared<BSDCFG>()->InstallAsService(service_manager);
|
|
|
|
|
2018-07-26 05:00:51 +00:00
|
|
|
std::make_shared<ETHC_C>()->InstallAsService(service_manager);
|
|
|
|
std::make_shared<ETHC_I>()->InstallAsService(service_manager);
|
|
|
|
|
2018-03-25 09:41:00 +00:00
|
|
|
std::make_shared<NSD>("nsd:a")->InstallAsService(service_manager);
|
|
|
|
std::make_shared<NSD>("nsd:u")->InstallAsService(service_manager);
|
2018-07-26 05:00:51 +00:00
|
|
|
|
2018-01-18 19:35:03 +00:00
|
|
|
std::make_shared<SFDNSRES>()->InstallAsService(service_manager);
|
|
|
|
}
|
|
|
|
|
2018-04-20 01:41:44 +00:00
|
|
|
} // namespace Service::Sockets
|