|
libnx v4.9.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... | |
Functions | |
IAsyncValue | |
| void | asyncValueClose (AsyncValue *a) |
| Close a AsyncValue. | |
| Result | asyncValueWait (AsyncValue *a, u64 timeout) |
| Waits for the async operation to finish using the specified timeout. | |
| Result | asyncValueGetSize (AsyncValue *a, u64 *size) |
| Gets the value size. | |
| Result | asyncValueGet (AsyncValue *a, void *buffer, size_t size) |
| Gets the value. | |
| Result | asyncValueCancel (AsyncValue *a) |
| Cancels the async operation. | |
| Result | asyncValueGetErrorContext (AsyncValue *a, ErrorContext *context) |
| Gets the ErrorContext. | |
IAsyncResult | |
| void | asyncResultClose (AsyncResult *a) |
| Close a AsyncResult. | |
| Result | asyncResultWait (AsyncResult *a, u64 timeout) |
| Waits for the async operation to finish using the specified timeout. | |
| Result | asyncResultGet (AsyncResult *a) |
| Gets the Result. | |
| Result | asyncResultCancel (AsyncResult *a) |
| Cancels the async operation. | |
| Result | asyncResultGetErrorContext (AsyncResult *a, ErrorContext *context) |
| Gets the ErrorContext. | |
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. |