openthread_sys

Function otSrpServerServiceGetTxtData

Source
pub unsafe extern "C" fn otSrpServerServiceGetTxtData(
    aService: *const otSrpServerService,
    aDataLength: *mut u16,
) -> *const u8
Expand description

Returns the TXT record data of the service instance.

@param[in] aService A pointer to the SRP service. @param[out] aDataLength A pointer to return the TXT record data length. MUST NOT be NULL.

@returns A pointer to the buffer containing the TXT record data (the TXT data length is returned in @p aDataLength).