libctru v2.5.0
Loading...
Searching...
No Matches
frdn.h
Go to the documentation of this file.
1/**
2 * @file frdn.h
3 * @brief Friend Network Daemon Service
4 */
5#pragma once
6#include <3ds/types.h>
7
8/**
9 * @brief Initializes the friend network daemon service.
10 */
12
13/// Exits the friend network daemon service.
14void frdnExit(void);
15
16/// Get the friend network daemon service handle.
18
19/**
20 * @brief Gets the handle signaled whenever the friends daemon changes its status.
21 * @param evt Pointer to write the shared status changed event handle to.
22 */
24
25/**
26 * @brief Resumes the friends daemon.
27 */
29
30/**
31 * @brief Suspends the friends daemon.
32 * @param immediately Whether or not to suspend immediately.
33 */
34Result FRDN_SuspendAsync(bool immediately);
35
36/**
37 * @brief Queries the status of the friends daemon.
38 * @param status Pointer to output the status value to.
39 */
Result FRDN_SuspendAsync(bool immediately)
Suspends the friends daemon.
Handle * frdnGetSessionHandle(void)
Get the friend network daemon service handle.
Result FRDN_GetHandleOfNdmStatusChangedEvent(Handle *evt)
Gets the handle signaled whenever the friends daemon changes its status.
Result FRDN_QueryStatus(u8 *status)
Queries the status of the friends daemon.
Result frdnInit()
Initializes the friend network daemon service.
Result FRDN_Resume()
Resumes the friends daemon.
void frdnExit(void)
Exits the friend network daemon service.
Various system types.
uint8_t u8
would be nice if newlib had this already
Definition types.h:21
u32 Handle
Resource handle.
Definition types.h:41
s32 Result
Function result.
Definition types.h:42