mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-15 16:05:10 +01:00
83e3aa545c
* Fixed spelling mistake in image download function. * Reverted HTTP to non SSL revision (r1252). * Removed Nintendont internal update feature (requires SSL). * Added batch wad (un)install from a folder. * Changed the wad install menu interface. * Added an option to the wad class to display or hide errors on wad install. * Fixed RemoveDirectory return value. * Added game type and console name in exported game list. (requested) * Updated French language
35 lines
497 B
C
35 lines
497 B
C
#ifndef _HTTP_H_
|
|
#define _HTTP_H_
|
|
|
|
#include <errno.h>
|
|
#include <ogcsys.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#include "dns.h"
|
|
|
|
/**
|
|
* A simple structure to keep track of the size of a malloc()ated block of memory
|
|
*/
|
|
struct block
|
|
{
|
|
u32 size;
|
|
unsigned char *data;
|
|
};
|
|
|
|
extern const struct block emptyblock;
|
|
|
|
struct block downloadfile(const char *url);
|
|
s32 GetConnection(char * domain);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _HTTP_H_ */
|