pub unsafe extern "C" fn otSrpClientGetTtl(
aInstance: *mut otInstance,
) -> u32
Expand description
Gets the TTL value in every record included in SRP update requests.
Note that this is the TTL requested by the SRP client. The server may choose to accept a different TTL.
By default, the TTL will equal the lease interval. Passing 0 or a value larger than the lease interval via
otSrpClientSetTtl()
will also cause the TTL to equal the lease interval.
@param[in] aInstance A pointer to the OpenThread instance.
@returns The TTL (in seconds).