mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-12-26 03:01:51 +01:00
26 lines
553 B
C
26 lines
553 B
C
/****************************************************************************
|
|
* Snes9x Nintendo Wii/Gamecube Port
|
|
*
|
|
* Tantric 2008-2010
|
|
*
|
|
* http.h
|
|
*
|
|
* HTTP operations
|
|
***************************************************************************/
|
|
|
|
#ifndef _HTTP_H_
|
|
#define _HTTP_H_
|
|
|
|
typedef enum {
|
|
HTTPR_OK,
|
|
HTTPR_ERR_CONNECT,
|
|
HTTPR_ERR_REQUEST,
|
|
HTTPR_ERR_STATUS,
|
|
HTTPR_ERR_TOOBIG,
|
|
HTTPR_ERR_RECEIVE
|
|
} http_res;
|
|
|
|
int http_request (const char *url, FILE * hfile, u8 * buffer, const u32 max_size, bool silent);
|
|
|
|
#endif
|