Found 2 other functions taking a
otSrpServerLeaseConfig
argument:
Returns SRP server LEASE and KEY-LEASE configurations.
Sets SRP server LEASE and KEY-LEASE configurations. When a non-zero LEASE time is requested from a client, the granted value will be limited in range [aMinLease, aMaxLease]; and a non-zero KEY-LEASE will be granted in range [aMinKeyLease, aMaxKeyLease]. For zero LEASE or KEY-LEASE time, zero will be granted.