mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 22:54:18 +01:00
fc76b6a9c6
*Changed the Updater source in some ways and added an own thread for it for later AutoUpdate feature (when gamestarting problem after networkinit is fixed)
19 lines
422 B
C
19 lines
422 B
C
#ifndef _UPDATER_H_
|
|
#define _UPDATER_H_
|
|
|
|
void Initialize_Network(void);
|
|
bool IsNetworkInit(void);
|
|
char * GetNetworkIP(void);
|
|
s32 network_request(const char * request);
|
|
s32 network_read(u8 *buf, u32 len);
|
|
s32 download_request(const char * url);
|
|
void CloseConnection();
|
|
int CheckUpdate();
|
|
|
|
void HaltNetworkThread();
|
|
void ResumeNetworkThread();
|
|
void InitNetworkThread();
|
|
void ShutdownNetworkThread();
|
|
|
|
#endif
|