libnx
v4.8.0
|
NS/NIM IAsync* IPC wrapper. More...
#include "../types.h"
#include "../sf/service.h"
#include "../applets/error.h"
#include "../kernel/event.h"
Go to the source code of this file.
Data Structures | |
struct | AsyncValue |
AsyncValue. More... | |
struct | AsyncResult |
AsyncResult. More... | |
NS/NIM IAsync* IPC wrapper.
Result asyncResultCancel | ( | AsyncResult * | a | ) |
void asyncResultClose | ( | AsyncResult * | a | ) |
Close a AsyncResult.
a | AsyncResult |
Result asyncResultGet | ( | AsyncResult * | a | ) |
Gets the Result.
a | AsyncResult |
Result asyncResultGetErrorContext | ( | AsyncResult * | a, |
ErrorContext * | context | ||
) |
Gets the ErrorContext.
a | AsyncResult | |
[out] | context | ErrorContext |
Result asyncResultWait | ( | AsyncResult * | a, |
u64 | timeout | ||
) |
Waits for the async operation to finish using the specified timeout.
a | AsyncResult | |
[in] | timeout | Timeout in nanoseconds. UINT64_MAX for no timeout. |
Result asyncValueCancel | ( | AsyncValue * | a | ) |
void asyncValueClose | ( | AsyncValue * | a | ) |
Close a AsyncValue.
a | AsyncValue |
Result asyncValueGet | ( | AsyncValue * | a, |
void * | buffer, | ||
size_t | size | ||
) |
Gets the value.
a | AsyncValue | |
[out] | buffer | Output buffer. |
[in] | size | Output buffer size. |
Result asyncValueGetErrorContext | ( | AsyncValue * | a, |
ErrorContext * | context | ||
) |
Gets the ErrorContext.
a | AsyncValue | |
[out] | context | ErrorContext |
Result asyncValueGetSize | ( | AsyncValue * | a, |
u64 * | size | ||
) |
Gets the value size.
a | AsyncValue | |
[out] | size | Output size. |
Result asyncValueWait | ( | AsyncValue * | a, |
u64 | timeout | ||
) |
Waits for the async operation to finish using the specified timeout.
a | AsyncValue | |
[in] | timeout | Timeout in nanoseconds. UINT64_MAX for no timeout. |