libnx  v4.2.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.
17 Result nimInitialize(void);
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);
nimExit
void nimExit(void)
Exit nim.
NimSystemUpdateTaskId
SystemUpdateTaskId.
Definition: nim.h:12
s32
int32_t s32
32-bit signed integer.
Definition: types.h:27
nimInitialize
Result nimInitialize(void)
Initialize nim.
Result
u32 Result
Function error code result type.
Definition: types.h:44
Uuid
Definition: types.h:48
nimGetServiceSession
Service * nimGetServiceSession(void)
Gets the Service object for the actual nim service session.
Service
Service object structure.
Definition: service.h:13