9 #include "../sf/service.h"
10 #include "../applets/error.h"
11 #include "../kernel/event.h"
void asyncValueClose(AsyncValue *a)
Close a AsyncValue.
Result asyncValueGetSize(AsyncValue *a, u64 *size)
Gets the value size.
Result asyncResultGet(AsyncResult *a)
Gets the Result.
Result asyncValueGet(AsyncValue *a, void *buffer, size_t size)
Gets the value.
Result asyncResultGetErrorContext(AsyncResult *a, ErrorContext *context)
Gets the ErrorContext.
Result asyncResultCancel(AsyncResult *a)
Cancels the async operation.
Result asyncValueGetErrorContext(AsyncValue *a, ErrorContext *context)
Gets the ErrorContext.
Result asyncValueCancel(AsyncValue *a)
Cancels the async operation.
void asyncResultClose(AsyncResult *a)
Close a AsyncResult.
Result asyncValueWait(AsyncValue *a, u64 timeout)
Waits for the async operation to finish using the specified timeout.
Result asyncResultWait(AsyncResult *a, u64 timeout)
Waits for the async operation to finish using the specified timeout.
AsyncResult.
Definition: async.h:20
Event event
Event with autoclear=false.
Definition: async.h:22
Service s
IAsyncResult.
Definition: async.h:21
AsyncValue.
Definition: async.h:14
Event event
Event with autoclear=false.
Definition: async.h:16
Service s
IAsyncValue.
Definition: async.h:15
Error context.
Definition: error.h:38
Kernel-mode event structure.
Definition: event.h:13
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
u32 Result
Function error code result type.
Definition: types.h:44