mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 05:19:18 +01:00
Stub nsd:u/nsd:a and sfdnsres services
This commit is contained in:
parent
01e27bd2dd
commit
9afa8b881e
@ -363,6 +363,8 @@ add_library(skyline SHARED
|
||||
${source_DIR}/skyline/services/nim/IShopServiceAccessServerInterface.cpp
|
||||
${source_DIR}/skyline/services/nim/IShopServiceAsync.cpp
|
||||
${source_DIR}/skyline/services/socket/bsd/IClient.cpp
|
||||
${source_DIR}/skyline/services/socket/nsd/IManager.cpp
|
||||
${source_DIR}/skyline/services/socket/sfdnsres/IResolver.cpp
|
||||
${source_DIR}/skyline/services/spl/IRandomInterface.cpp
|
||||
${source_DIR}/skyline/services/ssl/ISslService.cpp
|
||||
${source_DIR}/skyline/services/ssl/ISslContext.cpp
|
||||
|
@ -41,6 +41,8 @@
|
||||
#include "nifm/IStaticService.h"
|
||||
#include "nim/IShopServiceAccessServerInterface.h"
|
||||
#include "socket/bsd/IClient.h"
|
||||
#include "socket/nsd/IManager.h"
|
||||
#include "socket/sfdnsres/IResolver.h"
|
||||
#include "spl/IRandomInterface.h"
|
||||
#include "ssl/ISslService.h"
|
||||
#include "prepo/IPrepoService.h"
|
||||
@ -114,6 +116,9 @@ namespace skyline::service {
|
||||
SERVICE_CASE(nfp::IUserManager, "nfp:user")
|
||||
SERVICE_CASE(nifm::IStaticService, "nifm:u")
|
||||
SERVICE_CASE(socket::IClient, "bsd:u")
|
||||
SERVICE_CASE(socket::IManager, "nsd:u")
|
||||
SERVICE_CASE(socket::IManager, "nsd:a")
|
||||
SERVICE_CASE(socket::IResolver, "sfdnsres")
|
||||
SERVICE_CASE(spl::IRandomInterface, "csrng")
|
||||
SERVICE_CASE(ssl::ISslService, "ssl")
|
||||
SERVICE_CASE(prepo::IPrepoService, "prepo:u")
|
||||
|
@ -0,0 +1,8 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||
|
||||
#include "IManager.h"
|
||||
|
||||
namespace skyline::service::socket {
|
||||
IManager::IManager(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
||||
}
|
16
app/src/main/cpp/skyline/services/socket/nsd/IManager.h
Normal file
16
app/src/main/cpp/skyline/services/socket/nsd/IManager.h
Normal file
@ -0,0 +1,16 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <services/serviceman.h>
|
||||
|
||||
namespace skyline::service::socket {
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Sockets_services#nsd:u.2C_nsd:a
|
||||
*/
|
||||
class IManager : public BaseService {
|
||||
public:
|
||||
IManager(const DeviceState &state, ServiceManager &manager);
|
||||
};
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||
|
||||
#include "IResolver.h"
|
||||
|
||||
namespace skyline::service::socket {
|
||||
IResolver::IResolver(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <services/serviceman.h>
|
||||
|
||||
namespace skyline::service::socket {
|
||||
/**
|
||||
* @url https://switchbrew.org/wiki/Sockets_services#sfdnsres
|
||||
*/
|
||||
class IResolver : public BaseService {
|
||||
public:
|
||||
IResolver(const DeviceState &state, ServiceManager &manager);
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user