libnx v4.9.0
Loading...
Searching...
No Matches
nim.h
Go to the documentation of this file.
1/**
2 * @file nim.h
3 * @brief Network Install Manager (nim) service IPC wrapper.
4 * @author SciresM
5 * @copyright libnx Authors
6 */
7#pragma once
8#include "../types.h"
9#include "../sf/service.h"
10
11/// SystemUpdateTaskId
12typedef struct {
13 alignas(8) Uuid uuid; ///< UUID
15
16/// Initialize nim.
18
19/// Exit nim.
20void nimExit(void);
21
22/// Gets the Service object for the actual nim service session.
24
25Result nimListSystemUpdateTask(s32 *out_count, NimSystemUpdateTaskId *out_task_ids, size_t max_task_ids);
26Result nimDestroySystemUpdateTask(const NimSystemUpdateTaskId *task_id);
Service * nimGetServiceSession(void)
Gets the Service object for the actual nim service session.
Result nimInitialize(void)
Initialize nim.
void nimExit(void)
Exit nim.
SystemUpdateTaskId.
Definition nim.h:12
Service object structure.
Definition service.h:14
Definition types.h:48
u32 Result
Function error code result type.
Definition types.h:44
int32_t s32
32-bit signed integer.
Definition types.h:27