wut  1.0.0-beta8
Wii U Toolchain
ac_c.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 extern "C" {
14 #endif
15 
20 typedef uint32_t ACConfigId;
21 
34 ACInitialize();
35 
43 void
44 ACFinalize();
45 
59 ACGetStartupId(ACConfigId *configId);
60 
74 
88 ACGetAssignedAddress(uint32_t *ip);
89 
90 #ifdef __cplusplus
91 }
92 #endif
93 
Result structure for nn libraries.
Definition: result.h:19
void ACFinalize()
Cleanup the Auto Connect library.
NNResult ACConnectWithConfigId(ACConfigId configId)
Connects to a network, using the configuration represented by the given ACConfigId.
uint32_t ACConfigId
An ID number representing a network configuration.
Definition: ac_c.h:20
NNResult ACGetStartupId(ACConfigId *configId)
Gets the default connection configuration id.
NNResult ACInitialize()
Initialise the Auto Connect library.
NNResult ACGetAssignedAddress(uint32_t *ip)
Gets the IP address assosciated with the currently active connection.