mirror of
https://github.com/espressif/openthread.git
synced 2026-09-25 02:17:39 +00:00
[srp-server] fix typo in otSrpServerIsFastStartModeEnabled (#11316)
Rename otSrpServerIsFastStartmodeEnabled to otSrpServerIsFastStartModeEnabled
This commit is contained in:
@@ -52,7 +52,7 @@ extern "C" {
|
||||
*
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (481)
|
||||
#define OPENTHREAD_API_VERSION (482)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -321,7 +321,7 @@ otError otSrpServerEnableFastStartMode(otInstance *aInstance);
|
||||
* @retval TRUE The fast-start mode is enabled.
|
||||
* @retval FALSE The fast-start mode is disabled.
|
||||
*/
|
||||
bool otSrpServerIsFastStartmodeEnabled(otInstance *aInstance);
|
||||
bool otSrpServerIsFastStartModeEnabled(otInstance *aInstance);
|
||||
|
||||
/**
|
||||
* Returns SRP server TTL configuration.
|
||||
|
||||
@@ -197,7 +197,7 @@ template <> otError SrpServer::Process<Cmd("domain")>(Arg aArgs[])
|
||||
* @par
|
||||
* This command requires that `OPENTHREAD_CONFIG_SRP_SERVER_FAST_START_MODE_ENABLE` be enabled.
|
||||
* @moreinfo{@srp}.
|
||||
* @sa otSrpServerIsFastStartmodeEnabled
|
||||
* @sa otSrpServerIsFastStartModeEnabled
|
||||
* @sa otSrpServerEnableFastStartMode
|
||||
*/
|
||||
template <> otError SrpServer::Process<Cmd("faststart")>(Arg aArgs[])
|
||||
@@ -206,7 +206,7 @@ template <> otError SrpServer::Process<Cmd("faststart")>(Arg aArgs[])
|
||||
|
||||
if (aArgs[0].IsEmpty())
|
||||
{
|
||||
OutputEnabledDisabledStatus(otSrpServerIsFastStartmodeEnabled(GetInstancePtr()));
|
||||
OutputEnabledDisabledStatus(otSrpServerIsFastStartModeEnabled(GetInstancePtr()));
|
||||
}
|
||||
else if (aArgs[0] == "enable")
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ otError otSrpServerEnableFastStartMode(otInstance *aInstance)
|
||||
return AsCoreType(aInstance).Get<Srp::Server>().EnableFastStartMode();
|
||||
}
|
||||
|
||||
bool otSrpServerIsFastStartmodeEnabled(otInstance *aInstance)
|
||||
bool otSrpServerIsFastStartModeEnabled(otInstance *aInstance)
|
||||
{
|
||||
return AsCoreType(aInstance).Get<Srp::Server>().IsFastStartModeEnabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user