wut  1.0.0-beta9
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 
12 #ifdef __cplusplus
13 
14 namespace nn
15 {
20 namespace ac
21 {
22 
27 typedef uint32_t ConfigIdNum;
28 
34 namespace detail
35 {
36 extern "C"
37 {
38 
44 
45 } // extern "C"
46 } // namespace detail
47 
59 static inline nn::Result
61 {
63 }
64 
72 static inline void
74 {
76 }
77 
78 
91 static inline nn::Result
93 {
95 }
96 
108 static inline nn::Result
110 {
112 }
113 
126 static inline nn::Result
127 GetAssignedAddress(uint32_t *ip)
128 {
130 }
131 
132 } // namespace ac
133 } // namespace nn
134 
135 #endif // ifdef __cplusplus
136 
nn::ac::Initialize
static nn::Result Initialize()
Initialise the Auto Connect library.
Definition: ac_cpp.h:60
nn::ac::Connect
static nn::Result Connect(ConfigIdNum id)
Connects to a network, using the configuration represented by the given ConfigIdNum.
Definition: ac_cpp.h:109
nn::ac::Finalize
static void Finalize()
Cleanup the Auto Connect library.
Definition: ac_cpp.h:73
wut.h
nn::ac::detail::GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum
nn::Result GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum(ConfigIdNum *id)
nn::ac::detail::Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum
nn::Result Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum(ConfigIdNum id)
nn::ac::detail::GetAssignedAddress__Q2_2nn2acFPUl
nn::Result GetAssignedAddress__Q2_2nn2acFPUl(uint32_t *ip)
nn::ac::ConfigIdNum
uint32_t ConfigIdNum
An ID number representing a network configuration.
Definition: ac_cpp.h:27
nn::Result
Result value type used by nn libraries.
Definition: result.h:67
nn
Definition: ac_cpp.h:14
nn::ac::GetStartupId
static nn::Result GetStartupId(ConfigIdNum *id)
Gets the default connection configuration id.
Definition: ac_cpp.h:92
result.h
nn::ac::detail::Finalize__Q2_2nn2acFv
void Finalize__Q2_2nn2acFv()
nn::ac::GetAssignedAddress
static nn::Result GetAssignedAddress(uint32_t *ip)
Gets the IP address assosciated with the currently active connection.
Definition: ac_cpp.h:127
nn::ac::detail::Initialize__Q2_2nn2acFv
nn::Result Initialize__Q2_2nn2acFv()