nsd.cpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/sockets/nsd.h"
  5. namespace Service::Sockets {
  6. NSD::NSD(Core::System& system_, const char* name) : ServiceFramework{system_, name} {
  7. // clang-format off
  8. static const FunctionInfo functions[] = {
  9. {5, nullptr, "GetSettingUrl"},
  10. {10, nullptr, "GetSettingName"},
  11. {11, nullptr, "GetEnvironmentIdentifier"},
  12. {12, nullptr, "GetDeviceId"},
  13. {13, nullptr, "DeleteSettings"},
  14. {14, nullptr, "ImportSettings"},
  15. {15, nullptr, "SetChangeEnvironmentIdentifierDisabled"},
  16. {20, nullptr, "Resolve"},
  17. {21, nullptr, "ResolveEx"},
  18. {30, nullptr, "GetNasServiceSetting"},
  19. {31, nullptr, "GetNasServiceSettingEx"},
  20. {40, nullptr, "GetNasRequestFqdn"},
  21. {41, nullptr, "GetNasRequestFqdnEx"},
  22. {42, nullptr, "GetNasApiFqdn"},
  23. {43, nullptr, "GetNasApiFqdnEx"},
  24. {50, nullptr, "GetCurrentSetting"},
  25. {51, nullptr, "WriteTestParameter"},
  26. {52, nullptr, "ReadTestParameter"},
  27. {60, nullptr, "ReadSaveDataFromFsForTest"},
  28. {61, nullptr, "WriteSaveDataToFsForTest"},
  29. {62, nullptr, "DeleteSaveDataOfFsForTest"},
  30. {63, nullptr, "IsChangeEnvironmentIdentifierDisabled"},
  31. {64, nullptr, "SetWithoutDomainExchangeFqdns"},
  32. {100, nullptr, "GetApplicationServerEnvironmentType"},
  33. {101, nullptr, "SetApplicationServerEnvironmentType"},
  34. {102, nullptr, "DeleteApplicationServerEnvironmentType"},
  35. };
  36. // clang-format on
  37. RegisterHandlers(functions);
  38. }
  39. NSD::~NSD() = default;
  40. } // namespace Service::Sockets