wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
Namespaces | Typedefs | Enumerations | Functions
ac_cpp.h File Reference
#include <wut.h>
#include <nn/result.h>
#include <nsysnet/netconfig.h>
Include dependency graph for ac_cpp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  nn
 
namespace  nn::ac
 Auto Connect API, used for managing and connecting to internet connection profiles.
 

Typedefs

using ConfigIdNum = uint32_t
 An ID number representing a network configuration.
 
using Config = NetConfCfg
 The configuration for a given network profile (from 1 to 6).
 
using ErrorCode = uint32_t
 

Enumerations

enum  Status {
  STATUS_FAILED = -1 ,
  STATUS_OK = 0 ,
  STATUS_PROCESSING = 1
}
 

Functions

nn::Result BeginLocalConnection (bool unknown) asm("BeginLocalConnection__Q2_2nn2acFb")
 
void ClearConfig (Config *cfg) asm("ClearConfig__Q2_2nn2acFP16netconf_profile_")
 
nn::Result Close () asm("Close__Q2_2nn2acFv")
 
nn::Result CloseAll () asm("CloseAll__Q2_2nn2acFv")
 
nn::Result Connect (const Config *cfg) asm("Connect__Q2_2nn2acFPC16netconf_profile_")
 
nn::Result Connect (ConfigIdNum id) asm("Connect__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum")
 
nn::Result Connect () asm("Connect__Q2_2nn2acFv")
 
nn::Result ConnectAsync (const Config *cfg) asm("ConnectAsync__Q2_2nn2acFPC16netconf_profile_")
 
nn::Result ConnectAsync (ConfigIdNum id) asm("ConnectAsync__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum")
 Connects to a network, using the configuration represented by the given ConfigIdNum.
 
nn::Result ConnectAsync () asm("ConnectAsync__Q2_2nn2acFv")
 
nn::Result ConnectWithRetry () asm("ConnectWithRetry__Q2_2nn2acFv")
 
nn::Result DeleteConfig (ConfigIdNum id) asm("DeleteConfig__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum")
 
nn::Result EndLocalConnection () asm("EndLocalConnection__Q2_2nn2acFv")
 
void Finalize () asm("Finalize__Q2_2nn2acFv")
 Cleans up the Auto Connect library.
 
nn::Result GetAssignedAddress (uint32_t *ip) asm("GetAssignedAddress__Q2_2nn2acFPUl")
 Gets the IP address assosciated with the currently active connection.
 
nn::Result GetAssignedAlternativeDns (uint32_t *ip) asm("GetAssignedAlternativeDns__Q2_2nn2acFPUl")
 
nn::Result GetAssignedGateway (uint32_t *ip) asm("GetAssignedGateway__Q2_2nn2acFPUl")
 
nn::Result GetAssignedPreferedDns (uint32_t *ip) asm("GetAssignedPreferedDns__Q2_2nn2acFPUl")
 
nn::Result GetAssignedSubnet (uint32_t *ip) asm("GetAssignedSubnet__Q2_2nn2acFPUl")
 
nn::Result GetCloseStatus (Status *status) asm("GetCloseStatus__Q2_2nn2acFPQ3_2nn2ac6Status")
 
nn::Result GetCompatId (ConfigIdNum *id) asm("GetCompatId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum")
 
nn::Result GetConnectResult (nn::Result *result) asm("GetConnectResult__Q2_2nn2acFPQ2_2nn6Result")
 
nn::Result GetConnectStatus (Status *status) asm("GetConnectStatus__Q2_2nn2acFPQ3_2nn2ac6Status")
 
nn::Result GetLastErrorCode (ErrorCode *error) asm("GetLastErrorCode__Q2_2nn2acFPUi")
 
nn::Result GetRunningConfig (Config *cfg) asm("GetRunningConfig__Q2_2nn2acFP16netconf_profile_")
 
nn::Result GetStartupId (ConfigIdNum *id) asm("GetStartupId__Q2_2nn2acFPQ3_2nn2ac11ConfigIdNum")
 Gets the default connection configuration id.
 
nn::Result Initialize () asm("Initialize__Q2_2nn2acFv")
 Initializes the Auto Connect library.
 
nn::Result IsAnyKeepingConnect (bool keeping) asm("IsAnyKeepingConnect__Q2_2nn2acFPb")
 
nn::Result IsApplicationConnected (bool *connected) asm("IsApplicationConnected__Q2_2nn2acFPb")
 
nn::Result IsAutoConnectionFatallyFailed (nn::Result *failed) asm("IsAutoConnectionFatallyFailed__Q2_2nn2acFQ2_2nn6Result")
 
nn::Result IsConfigExisting (ConfigIdNum id, bool *existing) asm("IsConfigExisting__Q2_2nn2acFQ3_2nn2ac11ConfigIdNumPb")
 
nn::Result IsKeepingConnect (bool *keeping) asm("IsKeepingConnect__Q2_2nn2acFPb")
 
nn::Result IsReadyToConnect (bool *ready) asm("IsReadyToConnect__Q2_2nn2acFPb")
 
nn::Result ReadConfig (ConfigIdNum id, Config *cfg) asm("ReadConfig__Q2_2nn2acFQ3_2nn2ac11ConfigIdNumP16netconf_profile_")
 
nn::Result SetCompatId (ConfigIdNum id) asm("SetCompatId__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum")
 
nn::Result SetStartupId (ConfigIdNum id) asm("SetStartupId__Q2_2nn2acFQ3_2nn2ac11ConfigIdNum")
 
nn::Result WriteConfig (ConfigIdNum id, const Config *cfg) asm("WriteConfig__Q2_2nn2acFQ3_2nn2ac11ConfigIdNumPC16netconf_profile_")