mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 04:20:06 +00:00
added http service enum to the log.h file
This commit is contained in:
parent
bfc99850dc
commit
af0069180b
@ -6,18 +6,7 @@
|
|||||||
|
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace HTTP {
|
namespace HTTP {
|
||||||
void ClearDNSCache(Interface* self) {
|
|
||||||
#ifdef _WIN32
|
|
||||||
system("ipconfig /flush dns");
|
|
||||||
#elif __APPLE__
|
|
||||||
system("sudo killall -HUP mDNSResponder");
|
|
||||||
#else
|
|
||||||
system("/etc/init.d/named restart");
|
|
||||||
system("/etc/init.d/nscd restart");
|
|
||||||
#endif
|
|
||||||
u32* cmd_buff = Kernel::GetCommandBuffer();
|
|
||||||
cmd_buff[1] = RESULT_SUCCESS.raw; // No error
|
|
||||||
}
|
|
||||||
const Interface::FunctionInfo FunctionTable[] = {
|
const Interface::FunctionInfo FunctionTable[] = {
|
||||||
{0x00010044, nullptr, "Initialize"},
|
{0x00010044, nullptr, "Initialize"},
|
||||||
{0x00020082, nullptr, "CreateContext"},
|
{0x00020082, nullptr, "CreateContext"},
|
||||||
@ -69,7 +58,7 @@ const Interface::FunctionInfo FunctionTable[] = {
|
|||||||
{0x00330040, nullptr, "OpenDefaultClientCertContext"},
|
{0x00330040, nullptr, "OpenDefaultClientCertContext"},
|
||||||
{0x00340040, nullptr, "CloseClientCertContext"},
|
{0x00340040, nullptr, "CloseClientCertContext"},
|
||||||
{0x00350186, nullptr, "SetDefaultProxy"},
|
{0x00350186, nullptr, "SetDefaultProxy"},
|
||||||
{0x00360000, ClearDNSCache, "ClearDNSCache"},
|
{0x00360000, nullptr, "ClearDNSCache"},
|
||||||
{0x00370080, nullptr, "SetKeepAlive"},
|
{0x00370080, nullptr, "SetKeepAlive"},
|
||||||
{0x003800C0, nullptr, "SetPostDataTypeSize"},
|
{0x003800C0, nullptr, "SetPostDataTypeSize"},
|
||||||
{0x00390000, nullptr, "Finalize"},
|
{0x00390000, nullptr, "Finalize"},
|
||||||
|
Loading…
Reference in New Issue
Block a user