openthread_sys

Function otDnsInitTxtEntryIterator

Source
pub unsafe extern "C" fn otDnsInitTxtEntryIterator(
    aIterator: *mut otDnsTxtEntryIterator,
    aTxtData: *const u8,
    aTxtDataLength: u16,
)
Expand description

Initializes a TXT record iterator.

The buffer pointer @p aTxtData and its content MUST persist and remain unchanged while @p aIterator object is being used.

@param[in] aIterator A pointer to the iterator to initialize (MUST NOT be NULL). @param[in] aTxtData A pointer to buffer containing the encoded TXT data. @param[in] aTxtDataLength The length (number of bytes) of @p aTxtData.