mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-10 10:43:41 -04:00
4df8ccc871
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
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
|