mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:48:17 +01:00
Add nn_ac library.
This commit is contained in:
parent
4dfe8d5ea6
commit
6f51e6c76e
40
include/nn_ac/nn_ac.h
Normal file
40
include/nn_ac/nn_ac.h
Normal file
@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
/**
|
||||
* \defgroup nn_ac Auto Connect
|
||||
* \ingroup nn_ac
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum ACResult
|
||||
{
|
||||
OK = 0,
|
||||
} ACResult;
|
||||
|
||||
typedef uint32_t ACConfigId;
|
||||
|
||||
ACResult
|
||||
ACInitialize();
|
||||
|
||||
void
|
||||
ACFinalize();
|
||||
|
||||
ACResult
|
||||
ACGetStartupId(ACConfigId *configId);
|
||||
|
||||
ACResult
|
||||
ACConnectWithConfigId(ACConfigId configId);
|
||||
|
||||
ACResult
|
||||
ACGetAssignedAddress(uint32_t *ip);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -24,6 +24,7 @@ endmacro()
|
||||
add_wut_rpl(coreinit)
|
||||
add_wut_rpl(gx2)
|
||||
add_wut_rpl(nsysnet)
|
||||
add_wut_rpl(nn_ac)
|
||||
add_wut_rpl(proc_ui)
|
||||
add_wut_rpl(sndcore2)
|
||||
add_wut_rpl(sysapp)
|
||||
|
1
rpl/nn_ac/config.h
Normal file
1
rpl/nn_ac/config.h
Normal file
@ -0,0 +1 @@
|
||||
#define LIBRARY_NAME "nn_ac"
|
6
rpl/nn_ac/exports.h
Normal file
6
rpl/nn_ac/exports.h
Normal file
@ -0,0 +1,6 @@
|
||||
// nn_ac/nn_ac.h
|
||||
EXPORT(ACInitialize);
|
||||
EXPORT(ACFinalize);
|
||||
EXPORT(ACGetStartupId);
|
||||
EXPORT(ACConnectWithConfigId);
|
||||
EXPORT(ACGetAssignedAddress);
|
Loading…
Reference in New Issue
Block a user