libnx  v4.7.0
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
12 typedef struct {
13  alignas(8) Uuid uuid; ///< UUID
15 
16 /// Initialize nim.
18 
19 /// Exit nim.
20 void nimExit(void);
21 
22 /// Gets the Service object for the actual nim service session.
24 
25 Result nimListSystemUpdateTask(s32 *out_count, NimSystemUpdateTaskId *out_task_ids, size_t max_task_ids);
26 Result nimDestroySystemUpdateTask(const NimSystemUpdateTaskId *task_id);
Result nimInitialize(void)
Initialize nim.
void nimExit(void)
Exit nim.
Service * nimGetServiceSession(void)
Gets the Service object for the actual nim service session.
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