mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-23 18:31:56 +01:00
06889b794a
*Fixed the receiving of the wads. Now receiving directly to a device (Big files work now too (with sendelf they do, do not know about wiiload)) *Fixed to show the incoming IP and not the IP of the Wii *Made changes on bootup. Now there is a small BootUp Screen for the slow HDD people. Waiting for 30Secs for their HDD.
31 lines
834 B
C
31 lines
834 B
C
/****************************************************************************
|
|
* Network Operations
|
|
* for USB Loader GX
|
|
*
|
|
* HTTP operations
|
|
* Written by dhewg/bushing modified by dimok
|
|
****************************************************************************/
|
|
#ifndef _NETWORKOPS_H_
|
|
#define _NETWORKOPS_H_
|
|
|
|
#define NETWORKBLOCKSIZE 5*1024 //5KB
|
|
|
|
void Initialize_Network(void);
|
|
bool IsNetworkInit(void);
|
|
char * GetNetworkIP(void);
|
|
char * GetIncommingIP(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
|