wut  1.0.0-alpha
Wii U Toolchain
ac_cpp.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include <nn/result.h>
4 
11 #ifdef __cplusplus
12 
13 namespace nn
14 {
15 namespace ac
16 {
17 
18 typedef uint32_t ConfigIdNum;
19 
20 namespace detail
21 {
22 extern "C"
23 {
24 
30 
31 } // extern "C"
32 } // namespace detail
33 
34 
38 static inline nn::Result
40 {
42 }
43 
44 
48 static inline void
50 {
52 }
53 
54 
58 static inline nn::Result
60 {
62 }
63 
64 
68 static inline nn::Result
70 {
72 }
73 
74 
78 static inline nn::Result
79 GetAssignedAddress(uint32_t *ip)
80 {
82 }
83 
84 } // namespace ac
85 } // namespace nn
86 
87 #endif // ifdef __cplusplus
88 
Result value type used by nn libraries.
Definition: result.h:38
Definition: ac_cpp.h:13
nn::Result Initialize__Q2_2nn2acFv()
static nn::Result Connect(ConfigIdNum id)
Connect to configuration id.
Definition: ac_cpp.h:69
static nn::Result GetAssignedAddress(uint32_t *ip)
Get the IP address of the current connection.
Definition: ac_cpp.h:79
static nn::Result Initialize()
Initialise the nn_ac library.
Definition: ac_cpp.h:39
static void Finalize()
Finalise the nn_ac library.
Definition: ac_cpp.h:49
nn::Result Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum(ConfigIdNum id)
nn::Result GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum(ConfigIdNum *id)
void Finalize__Q2_2nn2acFv()
nn::Result GetAssignedAddress__Q2_2nn2acFPUl(uint32_t *ip)
uint32_t ConfigIdNum
Definition: ac_cpp.h:18
static nn::Result GetStartupId(ConfigIdNum *id)
Get the default connection configuration id.
Definition: ac_cpp.h:59