openthread_sys

Function otSrpClientGetKeyLeaseInterval

Source
pub unsafe extern "C" fn otSrpClientGetKeyLeaseInterval(
    aInstance: *mut otInstance,
) -> u32
Expand description

Gets the default key lease interval used in SRP update requests.

The default interval is used only for otSrpClientService instances with mKeyLease set to zero.

Note that this is the lease duration requested by the SRP client. The server may choose to accept a different lease interval.

@param[in] aInstance A pointer to the OpenThread instance.

@returns The key lease interval (in seconds).