openthread_sys

Function otSrpServerHandleServiceUpdateResult

Source
pub unsafe extern "C" fn otSrpServerHandleServiceUpdateResult(
    aInstance: *mut otInstance,
    aId: otSrpServerServiceUpdateId,
    aError: otError,
)
Expand description

Reports the result of processing a SRP update to the SRP server.

The Service Update Handler should call this function to return the result of its processing of a SRP update.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aId The service update transaction ID. This should be the same ID provided via otSrpServerServiceUpdateHandler. @param[in] aError An error to be returned to the SRP server. Use OT_ERROR_DUPLICATED to represent DNS name conflicts.