diff options
| author | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
|---|---|---|
| committer | daoge_cmd <3523206925@qq.com> | 2026-03-01 12:16:08 +0800 |
| commit | b691c43c44ff180d10e7d4a9afc83b98551ff586 (patch) | |
| tree | 3e9849222cbc6ba49f2f1fc6e5fe7179632c7390 /Minecraft.Client/PS3/Network/SonyHttp_PS3.h | |
| parent | def8cb415354ac390b7e89052a50605285f1aca9 (diff) | |
Initial commit
Diffstat (limited to 'Minecraft.Client/PS3/Network/SonyHttp_PS3.h')
| -rw-r--r-- | Minecraft.Client/PS3/Network/SonyHttp_PS3.h | 25 |
1 files changed, 25 insertions, 0 deletions
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 <cell/http.h> + + +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 |
