2017-04-07 02:23:46 +02:00
|
|
|
#pragma once
|
|
|
|
#include <wut.h>
|
2018-06-11 18:34:05 +02:00
|
|
|
#include <nn/result.h>
|
2017-04-07 02:23:46 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \ingroup nn_ac
|
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef uint32_t ACConfigId;
|
|
|
|
|
2018-06-11 18:34:05 +02:00
|
|
|
NNResult
|
2017-04-07 02:23:46 +02:00
|
|
|
ACInitialize();
|
|
|
|
|
|
|
|
void
|
|
|
|
ACFinalize();
|
|
|
|
|
2018-06-11 18:34:05 +02:00
|
|
|
NNResult
|
2017-04-07 02:23:46 +02:00
|
|
|
ACGetStartupId(ACConfigId *configId);
|
|
|
|
|
2018-06-11 18:34:05 +02:00
|
|
|
NNResult
|
2017-04-07 02:23:46 +02:00
|
|
|
ACConnectWithConfigId(ACConfigId configId);
|
|
|
|
|
2018-06-11 18:34:05 +02:00
|
|
|
NNResult
|
2017-04-07 02:23:46 +02:00
|
|
|
ACGetAssignedAddress(uint32_t *ip);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/** @} */
|