mirror of
https://github.com/switchbrew/libnx.git
synced 2025-12-08 21:25:14 +01:00
19 lines
371 B
C
19 lines
371 B
C
// Copyright plutoo 2018
|
|
#include "../types.h"
|
|
#include "../result.h"
|
|
#include "../kernel/svc.h"
|
|
|
|
typedef struct {
|
|
Handle revent;
|
|
Handle wevent;
|
|
} Event;
|
|
|
|
Result eventCreate(Event* t);
|
|
void eventLoadRemote(Event* t, Handle handle);
|
|
void eventClose(Event* t);
|
|
|
|
Result eventWait(Event* t, u64 timeout);
|
|
Result eventFire(Event* t);
|
|
Result eventClear(Event* t);
|
|
|