diff options
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 |
