From b691c43c44ff180d10e7d4a9afc83b98551ff586 Mon Sep 17 00:00:00 2001 From: daoge_cmd <3523206925@qq.com> Date: Sun, 1 Mar 2026 12:16:08 +0800 Subject: Initial commit --- Minecraft.Client/PS3/Network/SonyHttp_PS3.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Minecraft.Client/PS3/Network/SonyHttp_PS3.h (limited to 'Minecraft.Client/PS3/Network/SonyHttp_PS3.h') diff --git a/Minecraft.Client/PS3/Network/SonyHttp_PS3.h b/Minecraft.Client/PS3/Network/SonyHttp_PS3.h new file mode 100644 index 00000000..e252d5dc --- /dev/null +++ b/Minecraft.Client/PS3/Network/SonyHttp_PS3.h @@ -0,0 +1,25 @@ +#pragma once + +#include + + +class SonyHttp_PS3 +{ + static bool loadCerts(size_t *numBufPtr, CellHttpsData **caListPtr); + static void* getData(const char* url, int* pDataSize); + static bool parseUri(const char* szUri, CellHttpUri& parsedUri); + + static void *uriPool; + static void *httpPool; + static void* sslPool; + static void* cookiePool; + static CellHttpClientId client; + static CellHttpTransId trans; + static bool bInitialised; + +public: + bool init(); + void shutdown(); + bool getDataFromURL(const char* szURL, void** ppOutData, int* pDataSize); + +}; \ No newline at end of file -- cgit v1.2.3