2014-10-30 01:38:33 +00:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 05:38:14 +00:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-10-30 01:38:33 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "common/log.h"
|
|
|
|
#include "core/hle/hle.h"
|
|
|
|
#include "core/hle/service/ssl_c.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace SSL_C
|
|
|
|
|
|
|
|
namespace SSL_C {
|
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
{0x000200C2, nullptr, "CreateContext"},
|
|
|
|
{0x00050082, nullptr, "AddTrustedRootCA"},
|
|
|
|
{0x00150082, nullptr, "Read"},
|
|
|
|
{0x00170082, nullptr, "Write"},
|
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
|
|
|
|
|
|
|
Interface::Interface() {
|
|
|
|
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|
|
|
}
|
|
|
|
|
|
|
|
Interface::~Interface() {
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|