Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
OSNet.c File Reference

Functions

BOOL NWC24Shutdown_ (BOOL, u32)
 
static void REXInit (void)
 
static NWC24Err GetRTC (int *rtc)
 
static s32 CheckCallingStatus (const char *callerName)
 
static IOSError CallbackAsyncIpc (IOSError, void *)
 
void __OSInitNet (void)
 
NWC24Err NWC24iPrepareShutdown (void)
 
NWC24Err NWC24iSynchronizeRtcCounter (BOOL param_0)
 
NWC24Err NWC24SuspendScheduler (void)
 
void dummyStrings ()
 
NWC24Err NWC24iRequestShutdown (u32 event, s32 *result)
 
NWC24Err NWC24iSetRtcCounter_ (int rtc, BOOL param_1)
 
NWC24Err NWC24iOpenResourceManager_ (const char *callerName, const char *path, IOSFd *fd, u32 flags)
 
NWC24Err NWC24iCloseResourceManager_ (const char *callerName, IOSFd fd)
 
NWC24Err NWC24iCloseResourceManagerAsync_ (const char *callerName, IOSFd fd)
 
NWC24Err NWC24iIoctlResourceManager_ (const char *callerName, IOSFd fd, s32 cmd, void *input, u32 inputLen, void *output, u32 outputLen)
 
NWC24Err NWC24iIoctlResourceManagerAsync_ (const char *callerName, IOSFd fd, s32 cmd, void *input, u32 inputLen, void *output, u32 outputLen, void *cbArg)
 
BOOL NWC24iIsAsyncRequestPending_ (void)
 

Variables

static OSShutdownFunctionInfo ShutdownFuncInfo
 
static IOSFd nwc24ShtFd = -1
 
static int nwc24ShtRetryRest = 0
 
static BOOL NWC24iIsRequestPending = FALSE
 
static u32 nwc24TimeCommonBuffer [8]
 
static u32 nwc24TimeCommonResult [8]
 

Function Documentation

◆ __OSInitNet()

void __OSInitNet ( void )

◆ CallbackAsyncIpc()

static IOSError CallbackAsyncIpc ( IOSError param_0,
void * param_1 )
static

◆ CheckCallingStatus()

static s32 CheckCallingStatus ( const char * callerName)
static

◆ dummyStrings()

void dummyStrings ( )

◆ GetRTC()

static NWC24Err GetRTC ( int * rtc)
static

◆ NWC24iCloseResourceManager_()

NWC24Err NWC24iCloseResourceManager_ ( const char * callerName,
IOSFd fd )

◆ NWC24iCloseResourceManagerAsync_()

NWC24Err NWC24iCloseResourceManagerAsync_ ( const char * callerName,
IOSFd fd )

◆ NWC24iIoctlResourceManager_()

NWC24Err NWC24iIoctlResourceManager_ ( const char * callerName,
IOSFd fd,
s32 cmd,
void * input,
u32 inputLen,
void * output,
u32 outputLen )

◆ NWC24iIoctlResourceManagerAsync_()

NWC24Err NWC24iIoctlResourceManagerAsync_ ( const char * callerName,
IOSFd fd,
s32 cmd,
void * input,
u32 inputLen,
void * output,
u32 outputLen,
void * cbArg )

◆ NWC24iIsAsyncRequestPending_()

BOOL NWC24iIsAsyncRequestPending_ ( void )

◆ NWC24iOpenResourceManager_()

NWC24Err NWC24iOpenResourceManager_ ( const char * callerName,
const char * path,
IOSFd * fd,
u32 flags )

◆ NWC24iPrepareShutdown()

NWC24Err NWC24iPrepareShutdown ( void )

◆ NWC24iRequestShutdown()

NWC24Err NWC24iRequestShutdown ( u32 event,
s32 * result )

◆ NWC24iSetRtcCounter_()

NWC24Err NWC24iSetRtcCounter_ ( int rtc,
BOOL param_1 )

◆ NWC24iSynchronizeRtcCounter()

NWC24Err NWC24iSynchronizeRtcCounter ( BOOL param_0)

◆ NWC24Shutdown_()

BOOL NWC24Shutdown_ ( BOOL final,
u32 event )

◆ NWC24SuspendScheduler()

NWC24Err NWC24SuspendScheduler ( void )

◆ REXInit()

void REXInit ( void )
static

Variable Documentation

◆ NWC24iIsRequestPending

BOOL NWC24iIsRequestPending = FALSE
static

◆ nwc24ShtFd

IOSFd nwc24ShtFd = -1
static

◆ nwc24ShtRetryRest

int nwc24ShtRetryRest = 0
static

◆ nwc24TimeCommonBuffer

u32 nwc24TimeCommonBuffer[8]
static

◆ nwc24TimeCommonResult

u32 nwc24TimeCommonResult[8]
static

◆ ShutdownFuncInfo

OSShutdownFunctionInfo ShutdownFuncInfo
static