1 #pragma once
2 
3 /**
4  * These functions manage the Wii U's AutoConnect library--basically
5  * connecting to the LAN/Internet via the network profile set up in
6  * System Preferences.
7  */
8 
9 typedef int ACResult;
10 enum {
11    AC_FAILED = -1,
12    AC_OK = 0,
13    AC_BUSY = 1
14 };
15 
16 typedef unsigned long ACIpAddress;
17 
18 ACResult ACInitialize(void);
19 void ACFinalize(void);
20 ACResult ACConnect(void);
21 ACResult ACClose(void);
22 ACResult ACGetAssignedAddress(ACIpAddress *addr);
23 ACResult ACGetAssignedSubnet(ACIpAddress *addr);
24