mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-05 02:55:07 +01:00
f793af2d39
**Big Thanks to CorneliousJD for Hosting the DOLs)** *Reverted ardi's stuff which made codedumps on the Download (sorry ardi commit it again when its fixed)
40 lines
565 B
C
40 lines
565 B
C
#ifndef _HTTP_H_
|
|
#define _HTTP_H_
|
|
|
|
#include <errno.h>
|
|
#include <network.h>
|
|
#include <ogcsys.h>
|
|
#include <string.h>
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <string.h>
|
|
#include <errno.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_ */
|