Files
2026-03-01 12:16:08 +08:00

25 lines
559 B
C++

#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);
};