pub unsafe extern "C" fn otSrpServerSetTtlConfig(
aInstance: *mut otInstance,
aTtlConfig: *const otSrpServerTtlConfig,
) -> otError
Expand description
Sets SRP server TTL configuration.
The granted TTL will always be no greater than the max lease interval configured via otSrpServerSetLeaseConfig()
,
regardless of the minimum and maximum TTL configuration.
@param[in] aInstance A pointer to an OpenThread instance.
@param[in] aTtlConfig A pointer to an otSrpServerTtlConfig
instance.
@retval OT_ERROR_NONE Successfully set the TTL configuration. @retval OT_ERROR_INVALID_ARGS The TTL configuration is not valid.