blob: e252d5dccd24fb032c89327283bedaf1af4e5918 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
};
|