usbloadergx/source/network/http.h
dimok321 973d8b2005 *Fixed compile error
*Converted every 4 spaces to a tab to make the source consistent on those
2011-07-25 22:28:22 +00:00

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_ */