mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 14:44:17 +01:00
1aa2fde92f
NOTE 1: For this the network has to be initialized!! You can initialize the network with the button at the right bottom of the Homebrew Launcher or by AutoInit Network. *Added background Network initialize *Added AutoUpdateCheck if AutoInit Network Setting is turned on. You will get a prompt if a new Update is available. NOTE: AutoInit Network can be turned on under GUI Settings. IMPORTANT NOTE: All those features require network being initialized. Be aware that when network is initialized some games seem to not want to run, this means its lowers the game load compatibility. Most of the games don't have any problem with it but some do. Thats why there is an option for the AutoInit Network.
28 lines
752 B
C
28 lines
752 B
C
/****************************************************************************
|
|
* Network Operations
|
|
* for USB Loader GX
|
|
*
|
|
* HTTP operations
|
|
* Written by dhewg/bushing modified by dimok
|
|
****************************************************************************/
|
|
#ifndef _NETWORKOPS_H_
|
|
#define _NETWORKOPS_H_
|
|
|
|
void Initialize_Network(void);
|
|
bool IsNetworkInit(void);
|
|
char * GetNetworkIP(void);
|
|
bool ShutdownWC24();
|
|
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 ResumeNetworkWait();
|
|
void ResumeNetworkThread();
|
|
void InitNetworkThread();
|
|
void ShutdownNetworkThread();
|
|
|
|
#endif
|