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