2009-05-28 14:12:52 +02:00
|
|
|
#ifndef _UPDATER_H_
|
|
|
|
#define _UPDATER_H_
|
|
|
|
|
2009-06-13 23:10:37 +02:00
|
|
|
void Initialize_Network(void);
|
|
|
|
bool IsNetworkInit(void);
|
|
|
|
char * GetNetworkIP(void);
|
2009-05-28 14:12:52 +02:00
|
|
|
s32 network_request(const char * request);
|
2009-06-13 23:10:37 +02:00
|
|
|
s32 network_read(u8 *buf, u32 len);
|
|
|
|
s32 download_request(const char * url);
|
2009-05-28 14:12:52 +02:00
|
|
|
void CloseConnection();
|
2009-06-13 23:10:37 +02:00
|
|
|
int CheckUpdate();
|
|
|
|
|
|
|
|
void HaltNetworkThread();
|
|
|
|
void ResumeNetworkThread();
|
|
|
|
void InitNetworkThread();
|
|
|
|
void ShutdownNetworkThread();
|
2009-05-28 14:12:52 +02:00
|
|
|
|
|
|
|
#endif
|