mirror of
https://github.com/Vita3K/Vita3K.git
synced 2025-04-02 11:02:10 -04:00
485 lines
10 KiB
C++
485 lines
10 KiB
C++
// Vita3K emulator project
|
|
// Copyright (C) 2021 Vita3K team
|
|
//
|
|
// 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
|
|
// the Free Software Foundation; either version 2 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// 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 for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License along
|
|
// with this program; if not, write to the Free Software Foundation, Inc.,
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#include "SceHttp.h"
|
|
|
|
EXPORT(int, sceHttpAbortRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAbortRequestForce) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAbortWaitRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAddCookie) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAddRequestHeader) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAddRequestHeaderRaw) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpAuthCacheFlush) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCookieExport) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCookieFlush) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCookieImport) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateConnection) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateConnectionWithURL) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateEpoll) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateRequest2) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateRequestWithURL) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateRequestWithURL2) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpCreateTemplate) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpDeleteConnection) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpDeleteRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpDeleteTemplate) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpDestroyEpoll) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetAcceptEncodingGZIPEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetAllResponseHeaders) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetAuthEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetAutoRedirect) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetCookie) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetCookieEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetCookieStats) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetEpoll) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetEpollId) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetIcmOption) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetLastErrno) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetMemoryPoolStats) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetNonblock) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetResponseContentLength) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpGetStatusCode) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpInit) {
|
|
STUBBED("Fail when called");
|
|
return -1;
|
|
}
|
|
|
|
EXPORT(int, sceHttpParseResponseHeader) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpParseStatusLine) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpReadData) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpRedirectCacheFlush) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpRemoveRequestHeader) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpRequestGetAllHeaders) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSendRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetAcceptEncodingGZIPEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetAuthEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetAuthInfoCallback) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetAutoRedirect) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetConnectTimeOut) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieMaxNum) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieMaxNumPerDomain) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieMaxSize) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieRecvCallback) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieSendCallback) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetCookieTotalMaxSize) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetDefaultAcceptEncodingGZIPEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetEpoll) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetEpollId) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetIcmOption) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetInflateGZIPEnabled) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetNonblock) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetRecvTimeOut) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetRedirectCallback) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetRequestContentLength) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetResolveRetry) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetResolveTimeOut) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetResponseHeaderMaxSize) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSetSendTimeOut) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpSslIsCtxCreated) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpTerm) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUnsetEpoll) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriBuild) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriEscape) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriMerge) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriParse) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriSweepPath) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpUriUnescape) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpWaitRequest) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpWaitRequestCB) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsDisableOption) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsDisableOption2) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsDisableOptionPrivate) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsEnableOption) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsEnableOption2) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsEnableOptionPrivate) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsFreeCaList) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsGetCaList) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsGetSslError) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsLoadCert) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsSetSslCallback) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
EXPORT(int, sceHttpsUnloadCert) {
|
|
return UNIMPLEMENTED();
|
|
}
|
|
|
|
BRIDGE_IMPL(sceHttpAbortRequest)
|
|
BRIDGE_IMPL(sceHttpAbortRequestForce)
|
|
BRIDGE_IMPL(sceHttpAbortWaitRequest)
|
|
BRIDGE_IMPL(sceHttpAddCookie)
|
|
BRIDGE_IMPL(sceHttpAddRequestHeader)
|
|
BRIDGE_IMPL(sceHttpAddRequestHeaderRaw)
|
|
BRIDGE_IMPL(sceHttpAuthCacheFlush)
|
|
BRIDGE_IMPL(sceHttpCookieExport)
|
|
BRIDGE_IMPL(sceHttpCookieFlush)
|
|
BRIDGE_IMPL(sceHttpCookieImport)
|
|
BRIDGE_IMPL(sceHttpCreateConnection)
|
|
BRIDGE_IMPL(sceHttpCreateConnectionWithURL)
|
|
BRIDGE_IMPL(sceHttpCreateEpoll)
|
|
BRIDGE_IMPL(sceHttpCreateRequest)
|
|
BRIDGE_IMPL(sceHttpCreateRequest2)
|
|
BRIDGE_IMPL(sceHttpCreateRequestWithURL)
|
|
BRIDGE_IMPL(sceHttpCreateRequestWithURL2)
|
|
BRIDGE_IMPL(sceHttpCreateTemplate)
|
|
BRIDGE_IMPL(sceHttpDeleteConnection)
|
|
BRIDGE_IMPL(sceHttpDeleteRequest)
|
|
BRIDGE_IMPL(sceHttpDeleteTemplate)
|
|
BRIDGE_IMPL(sceHttpDestroyEpoll)
|
|
BRIDGE_IMPL(sceHttpGetAcceptEncodingGZIPEnabled)
|
|
BRIDGE_IMPL(sceHttpGetAllResponseHeaders)
|
|
BRIDGE_IMPL(sceHttpGetAuthEnabled)
|
|
BRIDGE_IMPL(sceHttpGetAutoRedirect)
|
|
BRIDGE_IMPL(sceHttpGetCookie)
|
|
BRIDGE_IMPL(sceHttpGetCookieEnabled)
|
|
BRIDGE_IMPL(sceHttpGetCookieStats)
|
|
BRIDGE_IMPL(sceHttpGetEpoll)
|
|
BRIDGE_IMPL(sceHttpGetEpollId)
|
|
BRIDGE_IMPL(sceHttpGetIcmOption)
|
|
BRIDGE_IMPL(sceHttpGetLastErrno)
|
|
BRIDGE_IMPL(sceHttpGetMemoryPoolStats)
|
|
BRIDGE_IMPL(sceHttpGetNonblock)
|
|
BRIDGE_IMPL(sceHttpGetResponseContentLength)
|
|
BRIDGE_IMPL(sceHttpGetStatusCode)
|
|
BRIDGE_IMPL(sceHttpInit)
|
|
BRIDGE_IMPL(sceHttpParseResponseHeader)
|
|
BRIDGE_IMPL(sceHttpParseStatusLine)
|
|
BRIDGE_IMPL(sceHttpReadData)
|
|
BRIDGE_IMPL(sceHttpRedirectCacheFlush)
|
|
BRIDGE_IMPL(sceHttpRemoveRequestHeader)
|
|
BRIDGE_IMPL(sceHttpRequestGetAllHeaders)
|
|
BRIDGE_IMPL(sceHttpSendRequest)
|
|
BRIDGE_IMPL(sceHttpSetAcceptEncodingGZIPEnabled)
|
|
BRIDGE_IMPL(sceHttpSetAuthEnabled)
|
|
BRIDGE_IMPL(sceHttpSetAuthInfoCallback)
|
|
BRIDGE_IMPL(sceHttpSetAutoRedirect)
|
|
BRIDGE_IMPL(sceHttpSetConnectTimeOut)
|
|
BRIDGE_IMPL(sceHttpSetCookieEnabled)
|
|
BRIDGE_IMPL(sceHttpSetCookieMaxNum)
|
|
BRIDGE_IMPL(sceHttpSetCookieMaxNumPerDomain)
|
|
BRIDGE_IMPL(sceHttpSetCookieMaxSize)
|
|
BRIDGE_IMPL(sceHttpSetCookieRecvCallback)
|
|
BRIDGE_IMPL(sceHttpSetCookieSendCallback)
|
|
BRIDGE_IMPL(sceHttpSetCookieTotalMaxSize)
|
|
BRIDGE_IMPL(sceHttpSetDefaultAcceptEncodingGZIPEnabled)
|
|
BRIDGE_IMPL(sceHttpSetEpoll)
|
|
BRIDGE_IMPL(sceHttpSetEpollId)
|
|
BRIDGE_IMPL(sceHttpSetIcmOption)
|
|
BRIDGE_IMPL(sceHttpSetInflateGZIPEnabled)
|
|
BRIDGE_IMPL(sceHttpSetNonblock)
|
|
BRIDGE_IMPL(sceHttpSetRecvTimeOut)
|
|
BRIDGE_IMPL(sceHttpSetRedirectCallback)
|
|
BRIDGE_IMPL(sceHttpSetRequestContentLength)
|
|
BRIDGE_IMPL(sceHttpSetResolveRetry)
|
|
BRIDGE_IMPL(sceHttpSetResolveTimeOut)
|
|
BRIDGE_IMPL(sceHttpSetResponseHeaderMaxSize)
|
|
BRIDGE_IMPL(sceHttpSetSendTimeOut)
|
|
BRIDGE_IMPL(sceHttpSslIsCtxCreated)
|
|
BRIDGE_IMPL(sceHttpTerm)
|
|
BRIDGE_IMPL(sceHttpUnsetEpoll)
|
|
BRIDGE_IMPL(sceHttpUriBuild)
|
|
BRIDGE_IMPL(sceHttpUriEscape)
|
|
BRIDGE_IMPL(sceHttpUriMerge)
|
|
BRIDGE_IMPL(sceHttpUriParse)
|
|
BRIDGE_IMPL(sceHttpUriSweepPath)
|
|
BRIDGE_IMPL(sceHttpUriUnescape)
|
|
BRIDGE_IMPL(sceHttpWaitRequest)
|
|
BRIDGE_IMPL(sceHttpWaitRequestCB)
|
|
BRIDGE_IMPL(sceHttpsDisableOption)
|
|
BRIDGE_IMPL(sceHttpsDisableOption2)
|
|
BRIDGE_IMPL(sceHttpsDisableOptionPrivate)
|
|
BRIDGE_IMPL(sceHttpsEnableOption)
|
|
BRIDGE_IMPL(sceHttpsEnableOption2)
|
|
BRIDGE_IMPL(sceHttpsEnableOptionPrivate)
|
|
BRIDGE_IMPL(sceHttpsFreeCaList)
|
|
BRIDGE_IMPL(sceHttpsGetCaList)
|
|
BRIDGE_IMPL(sceHttpsGetSslError)
|
|
BRIDGE_IMPL(sceHttpsLoadCert)
|
|
BRIDGE_IMPL(sceHttpsSetSslCallback)
|
|
BRIDGE_IMPL(sceHttpsUnloadCert)
|