2014-10-29 21:38:33 -04:00
|
|
|
// Copyright 2014 Citra Emulator Project
|
2014-12-17 00:38:14 -05:00
|
|
|
// Licensed under GPLv2 or any later version
|
2014-10-29 21:38:33 -04:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/hle.h"
|
|
|
|
#include "core/hle/service/ssl_c.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace SSL_C
|
|
|
|
|
|
|
|
namespace SSL_C {
|
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
2015-11-22 09:27:46 -05:00
|
|
|
{0x00010002, nullptr, "Initialize"},
|
2014-10-29 21:38:33 -04:00
|
|
|
{0x000200C2, nullptr, "CreateContext"},
|
|
|
|
{0x00050082, nullptr, "AddTrustedRootCA"},
|
2015-11-22 09:27:46 -05:00
|
|
|
{0x00110042, nullptr, "GenerateRandomData"},
|
2014-10-29 21:38:33 -04:00
|
|
|
{0x00150082, nullptr, "Read"},
|
|
|
|
{0x00170082, nullptr, "Write"},
|
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
|
|
|
|
|
|
|
Interface::Interface() {
|
2015-01-30 13:56:49 -05:00
|
|
|
Register(FunctionTable);
|
2014-10-29 21:38:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|