2012-11-01 15:19:01 +00:00
|
|
|
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
2012-11-04 22:01:49 +00:00
|
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
2012-11-01 15:19:01 +00:00
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
|
|
|
|
// Official git repository and contact information can be found at
|
|
|
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
|
|
|
|
2014-03-15 18:22:19 +00:00
|
|
|
#include "Core/HLE/HLE.h"
|
|
|
|
#include "Core/HLE/FunctionWrappers.h"
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2014-03-15 18:22:19 +00:00
|
|
|
#include "Core/HLE/sceHttp.h"
|
2013-09-06 22:55:42 +00:00
|
|
|
#include "net/http_client.h"
|
|
|
|
|
|
|
|
// If http isn't loaded (seems unlikely), most functions should return SCE_KERNEL_ERROR_LIBRARY_NOTFOUND
|
|
|
|
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2013-07-01 07:59:54 +00:00
|
|
|
// Could come in handy someday if we ever implement sceHttp* for real.
|
|
|
|
enum PSPHttpMethod {
|
|
|
|
PSP_HTTP_METHOD_GET,
|
|
|
|
PSP_HTTP_METHOD_POST,
|
|
|
|
PSP_HTTP_METHOD_HEAD
|
|
|
|
};
|
|
|
|
|
2013-09-06 22:55:42 +00:00
|
|
|
// Just a holder for settings like user agent string
|
|
|
|
class HTTPTemplate {
|
|
|
|
char useragent[512];
|
|
|
|
};
|
|
|
|
|
|
|
|
class HTTPConnection {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class HTTPRequest {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2013-07-01 07:59:54 +00:00
|
|
|
int sceHttpSetResolveRetry(int connectionID, int retryCount) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetResolveRetry(%d, %d)", connectionID, retryCount);
|
2013-04-29 03:40:09 +00:00
|
|
|
return 0;
|
|
|
|
}
|
2012-11-01 15:19:01 +00:00
|
|
|
|
2013-09-06 22:55:42 +00:00
|
|
|
int sceHttpInit(int unknown) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpInit(%i)", unknown);
|
2013-06-20 07:15:07 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnd() {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnd()");
|
2013-06-20 07:15:07 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-07-01 07:59:54 +00:00
|
|
|
int sceHttpInitCache(int size) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpInitCache(%d)", size);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEndCache() {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEndCache()");
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnableCache(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnableCache(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDisableCache(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableCache(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
u32 sceHttpGetProxy(u32 id, u32 activateFlagPtr, u32 modePtr, u32 proxyHostPtr, u32 len, u32 proxyPort) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpGetProxy(%d, %x, %x, %x, %d, %x)", id, activateFlagPtr, modePtr, proxyHostPtr, len, proxyPort);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpGetStatusCode(int requestID, u32 statusCodePtr) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpGetStatusCode(%d, %x)", requestID, statusCodePtr);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpReadData(int requestID, u32 dataPtr, u32 dataSize) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpReadData(%d, %x, %x)", requestID, dataPtr, dataSize);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSendRequest(int requestID, u32 dataPtr, u32 dataSize) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSendRequest(%d, %x, %x)", requestID, dataPtr, dataSize);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDeleteRequest(int requestID) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDeleteRequest(%d)", requestID);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDeleteHeader(int id, const char *name) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDeleteHeader(%d, %s)", id, name);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDeleteConnection(int connectionID) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableCache(%d)", connectionID);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetConnectTimeOut(int id, u32 timeout) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetConnectTimeout(%d, %d)", id, timeout);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetSendTimeOut(int id, u32 timeout) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetSendTimeout(%d, %d)", id, timeout);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
u32 sceHttpSetProxy(u32 id, u32 activateFlagPtr, u32 mode, u32 newProxyHostPtr, u32 newProxyPort) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetProxy(%d, %x, %x, %x, %d)", id, activateFlagPtr, mode, newProxyHostPtr, newProxyPort);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnableCookie(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnableCookie(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnableKeepAlive(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnableKeepAlive(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDisableCookie(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableCookie(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDisableKeepAlive(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableKeepAlive(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpsInit(int unknown1, int unknown2, int unknown3, int unknown4) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpsInit(%d, %d, %d, %d)", unknown1, unknown2, unknown3, unknown4);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpsEnd() {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpsEnd()");
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Parameter "method" should be one of PSPHttpMethod's listed entries
|
|
|
|
int sceHttpCreateRequest(int connectionID, int method, const char *path, u64 contentLength) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpCreateRequest(%d, %d, %s, %llx)", connectionID, method, path, contentLength);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2013-10-05 17:16:06 +00:00
|
|
|
int sceHttpCreateConnection(int templateID, const char *hostString, const char *unknown1, u32 port, int unknown2) {
|
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpCreateConnection(%d, %s, %s, %d, %d)", templateID, hostString, unknown1, port, unknown2);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpGetNetworkErrno(int request, u32 errNumPtr) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpGetNetworkErrno(%d, %x)", request, errNumPtr);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpAddExtraHeader(int id, const char *name, const char *value, int unknown) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpAddExtraHeader(%d, %s, %s, %d)", id, name, value, unknown);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpAbortRequest(int requestID) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpAbortRequest(%d)", requestID);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDeleteTemplate(int templateID) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDeleteTemplate(%d)", templateID);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetMallocFunction(u32 mallocFuncPtr, u32 freeFuncPtr, u32 reallocFuncPtr) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetMallocFunction(%x, %x, %x)", mallocFuncPtr, freeFuncPtr, reallocFuncPtr);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetResolveTimeOut(int id, u32 timeout) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetResolveTimeOut(%d, %d)", id, timeout);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetAuthInfoCB(int id, u32 callbackFuncPtr) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetAuthInfoCB(%d, %x)", id, callbackFuncPtr);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnableRedirect(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnableRedirect(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpEnableAuth(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpEnableAuth(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDisableRedirect(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableRedirect(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpDisableAuth(int id) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpDisableAuth(%d)", id);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSaveSystemCookie() {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSaveSystemCookie()");
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpsLoadDefaultCert(int unknown1, int unknown2) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpLoadDefaultCert(%d, %d)", unknown1, unknown2);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpLoadSystemCookie() {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpLoadSystemCookie()");
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpCreateTemplate(const char *agent, int unknown1, int unknown2) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpCreateTemplate(%s, %d, %d)", agent, unknown1, unknown2);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Parameter "method" should be one of PSPHttpMethod's listed entries
|
|
|
|
int sceHttpCreateRequestWithURL(int connectionID, int method, const char *url, u64 contentLength) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpCreateRequestWithURL(%d, %d, %s, %llx)", connectionID, method, url, contentLength);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpCreateConnectionWithURL(int templateID, const char *url, int unknown1) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpCreateConnectionWithURL(%d, %s, %d)", templateID, url, unknown1);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpSetRecvTimeOut(int id, u32 timeout) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpSetRecvTimeOut(%d, %x)", id, timeout);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpGetAllHeader(int request, u32 headerPtrToPtr, u32 headerSize) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpGetAllHeader(%d, %x, %x)", request, headerPtrToPtr, headerSize);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int sceHttpGetContentLength(int requestID, u64 contentLengthPtr) {
|
2013-09-07 19:19:21 +00:00
|
|
|
ERROR_LOG(SCENET, "UNIMPL sceHttpGetContentLength(%d, %llx)", requestID, contentLengthPtr);
|
2013-07-01 07:59:54 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2012-11-01 15:19:01 +00:00
|
|
|
/*
|
|
|
|
* 0x62411801 sceSircsInit
|
|
|
|
0x19155a2f sceSircsEnd
|
|
|
|
0x71eef62d sceSircsSend
|
|
|
|
*/
|
2013-03-24 23:07:30 +00:00
|
|
|
const HLEFunction sceHttp[] = {
|
2013-09-06 22:55:42 +00:00
|
|
|
{0xab1abe07,WrapI_I<sceHttpInit>,"sceHttpInit"},
|
2013-06-20 07:15:07 +00:00
|
|
|
{0xd1c8945e,WrapI_V<sceHttpEnd>,"sceHttpEnd"},
|
2013-07-01 07:59:54 +00:00
|
|
|
{0xa6800c34,WrapI_I<sceHttpInitCache>,"sceHttpInitCache"},
|
|
|
|
{0x78b54c09,WrapI_V<sceHttpEndCache>,"sceHttpEndCache"},
|
|
|
|
{0x59e6d16f,WrapI_I<sceHttpEnableCache>,"sceHttpEnableCache"},
|
|
|
|
{0xccbd167a,WrapI_I<sceHttpDisableCache>,"sceHttpDisableCache"},
|
|
|
|
{0xd70d4847,WrapU_UUUUUU<sceHttpGetProxy>,"sceHttpGetProxy"},
|
|
|
|
{0x4cc7d78f,WrapI_IU<sceHttpGetStatusCode>,"sceHttpGetStatusCode"},
|
|
|
|
{0xedeeb999,WrapI_IUU<sceHttpReadData>,"sceHttpReadData"},
|
|
|
|
{0xbb70706f,WrapI_IUU<sceHttpSendRequest>,"sceHttpSendRequest"},
|
|
|
|
{0xa5512e01,WrapI_I<sceHttpDeleteRequest>,"sceHttpDeleteRequest"},
|
|
|
|
{0x15540184,WrapI_IC<sceHttpDeleteHeader>,"sceHttpDeleteHeader"},
|
|
|
|
{0x5152773b,WrapI_I<sceHttpDeleteConnection>,"sceHttpDeleteConnection"},
|
|
|
|
{0x8acd1f73,WrapI_IU<sceHttpSetConnectTimeOut>,"sceHttpSetConnectTimeOut"},
|
|
|
|
{0x9988172d,WrapI_IU<sceHttpSetSendTimeOut>,"sceHttpSetSendTimeOut"},
|
|
|
|
{0xf0f46c62,WrapU_UUUUU<sceHttpSetProxy>,"sceHttpSetProxy"},
|
|
|
|
{0x0dafa58f,WrapI_I<sceHttpEnableCookie>,"sceHttpEnableCookie"},
|
|
|
|
{0x78a0d3ec,WrapI_I<sceHttpEnableKeepAlive>,"sceHttpEnableKeepAlive"},
|
|
|
|
{0x0b12abfb,WrapI_I<sceHttpDisableCookie>,"sceHttpDisableCookie"},
|
|
|
|
{0xc7ef2559,WrapI_I<sceHttpDisableKeepAlive>,"sceHttpDisableKeepAlive"},
|
|
|
|
{0xe4d21302,WrapI_IIII<sceHttpsInit>,"sceHttpsInit"},
|
|
|
|
{0xf9d8eb63,WrapI_V<sceHttpsEnd>,"sceHttpsEnd"},
|
|
|
|
{0x47347b50,WrapI_IICU64<sceHttpCreateRequest>,"sceHttpCreateRequest"},
|
|
|
|
{0x8eefd953,WrapI_ICCUI<sceHttpCreateConnection>,"sceHttpCreateConnection"},
|
|
|
|
{0xd081ec8f,WrapI_IU<sceHttpGetNetworkErrno>,"sceHttpGetNetworkErrno"},
|
|
|
|
{0x3eaba285,WrapI_ICCI<sceHttpAddExtraHeader>,"sceHttpAddExtraHeader"},
|
|
|
|
{0xc10b6bd9,WrapI_I<sceHttpAbortRequest>,"sceHttpAbortRequest"},
|
|
|
|
{0xfcf8c055,WrapI_I<sceHttpDeleteTemplate>,"sceHttpDeleteTemplate"},
|
|
|
|
{0xf49934f6,WrapI_UUU<sceHttpSetMallocFunction>,"sceHttpSetMallocFunction"},
|
2013-04-29 03:40:09 +00:00
|
|
|
{0x03D9526F,&WrapI_II<sceHttpSetResolveRetry>, "sceHttpSetResolveRetry"},
|
2013-07-01 07:59:54 +00:00
|
|
|
{0x47940436,WrapI_IU<sceHttpSetResolveTimeOut>,"sceHttpSetResolveTimeOut"},
|
|
|
|
{0x2a6c3296,WrapI_IU<sceHttpSetAuthInfoCB>,"sceHttpSetAuthInfoCB"},
|
|
|
|
{0x0809c831,WrapI_I<sceHttpEnableRedirect>,"sceHttpEnableRedirect"},
|
|
|
|
{0x9fc5f10d,WrapI_I<sceHttpEnableAuth>,"sceHttpEnableAuth"},
|
|
|
|
{0x1a0ebb69,WrapI_I<sceHttpDisableRedirect>,"sceHttpDisableRedirect"},
|
|
|
|
{0xae948fee,WrapI_I<sceHttpDisableAuth>,"sceHttpDisableAuth"},
|
|
|
|
{0x76d1363b,WrapI_V<sceHttpSaveSystemCookie>,"sceHttpSaveSystemCookie"},
|
|
|
|
{0x87797bdd,WrapI_II<sceHttpsLoadDefaultCert>,"sceHttpsLoadDefaultCert"},
|
|
|
|
{0xf1657b22,WrapI_V<sceHttpLoadSystemCookie>,"sceHttpLoadSystemCookie"},
|
|
|
|
{0x9B1F1F36,WrapI_CII<sceHttpCreateTemplate>,"sceHttpCreateTemplate"},
|
|
|
|
{0xB509B09E,WrapI_IICU64<sceHttpCreateRequestWithURL>,"sceHttpCreateRequestWithURL"},
|
|
|
|
{0xCDF8ECB9,WrapI_ICI<sceHttpCreateConnectionWithURL>,"sceHttpCreateConnectionWithURL"},
|
|
|
|
{0x1F0FC3E3,WrapI_IU<sceHttpSetRecvTimeOut>,"sceHttpSetRecvTimeOut"},
|
|
|
|
{0xDB266CCF,WrapI_IUU<sceHttpGetAllHeader>,"sceHttpGetAllHeader"},
|
|
|
|
{0x0282A3BD,WrapI_IU64<sceHttpGetContentLength>,"sceHttpGetContentLength"},
|
2013-08-23 06:04:55 +00:00
|
|
|
{0x7774bf4c,0,"sceHttpAddCookie"},
|
2012-12-06 15:24:25 +00:00
|
|
|
{0x68AB0F86,0,"sceHttpsInitWithPath"},
|
|
|
|
{0xB3FAF831,0,"sceHttpsDisableOption"},
|
2013-03-24 23:07:30 +00:00
|
|
|
{0x2255551E,0,"sceHttpGetNetworkPspError"},
|
|
|
|
{0xAB1540D5,0,"sceHttpsGetSslError"},
|
|
|
|
{0xA4496DE5,0,"sceHttpSetRedirectCallback"},
|
2013-05-22 08:19:25 +00:00
|
|
|
{0x267618f4,0,"sceHttpSetAuthInfoCallback"},
|
|
|
|
{0x569a1481,0,"sceHttpsSetSslCallback"},
|
|
|
|
{0xbac31bf1,0,"sceHttpsEnableOption"},
|
2012-11-01 15:19:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void Register_sceHttp()
|
|
|
|
{
|
|
|
|
RegisterModule("sceHttp",ARRAY_SIZE(sceHttp),sceHttp);
|
|
|
|
}
|