WiiFlow_Lite/source/network/http.h
fledge68 52ea6f6b99 -fixed downloading covers. it works for me although occasionally stalls during downloading a cover. it could be my home network dropping the connection. Also i didn't try downloading more than 4 covers.
-fixed downloading wiitdb.zip.
-downloading banners should work but no one has them hosted anywhere. larsenv has them hosted on github but its https which doesn't work. it must be http.
-downloading cheats broken still.
2018-06-06 11:32:45 +00:00

34 lines
489 B
C

#ifndef _HTTP_H_
#define _HTTP_H_
#include <errno.h>
#include <network.h>
#include <ogcsys.h>
#include <string.h>
#include "dns.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/**
* 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);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _HTTP_H_ */