Function openthread_sys::otSrpServerGetDomain

source ·
pub unsafe extern "C" fn otSrpServerGetDomain(
    aInstance: *mut otInstance,
) -> *const c_char
Expand description

Returns the domain authorized to the SRP server.

If the domain if not set by SetDomain, “default.service.arpa.” will be returned. A trailing dot is always appended even if the domain is set without it.

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

@returns A pointer to the dot-joined domain string.