mirror of
https://github.com/zeldaret/tp
synced 2026-05-24 15:21:08 -04:00
353721578d
* shieldD revo dvd mostly done * shieldD revo nand mostly done * shieldD revo fs mostly done * shieldD revo ipc mostly done * shieldD revo sdk pad done
30 lines
945 B
C
30 lines
945 B
C
#ifndef _REVOLUTION_OSNET_H_
|
|
#define _REVOLUTION_OSNET_H_
|
|
|
|
#include <revolution/ipc.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum NWC24Err {
|
|
NWC24_OK = 0,
|
|
} NWC24Err;
|
|
|
|
NWC24Err NWC24iPrepareShutdown(void);
|
|
NWC24Err NWC24iSynchronizeRtcCounter(BOOL);
|
|
NWC24Err NWC24iOpenResourceManager_(const char* callerName, const char* path, IOSFd* fd, u32 flags);
|
|
NWC24Err NWC24SuspendScheduler(void);
|
|
NWC24Err NWC24iSetRtcCounter_(int rtc, BOOL);
|
|
NWC24Err NWC24iIoctlResourceManager_(const char* callerName, IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen);
|
|
NWC24Err NWC24iCloseResourceManager_(const char* callerName, IOSFd);
|
|
NWC24Err NWC24iRequestShutdown(u32 event, s32* result);
|
|
NWC24Err NWC24iIoctlResourceManagerAsync_(const char* callerName, IOSFd fd, s32 cmd, void* input, u32 inputLen, void* output, u32 outputLen, void* cbArg);
|
|
BOOL NWC24iIsAsyncRequestPending_(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|